Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

updating internal links crashes IDS

$
0
0

Hi,

 

The relevant flow is that a indd document is passed to the Indesign Server where I have to try and update outdated links before exporting to PDF.

 

This in Windows (7, server, doesn't matter)

 

For each link in the document, I am trying to do this (javascript)

 

if (link.status == LinkStatus.linkOutOfDate) {

    try{

      link.update();

     

    }

    catch(error){

      app.consoleout("Error trying to update links ...");

      app.consoleout(error);

    }

}

 

 

The indesign client is able to update the links fine.

Problem is if the links are internal, meaning link.linkType is "type Internal Linked Story" or "type Internal Linked Object", the script above crashes the indesign server instance with the following.

 

 

Faulting application name: InDesignServer.exe, version: 9.0.0.245, time stamp: 0x51acf1d4

Faulting module name: GENERIC PAGE ITEM.RPLN, version: 9.0.0.245, time stamp: 0x51acf472

Exception code: 0xc0000005

Fault offset: 0x000000000010b65a

Faulting process id: 0x1b48

Faulting application start time: 0x01cfd83481a0cfef

Faulting application path: c:\Program Files\Adobe\Adobe InDesign CC Server x64\InDesignServer.exe

Faulting module path: c:\Program Files\Adobe\Adobe InDesign CC Server x64\Required\GENERIC PAGE ITEM.RPLN

Report Id: ccc9d9af-4427-11e4-8324-b1ee80b6158b

 

Am I doing something wrong with the link.update? It works fine for external links.

 

thanks

Cristian


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>