Plugin getting aborted?

I have a plugin that requires a fair bit of processing time to complete its task (between several minutes to several hours depending on data set size); however, the plugin seems to become unresponsive after a time. Illustartor is still functional; however, I can see CPU usage plummit as it stops processing the data and the plugin generated dialog boxes remain unresponsive. Durring this long process I am not making any function calls to the API and the debugger does not announce any errors or exits, it litterally just dies. Anyone have any ideas?

Are you sure your plugin hasn't just crashed? One annoying thing about Windows plugins is that Illustrator can be surprisingly resilient about surviving a plugin crash. Before we moved to using exceptions anytime we talked to the API, we used to get this kind of thing fairly often in MAPublisher. It can still happen if you feed something really stupid to an API, and its still possible to stomp on your own stack and sometimes just have the plugin die. In these cases, Illustrator seems to just terminate the plugin and carry on.
If you have a Mac version, repeat the steps there. The Mac Illustrator has zero tolerance for several kinds of bugs that aren't fatal (well, to Illustrator) on Windows.
If you don't have a Mac version, use printf()s as suggested. Most importantly at the start & end of your set of functionality. I wouldn't be surprised if you never saw the one at the end. Once you've confirmed that's the problem, you can start hunting for the problem somewhere in between (probably with more printf()s ).

