Skip to main content
Participant
September 24, 2012
Question

After porting my Plug-in to CS6,it can work except for a weird warning Dialog.

  • September 24, 2012
  • 1 reply
  • 730 views

Hi

My plug-in can work well on CS5 and CS55.With CS6 released,I ported my plug-in to CS6 in terms of porting guide,

and it can work,but illustrator CS6 always pops up a weird warning dialog when I closed a document.

It said "The operation cannot complete because there is no open document".Anyboday can help me on this?

Thanks,

Zexmer

This topic has been closed for replies.

1 reply

Participating Frequently
September 24, 2012

Hi Zexmer,

I am afraid I do not know of any specific CS6 issues that would cause your problem.

However I suspect that your plugin is making an API call that can not be carried out when there is no document immediatly following closing the document. So the first thing that I would do is to try and isolate the call that causes the popup to occur. If you have any methods that are registered to run on document close then that is where I would look first. Set a debug breakpoint in that function and go through checking to see which line causes the popup. If you do not have any explicit document close notifications then you will need to find what code is being triggered on document close you might be able to do this by putting a break point in the notify method of your plugin and lookout for a document close notification.

I hope that helps,

Thanks and regards,

Robert