When trying to access properties of a hyperlink it causes InDesign to crash. I can assign properties of the hyperlink but if I try and retrieve properties it hangs and crashes resulting in the error below. I'm using InDesign Server 64bit version 7.0.4.553. What's interesting is this works completely fine when testing using InDesign CS5 client version. I have used Extend script toolkit to try and debug the issue but you can't even use the databrowser to look at the hyperlink properties as it'll crash there as well. But if I debug using toolkit with client version of InDesign it works fine. It really seems like an issue with InDesign Server and I'm not sure what I can do to work around/fix this problem. Example script -
var myDoc = app.open([document path]);
for (i = 0; i < myDoc.hyperlinks.length; i++)
{
var myHyperlink = myDoc.hyperlinks[i];
var newDestination = myHyperlink.destination; // - this causes indesign to crash
//Do some processing...
}
Faulting application name: InDesignServer.exe, version: 7.0.4.553, time stamp: 0x4d891c6d
Faulting module name: HYPERLINKS.RPLN, version: 7.0.4.553, time stamp: 0x4d891ef9
Exception code: 0xc0000005
Fault offset: 0x000000000006e33b
Faulting process id: 0x1dfc
Faulting application start time: 0x01ccd52e23e3216c
Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\InDesignServer.exe
Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\Required\HYPERLINKS.RPLN
Any help would be great! I can post more information if needed.