Skip to main content
Inspiring
September 22, 2017
Question

Occassionally reoccuring error from Illustrator 1346458189 ('PARM')

  • September 22, 2017
  • 1 reply
  • 1172 views

an Illustrator error occurred: 1346458189 ('PARM')

I have been developing a c# application that uses the Illustrator Interop library, occasionally my application will starting throwing the above error.  It doesn't seem to be caused by the code because I can restart Illustrator and then the code starts working again. Has anyone found a cause for this error?

This topic has been closed for replies.

1 reply

Silly-V
Legend
September 23, 2017

Sometimes it's related to batch processing and using document.close() command. Other times it can be something completely different. The immediate cause is usually an Illustrator scripting object referencing an art shape or constituent of a document which suddenly has corrupted properties. Using ESTK, you can see in Data Browser when debugging jsx scripts, that the properties are already set with "An internal error occurred". So beware if you are doing batch processing with the document repeatedly being closed.

et3d_
Known Participant
September 25, 2017

I have the exact same issue on CC17 (described by Silly-V, when making a script that batch save or force close it usually saves half of it... pretty serious issue if you are not warned about it

Furthermore this has happened twice because of a heavy ActionScript (no js here). I suspect the script and the pdf to be corrupted in a way.... Since then the only option is to reinstall Ai. I was first expecting leaking global var, so I am using "use srtict" now.

When "bugmode" is enabled common issue are

  • Save and close don't work in Ai: it may save but document reoppen stright away
  • Save and close works 50% in JS
  • Saving in JS is taking random little extra time and change tabs multiple times
  • Severe issues during loops: Parms pops up way more often. Restart usually solves this.
  • Severe issues during loops making random rare errors (~3%)

100% working solution was to reinstall Ai and ESTK. (worked 2 times)

  1. Question: Do you need UAC right for windows in order to reinstall using Creative Cloud window?

EDIT: apparently Ai do requires Admin right to be reinstalled

     ESTK doesn't