Similar Messages

  • Plugin getting triggered automatically

    Hi
    I am developing an acrobat plugin for Acrobat professional 9 which will export all annotations in original document into an xfdf document.The plugin must get triggered on saving the original document after creation of annotation.For this i captured before save event(PDDocWillSave),the code works fine and creates the xfdf. The problem is that sometimes the plugin gets triggered on opening a pdf document or xfdf document and also on creation of annotation. I am unable to detect the problem so far.
    Please help!

    Hi,
    I came across a post with the similar problem as mine.There it was written to register AVDocSave instead of PDDocWillSave/PDDocDidSave.I couldn't find AVDocSave but there is AVDocDoSave()method in the API. Can somebody plese giude me how to register the event to capture AVDocDoSave()?
    I tried but my code throw error saying : error C2065: 'AVDocDoSaveNPROTO' : undeclared identifier.
    Thanks!

  • HT201413 I have a Windows XP Home Edition computer.   I recently attempted to upgrade iTunes to v10.7.  It loaded and installed OK, but now it won't run.  When I try to launch it, it gets aborted by the windows Data Execution Prevention software.  Any ide

    I have a Windows XP Home Edition computer.   I recently attempted to upgrade iTunes to v10.7.  It loaded and installed OK, but now it won't run.  When I try to launch it, it gets aborted by the windows Data Execution Prevention software.  Any ideas?

    Yes, this did solve the problem.  But I had some trouble updating QuickTime.  It failed, with the installer complaining that it did not have the required permissions to install the files it needed in the program directory.  I got it to work by telling it to install the files to another directory.  All seems well now - Thanks!

  • Deployment getting aborted on J2EE Engine from NWDS

    Hi,
    While i am trying to deploy the Java WebDynPro code on J2EE Engine its giving me the following error.
    Apr 9, 2008 10:24:53 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sghrdpr7
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/NUZHAT1/LOCALS1/Temp/temp21573sap.comfixedtoolbar.ear
    Deployment exception : Server sghrdpr7 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sghrdpr7 at port 50118: sghrdpr7
    Inner exception was :
    Server sghrdpr7 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server sghrdpr7 at port 50118: sghrdpr7
    The deployment is getting aborted.
    I have tried telnet for the port number from my end and that is successfull.
    Now i dont where the problem is????????
    Please help urgently

    Hi,
    Have you checked whether the deployment with the SDM directly works or not ? (not through NWDI).
    Also, for the SDM deployment to function correctly, make sure of the following :
    Please make sure to set :                                                                               
    - the P4 host to localhost in the Secure Store (setting localhost is a workaround if you have multiple hostnames (virtual/physical)
    - the secure store should have the correct password for the j2ee_admin(in case of dual stack) or administrator(in case of java only) as SDM server takes the password from secure store for the login to j2ee engine as administrator which is required for the deployment.
    - SAPLOCALHOST, SAPGLOBALHOST, and SAPGLOBALHOSTFULL value in the SCS &
    JC profiles must point to the desired hostname/IP. If they don't exist 
    please create and set accordingly.        
    - in the sdmrepository.sdc file, the following                         
    values are set expected with expected host :                           
          <mshost>                                                         
            *hostname**                                                  
         </mshost>                                                         
         <msport>                                                          
            **port -can be found in dev_ms file*                         
         </msport>                                                                               
    Please restart the cluster.                                                                               
    Try to deploy using SDM without the workaround.                                                                               
    If the deployment fails, please paste the exception/error from the lastest sdm log from SDM\program\log directory and corresponding exception from the latest defaultrace file from server0\log directory.
    Hope the above helps.
    Regards,
    Snehal

  • Installation of minisap gets aborted

    Hi All,
    I have been trying to install mini sap 6.1 in my machine.
    When installing it asks for CD location. But the issue is i have both KERNEL and DATA copied on to my hard disk. if I proceed with the installation after giving the location in my hard disk say 'C:\Kernel'the installation gets aborted
    I need to install this pretty immedietly, I will be thankful if some one can help me out of this situation.
    Thanks,
    Seshan K.

    Hi Matthew,
    I got a similar problem and I've tried really everything but I don't get to make it work. I get this message at around 42% of the installation:
    19720 INFO: XSERVER started
    INFO 2009-06-08 17:10:05
        Extracting the Database-Dependent SAP system Executables
    INFO 2009-06-08 17:12:13
        Extracting the Database-Dependent SAP system Executables
    WARNING 2009-06-08 17:12:14 EXTRACTSAPEXEDBDATA2 InternalInstallationDo:0
        SAPCAR returns with error 5.
    ERROR 2009-06-08 17:12:14 EXTRACTSAPEXEDBDATA2 InstallationDo:0
        Phase failed.
    ERROR 2009-06-08 17:12:14 Main
        Installation aborted.
    Please help!
    Thanks
    Stefano

  • Deployment getting aborted

    hi
    facing this  problem  after deploying the application
    un 24, 2008 11:14:40 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [006]Deployment aborted
    Settings
    SDM host : DCEP01SBX
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/9481371.TCS/LOCALS~1/Temp/temp1691OutFitMth.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/9481371.TCS/LOCALS~1/Temp/temp1691OutFitMth.ear
    Aborted: development component 'OutFitMth'/'local'/'LOKAL'/'0.2008.06.24.11.14.20'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/OutFitMth.. Reason: Clusterwide exception: Failed to deploy application local/OutFitMth. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/OutFitMth. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Is this DC, if SO check that all used DCs are deployed.
    One more reason of this exception is when there is name conflict between two projects deployed on the same server , eg say projects A & B have same application name, component name.
    When I get this exception, I go to nwa, see logs to find out two conflicting projects and rename one of them and deploy again. It solves my problem.
    Regards,
    Apurva

  • Why do plugins get slashed out and stop working? how do i fix that?

    using logic 9, my computer glitched a bit (i have a pretty full session running) and then some of my plugins and instruments had a slash through them and they wont play back now. how do i "un-slash" them if possible?

    Restarting Logic and reloading the project should get them back - it sounds like you ran out of memory. Are you running in 64-bit?

  • Consolidation getting aborted at 26%

    Hi All,
    I have created a New application in 11.1.1.3 loaded my metadata,rules, memberlist and data after which when I tried to consolidate i got the following error;
    {11DBB56F-1D5A-42A1-9A1B-4CB0D9780A46}
    System Message Summary
    Error executing VBScript %0.
    System Message Details
    Error Reference Number: {11DBB56F-1D5A-42A1-9A1B-4CB0D9780A46}
    Num: 0x80042fc2;Type: 1;DTime: 8/11/2010 5:13:07 PM;Svr: MANOJ-ASGLESRF2;File: CHsvDataExplorerACM.cpp;Line: 9210;Ver: 11.1.1.3.0.2413;
    Num: 0x80042fc2;Type: 0;DTime: 8/11/2010 5:13:07 PM;Svr: MANOJ-ASGLESRF2;File: CHsvDataExplorerACM.cpp;Line: 9366;Ver: 11.1.1.3.0.2413;
    Does anyone have any idea about this error
    Any suggestion/advice/help wld be highly appreciated.
    Regards,
    Mathew

    There will be multiple errors in the log for the consolidation failure. If you dig in farther, you eventually locate one that will implicate what part of the rules has the error.
    With that said, any recent rule changes? Generally when things break, its courtesy of new functionality. If you were not the one doing the rules and no one "knows", use WinMerge on a older rules file and the current rules extract. That should at least get you a starting point.

  • I have UI which uploads the file in multiprt file transfer in chuncks .It was working fine in previous version of firefox but now ajax calls gets aborted ?

    I have UI which uploads the file in multiprt file transfer in chuncks(blob file) .It was working fine in previous version of firefox when we send 10mb chuncks for each ajax calls .But now in latest version firefox ,Its get rejected for 10mb chuncks through each call but allowing only 4kb to be send for each call.Could you guys help me .I also tried with the (Application/octectstream) .It is also working fine in all browsers.

    hi Sivasathy, support.mozilla.org is intended for end-user support. if you have a question regarding web development please refer to [[Where to go for developer support]] instead. thank you for your understanding!

  • CS5 won't allow me to update to allow Nikon D7000 Raw, needs 6.3 plugin, Gets error message and won't allow

    This is the message I get:
    Photoshop 12.0.4 update for Photoshop CS5
      There was an error downloading this update. Please quit and try again later.

    CS5 is a couple of years old and no longer being updated or supported. That means the updater is not compatible with the new updating scheme.
    If you still want a permanent license, upgrade to  CS6 for $200. At least you will have access to the latest Adobe Camera Raw, 9.0 as of now, and it is currently supported.

  • My eclipse plugin get error message during runtime

    Hi all,
    I have made an eclipse plugin. During the development, i have no error. However, after i deploy my plugin. there is error shown below.
    Java Model Exception: Java Model Status [Cannot retrieve the attached javadoc for InvocationTargetException {key=Ljava/lang/reflect/InvocationTargetException;} [in InvocationTargetException.class [in java.lang.reflect [in C:\Programme\Java\jre6\lib\rt.jar]]]java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:751)
    at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1059)
    at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:971)
    at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:98)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:552)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:509)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:494)
    at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
    at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
    at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:796)
    at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1059)
    at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:971)
    at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:98)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:552)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:509)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:494)
    at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:82)
    at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
    Please let me know how to fix it. and if there is any tutorials to tell how to build the eclipse correct.
    regards
    pen

    Don't crosspost! One thread is enough.
    [http://forums.sun.com/thread.jspa?threadID=5370639]
    I'm locking here.

  • Some Incoming calls to IPCCX 8.0(2) getting aborted

    Hi Guys,
    My Customer take report and verify that there were 09 calls aborted. What type logs in the RTMT (CUCM and or UCCX) is possible verify the reason why this calls was aborted? I am attaching the report. The Customer informed too that there was Agent Available and the call stuck in the queue
    Thank You,
    Wilson

    Hi
    Please pull the abandoned call activity report , identify  the time of the disconnect and then pull the CCX engine logs for the same time , and you will be able to see the reason for disconnect.
    i can read the CCX engine logs for you if you want.
    Best regards
    Anurag Siddhu

  • Why is the flash player (plugin) getting slower?

    I just upgraded from the current release of 10.1 to a beta that I downloaded last December. A vast improvement!!
    The platform is Windows XP SP/3, the host is an Acer AR1600 (Intel Atom 230 + nVidia ION LE). The content provider is Hulu.
    The video is displayed at 1080p on a 96" screen via HDMI - this isn't a laptop.
    My grandson, complained about the jerky picture, so I upgraded to the latest (16.Nov.10) and while I cannot say it was worse, it definately was not better.
    I have fixed the problem by going back to a 10.1 beta I downloaded last December - it has a P1 in the installer's name.
    I have no performance problems with Silverlite (Netflix) or Video LAN (VLC) - just Adobe Flash.

    Things to try:
    check that you don't have any old modules in C:\Windows\system32\Macromed\Flash
    update the device drivers for your graphics/video/display adapter
    enable or disable Hardware Acceleration (Flash Player Settings)

  • How to get the destination path in an photoshop sdk export plugin when using a batch action?

    Hello,
    I've written an exporter plugin (not save-as) that exports a given file to a custom format.
    I was able to open a file selector dialog and choose a path that is then transported to the saving location.
    Now my problem is: Another intended use is batch exporting many files. The user records an action with the export step and then applies a batch on it.
    The PS batch window allows you to select the destination to be a directory where the exporter should write the data. Fine.
    Now how do I get this path? When running in batch mode the silent flag is set for my plugin so I do not spawn a file selector dialog to annoy the user.
    But I am also unable to obtain the path which was selected by the user in the batch window.
    The SDK automation plugin Getter has some code to retrieve the path of the file and even that fails as it cannot obtain anything.
    PropertyUtils.h has some PIGetWorkPathIndex and PIGetPathName functions but I always get 0 when asking PIGetNumberPaths, and get -1 with PIGetWorkPathIndex.
    I would be thankful if somebody could hint me how I can retrieve directories.
    It even seems impossible for me to get the path where the file is actually saved. The filter plugin called Propertizer utilizes a function called PIGetDocumentName but this only outputs the file name, not the full path.
    (Just to be sure: The file on which the tests run is already saved to disk, if that matters)
    Another fun part is: When I record an export step, what is the directory I am exporting into?

    Ok, after lots of reading the sdk sample outbound I've realized that or plugin is broken.
    When recording an action the outbound plugin stores the current path to gAliasHandle which is then recorded as a scripting parameter. Now when I execute the action I get the alias handle.
    However how is this supposed to work with an export plugin and batch processing with a "destination" set to a target? Is this even possible or do I need to double click the export step in the action and "reset" the location even if that causes the entire exporter to run again?

  • Firefox on linux gets confused when both 32bit and 64bit plugins are found

    On a CentOS6 machines, 32bit plugins get installed to /usr/lib/mozilla/plugins and 64bit plugins get installed /usr/lib64/mozilla/plugins. If both locations have the same plugin installed, such as libflashplayer.so, then 64bit firefox seems to randomly find one first and fail when it sees the 32bit version first. This results in Flash working for some users and not for others .
    I can run "strings -a ~/.mozilla/firefox/*/pluginreg.dat | grep usr.lib" and see which users will have it fail because the 32bit path to libflashplayer.so is listed first for them. For the users where it works the 64bit version in /usr/ilb64 is listed first.
    I see no way to make 64bit firefox ignore what is in /usr/lib/mozilla/plugins as this seems hardcoded into the binary. I also see no way to make the /usr/lib64 path take precedence as I have MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins-wrapped
    The output I see on the stderr is:
    LoadPlugin: failed to initialize shared library /usr/lib/flash-plugin/libflashplayer.so [/usr/lib/flash-plugin/libflashplayer.so: wrong ELF class: ELFCLASS32]
    [8941] WARNING: pipe error (60): Connection reset by peer: file /builds/slave/rel-m-rel-l64_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 450
    repeated many times
    It seems to me at least that plugins in a user set MOZ_PLUGIN_PATH should always take precedence over those in a hard coded path like /usr/lib/mozilla/plugins

    HI paulraines68,
    This may be a question that is beyond the user support of this forum. There are channels I can point you to for feedback or how to submit a bug for this [bugzilla.mozilla.org].
    However stackoverflow.com may be the best place for solving the immediate question.

Maybe you are looking for

  • Wrap text when Viewning PDF file ?

    Hi all, is there a way that we can wrap text the PDF file when viewing ? the font is quite small even with landscape viewing, and if zoom in, i still cant see the text as they are quite small, do you know a way/ a software that we can convert the PDF

  • How to render web items based on the authorisation profile of the user

    Hello, Is there any way to render web items based on the authorisation profile of the user. The only way i can think of is: - Write ABAP to look up into the security mapping tables. - Convert the ABAP report into RFC-Enabled FM. The selection variabl

  • Page number problem with document imported from MS Word.

    I am a new Mac/Pages user and imported a Word document to use as a template to help me learn the Pages formatting nuances. This has worked well except for one problem. I have page numbers in the footer, but only the first digit of the page number sho

  • Car adaptor for Qosmio f10

    Hello just wanted to know if there is a car adaptor or plug etc what I can use to charge my Qosmio F10 laptop in the car as im of on holiday soon and it will run out of battery after 2 hours or so , so wondering if theres anything like that to keep i

  • Why can't I always concat to the ITunesstore

    Why can't I make a FaceTime call