CrystalReportViewer in WPF - win32 exception on application closing

Hello!
I'am using the CrystalReportViewer Control in a WindowsFormsHost control as the rest of the application is made in WPF.
If the application is closed when a Report is open, the "Visual Studio JIT" Debugger windows is opened informing me that an unhandled win32 exception occured in my application although VS 2008 Writes in the output window "The program <MyApplication> has exited with code 0 (0x0)"
This error occured only when a report document has been opened. Trying to find the error, I found out that Report.Dispose() must be called to avoid the JIT message. As WPF does not support IDisposable I had to find another way to call reportClass.Dispose() when the application is closed.
I created a private ReportClass Object to which I assign the different reports that I have created. In the constructor I add the event Dispatcher.ShutdownStarted and created the handler for the event.
private ReportClass reportClass
public void MyConstructor()
     Dispatcher.ShutdownStarted += Dispatcher_ShutdownStarted;
private void Dispatcher_ShutdownStarted(object sender, EventArgs e)
    If ( reportClass != null)
       reportClass.Dispose();

The oracle drivers are notoriously wobbly.  Or used to be.  I thought they had been improved though.
If you can possibly, update with later dll.
Binary chop might be your best bet to work out exactly what the issue is.
Unfortunately this is going to be hard work.
I would write a test harness to stick on a virtual server and emulate bits of your functionality.
I would probably start with just insert/update/delete to oracle in various ways.
Se if you can make it go bang with a programme you can easily experiment with.
I would also get a free subscription to ants profiler and make sure you have no memory leaks.
They can cause weird behaviour.
This is less likely though since you'd usually notice some different errors.
By the way.
You probably aren't attacking your datalayer.  That means hitting it or the like.   Something like connecting might be a better word to choose there.
Not that this is at all important.  Your customers are presumably French.
Hope that helps.
Recent Technet articles:
Property List Editing ;  
Dynamic XAML

Similar Messages

  • An unhandled win32 Exception Occurred in sawserver.exe[5360]

    Hi All,
    When we clicked on one particular Dashboard page we got the below error , but its working for other Dashboards pages:-
    and due to this error the presentation services is stopped.
    Visual Studio Just-In-Time Debugger Open which message as
    "An unhandled win32 Exception Occurred in sawserver.exe[5360]
    On the Application.log at path
    <OracleBI_Home>\OracleBI\oc4j_bi\j2ee\home\application-deployments\analytics
    i got the error message as :-
    10/06/09 15:51:48.51 analytics: An existing connection was forcibly closed by the remote host
    10/06/09 15:51:48.51 analytics: Servlet error
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.io.FilterInputStream.read(FilterInputStream.java:111)
         at com.siebel.analytics.web.sawconnect.SAWConnection$NotifyInputStream.read(SAWConnection.java:131)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
         at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocol.readInt(SAWProtocol.java:162)
         at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocolInputStreamImpl.readChunkHeader(SAWProtocolInputStreamImpl.java:232)
         at com.siebel.analytics.web.sawconnect.sawprotocol.SAWProtocolInputStreamImpl.startReadingNewMessage(SAWProtocolInputStreamImpl.java:46)
         at com.siebel.analytics.web.sawconnect.SAWServletHttpBinding.forwardResponse(SAWServletHttpBinding.java:105)
         at com.siebel.analytics.web.SAWBridge.processRequest(SAWBridge.java:307)
         at com.siebel.analytics.web.SAWBridge.doPost(SAWBridge.java:335)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    I check the already post on this Forum but not helped much.

    Your Presentation services has crashed. If you are not running the latest OBIEE release you should try upgrading. Otherwise only Oracle Support will be able to help as this is an application crash.

  • Livecycle Designer ES 8.2 win32 exception

    I installed the Adobe 9 pro update with the Livecycle designer ES 8.2.
    Initially it worked and I created some documents, but it is now failing with the following error
    "An unhandled win32 exception occurred in FormDesigner.exe[2888]."
    I get this error even if I open up a new form. It occurs when the operation status window says it is loading the new document. The program crashes before a new document is loaded on the screen.
    I have tried uninstalling Livecycle and repairing Acrobat. There is no improvement.
    Does anyone have any ideas on what to try next?
    Thanks,
    Steve

    Hi,<br />I have had the same problem occur again. This time I looked at the files inside the 8.2 subdirectory to see if I could find the speciic one that is behind this problem. Look inside the following path,<br /><br />C:\Documents and Settings\<your ID>\Application Data\Adobe\Designer\8.2<br /><br />find the LinguisticOptions.xml and the InspectorEN178.xml.<br />One of these or both are getting corrupted. When I delete them the program works again. It might be a good idea to back these up if you want to keep your preferences. You can then drop these back into this subdirectory when they become corrupted again. That way you do not have to delete them completely.<br />I hope adobe will fix this problem for good.<br /><br />Steve

  • Urgent: How can I catch the exception when application exit by accident

    Can anyone give me advice and idea?
    I want to catch the exception when application goes down by accident for example: Power off, turn off the machine without closing the appliction properly.
    Because I want to notify the server and remove it from register.
    How can I do this????
    Please help,
    Thanks very mich,
    Peter

    Shrubz,
    I tested my application as follows:
    1. start rmiregistry
    2. start rmi server
    3. start two clients
    I printed out the client's object information as below:
    first clinet:
    RemoteObserver is com.ss8.qos.qcsm.policy.policyui.PanelMain_Stub[RemoteStub [ref: [endpoint:[192.168.70.237:4706](remote),objID:[-73a6662b:e75af455a5:-8000, 0]]]]
    second client:
    RemoteObserver is com.ss8.qos.qcsm.policy.policyui.PanelMain_Stub[RemoteStub [ref: [endpoint:[192.168.70.237:4711](remote),objID:[-73a6665a:e75af48703:-8000, 0]]]]
    Now I stop the second client by clicking ^C (ctrl c)
    I noticed that this client has not been removed from the server register (Vector).
    next, I am working on first client for example add one record. After server received this record, it will update all clients who have already registered with server. Because now in the server register there are two clinets (first and second), so it will try to update two clients. The exception will be thrown when server tries to update second client which has already been stoped. I used printStackTrace() to print out the message as follow:
    Catch ConnectException
    Connection refused to host: 192.168.70.237; nested exception is:
         java.net.ConnectException: Connection refused: no further information
    java.rmi.ConnectException: Connection refused to host: 192.168.70.237; nested exception is:
         java.net.ConnectException: Connection refused: no further information
    java.net.ConnectException: Connection refused: no further information
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
         at java.net.Socket.<init>(Socket.java:269)
         at java.net.Socket.<init>(Socket.java:98)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:29)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:124)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:497)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:194)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:178)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:87)
         at com.ss8.qos.qcsm.policy.policyui.PanelMain_Stub.update(PanelMain_Stub.java:53)
         at com.ss8.qos.qcsm.policy.policydb.Observable.performNotify(Observable.java, Compiled Code)
         at com.ss8.qos.qcsm.policy.policydb.Observable.notifyObservers(Observable.java:71)
         at com.ss8.qos.qcsm.policy.policydb.PolicyServer.ServerAddPolicy(PolicyServer.java:102)
         at java.lang.reflect.Method.invoke(Native Method)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:237)
         at sun.rmi.transport.Transport$1.run(Transport.java:140)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:137)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:422)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:634)
         at java.lang.Thread.run(Thread.java:479)
    *** end here ***
    I don't see any information related to object ID. How can I handle this?
    Please give me suggestion.
    Many Thanks,
    Peter

  • Unhandled win32 exception in crw32.exe

    Post Author: eddieedwards
    CA Forum: Upgrading and Licensing
    I have installed Crystal Reports XI Developer's Edition on a Windows 2003 SP2 box, and now whne I try to launch the application I get the error: "unhandled win32 exception in crw32.exe" and it tries to launch the debugger.  I downloaded and installed CRXI SP4, but it did not make any difference.  Any ideas?
    Thanks,
    Mike

    Post Author: eddieedwards
    CA Forum: Upgrading and Licensing
    Turns out this was an operating system issue.  The new (to me, at any rate) Data Execution Prevention feature was set to its default and was preventing Crystal from starting.  Silly me.

  • Recurring crash in WWAHost.exe: Error: "An unhandled win32 exception occurred in WWAHost.exe[]". How to diagnose/fix?

    It's now 4days, I keep getting this Error from Start up. Am using
    windows8.1, since about a year now, first time I get any Error.
    I can't tell what really caused it, I am a Web/Desktop programmer and for the past 1 month, I haven't done any
    Desktop programming or windows store Apps, am just using Dreamweaver and
    Firefox for my Current E-commerce Web Apps, now for the past
    4days, this is happening...
    One recurring problem is the following dialog, which
    pops up every few second, and it's annoyingly annoying.

    Hi Erick,
    Did this error appear when you test your Dreamweaver application using Just-In-Time Debugger?
    This problem may because the absolute path of the shell resides in the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell with a value c:\windows\explorer.exe or c:\winnt\explorer.exe.
    To resolve this problem, modify the value of the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell with a value explorer.exe.
    For the details, please refer to this article:
    BUG: You receive an "Unhandled Win32 exception" error message you use the Just-In-Time (JIT) debugger
    https://support2.microsoft.com/kb/811191?wa=wsignin1.0
    In addition, I suggest you ask MSDN forum for more professional help:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsdebug
    Karen Hu
    TechNet Community Support

  • An unhandled Win32 exception occurred in crw32.exe 5048. Crystal 2008 Crash

    I have been using Crystal Reports 2008 with no problem. I have recently installed the trial version of Crystal Server 2008 and am encountering a problem where the reports are now crashing when I try to edit them within Crystal. It happens at various times, but particularly when trying to update a parameter field or add one to a report. The Visual Studio Just-In-Time Debugger window pops up, listing as a possible debugger "New Instance of Visual Studio 2005". An line at the top of the window shows "An unhandled Win32 exception occurred in crw32.exe 5048.
    We were using .Net v2.0, I've upgraded to v3.0 and no change.  I've turned off DEP.
    I uninstalled Server 2008 and all started working fine again.  Reinstalled Server 2008 with antivirus etc disabled, and the problem returns, the reports keep crashing.
    Getting desperate, any suggestion please?
    Regards, Diane

    Hi Henry,
    Crystal Reports 2008 is not officially tested with SQL Server 2008.
    Try with this:
    1. Reduce the 'Hardware acceleration' setting in Microsoft Windows.
    2. To access the 'Hardware acceleration' setting in Microsoft Windows:
    Click Start > Settings > Control Panel > System > Display > Settings > Advanced > Troubleshooting.
    There are typically six possible settings for 'Hardware acceleration': from 'None' to 'Full'.
    If you are using Dual monitor run the CR application on primary monitor cause Dual monitor is not tested with CR.
    If still the issue occurs then manually un-install and reinstall the application.
    Regards,
    Shweta

  • Unhandled win32 exception occured in crw32.exe

    Hi All,
    After installation of CR_XI_Development into Windows_2003_Server i cannot run application because when i try to start the software appears only this Visual_Studio_JIT_Debugger message  ""An unhandled win32 exception occured in crw32.exe [5540]."". 
    Please, what can i do ?

    Hello Lorenzo,
    If you are installing Crystal Reports XI on Windows 2003 SP1 or Windows XP SP2, then I would suggest you to turn off DEP on your machine and then perform the steps mentioned above.
    I would like to share the following information for proper installation of Crystal Reports XI on Windows XP SP2 and Windows 2003 Server machines:
    Please note that DEP - Data Execution Prevention has been introduced in Windows 2003 SP1 and XP sp2. DEP prevents Crystal Reports from accessing the memory. By default DEP is turned on in W2K3/SP1 and XP/SP2. If the processor supports DEP, Crystal Reports will not run on these platforms. If DEP is not supported CR will run even on W2K3/SP1 and XP/SP2. Disabling DEP allows Crystal Reports to run in Windows 2003 Server with SP1 and XPu201D.
    I would suggest you to try the following steps:
    1. Log in as u2018Computer Administratoru2019
    2. Make sure that no anti-virus program or spy ware is running on your machine.
    3. Right click on u201CMy Computeru201D and select u201CPropertiesu201D.
    4. Click on u201CAdvancedu201D Tab and click on u201CSettingsu201D button in u201CPerformanceu201D frame.
    5. Click on u201CData Execution Preventionu201D tab. Click on the second option button.
    6. Click on u201CAddu201D button and select C:\Program Files\Business Objects\Crystal Reports 11\crw32.exe
    7. Click on u201COKu201D button.
    Hope this helps
    Falk

  • LiveCycle has unhandled win32 exception

    Hi, Everybody.
    LiveCycle was running fine when I logged out last night.  This morning opening last nights file produced a "unhandled win32 exception occurred in FormDesigner.exe[5864]. and asked if I wanted to debug.
    When I selected NO, LiveCycle shut down.
    When I select yes, the message from Visual Studio was First-chance exception at 0x004a50cb in FormDesigner.exe: 0xC0000005: Access violation reading location 0x00000000
    I'm running XP Professional x64 Edition SP2.  There should have been no updates overnight, but after LiveCycle didn't work I rebooted and there were some updates.
    Any one know whats going on here?  I need this program!!
    Thanks!
    Kay

    The program ran successfully when he first installed Windows 7, but that was a long time ago.
    Here's what happened when he made the registry change and reloaded:
    Still getting the following two errors:
    Problem signature:
      Problem Event Name:   APPCRASH
      Application Name:     FormDesigner.exe
      Application Version:  8.0.2073.1
      Application Timestamp:        45f7cd72
      Fault Module Name:    MFC80U.DLL
      Fault Module Version: 8.0.50727.1833
      Fault Module Timestamp:       482bc450
      Exception Code:       c0000005
      Exception Offset:     0004c655
      OS Version:   6.1.7600.2.0.0.256.48
      Locale ID:    1033
      Additional Information 1:     0a9e
      Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:     0a9e
      Additional Information 4:     0a9e372d3b4ad19135b953a78882e789
    Problem signature:
      Problem Event Name:   APPCRASH
      Application Name:     FormDesigner.exe
      Application Version:  8.0.2073.1
      Application Timestamp:        45f7cd72
      Fault Module Name:    ntdll.dll
      Fault Module Version: 6.1.7600.16559
      Fault Module Timestamp:       4ba9b21e
      Exception Code:       c0150010
      Exception Offset:     000817cf
      OS Version:   6.1.7600.2.0.0.256.48
      Locale ID:    1033
      Additional Information 1:     b990
      Additional Information 2:     b9901209bc4c7a69e547ced44f1e0e11
      Additional Information 3:     921a
      Additional Information 4:     921a63803d5092d403337b6464600107

  • Win32 exception in FormDesigner.exe error when inserting a table

    I'm trying to insert a simple table on a document but every time I try I get a pop-up that "Adobe LiveCycle Designer ES has encountered a problem and needs to close." When I looked into it a bit further it appears to be an issue of "an unhandled win32 exception in FormDesigner.exe"
    Any ideas?
    Thanks!

    Found a solution: http://forums.adobe.com/message/2140571#2140571

  • Exception during application deployment

    Hi all,
    I'm trying to deploy a wd application from NWDS (NW2004 sp19) and I get an error:
    The application references the following jars - com.sap.security.api, com.sap.security.api.ep5, bc.rf.framework_api and bc.util.public_api. I also defined a Sharing Reference - "PORTAL:sap.com/com.sap.km.application".
    Full error stacktrace:
    06/10/2008 10:20:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [007]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7186 - 630]/>
    <!NAME[D:\usr\sap\EPT\JC00\SDM\program\log\sdmcl20081006082023.log]/>
    <!PATTERN[sdmcl20081006082023.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1255]/>
    <!LOGHEADER[END]/>
    Oct 6, 2008 10:20:23 AM  Info: -
    Starting deployment -
    Oct 6, 2008 10:20:23 AM  Info: Error handling strategy: OnErrorStop
    Oct 6, 2008 10:20:23 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Oct 6, 2008 10:20:23 AM  Info: Update strategy: UpdateAllVersions
    Oct 6, 2008 10:20:23 AM  Info: Starting deployment prerequisites:
    Oct 6, 2008 10:20:23 AM  Info: Loading selected archives...
    Oct 6, 2008 10:20:23 AM  Info: Loading archive 'D:\usr\sap\EPT\JC00\SDM\program\temp\temp86DepthVisit.ear'
    Oct 6, 2008 10:20:24 AM  Info: Selected archives successfully loaded.
    Oct 6, 2008 10:20:24 AM  Info: Actions per selected component:
    Oct 6, 2008 10:20:24 AM  Info: Update: Selected development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0' updates currently deployed development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.09.25.15.49.17'/'0'.
    Oct 6, 2008 10:20:24 AM  Info: Ending deployment prerequisites. All items are correct.
    Oct 6, 2008 10:20:24 AM  Info: Saved current Engine state.
    Oct 6, 2008 10:20:24 AM  Info: Starting: Update: Selected development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0' updates currently deployed development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.09.25.15.49.17'/'0'.
    Oct 6, 2008 10:20:24 AM  Info: SDA to be deployed: D:\usr\sap\EPT\JC00\SDM\root\origin\local\DepthVisit\LOKAL\0\0.2008.10.06.10.20.19\temp86DepthVisit.ear
    Oct 6, 2008 10:20:24 AM  Info: Software type of SDA: J2EE
    Oct 6, 2008 10:20:24 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 6, 2008 10:20:24 AM  Info: Begin of log messages of the target system:
    08/10/06 10:20:24 -  ***********************************************************
    08/10/06 10:20:24 -  Start updating EAR file...
    08/10/06 10:20:24 -  start-up mode is lazy
    08/10/06 10:20:24 -  EAR file updated successfully for 63ms.
    08/10/06 10:20:24 -  Start updating...
    08/10/06 10:20:24 -  EAR file uploaded to server for 79ms.
    08/10/06 10:20:24 -  ERROR: Not updated. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application local/DepthVisit..
                         Reason: Exception during generation of components of application local/DepthVisit in container webdynpro.; nested exception is:
                              com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deployApplicationDuringUpdate(DeployServiceImpl.java:701)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:666)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:612)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
                              ... 12 more
                         Caused by: java.lang.NullPointerException
                              at com.sap.engine.services.webdynpro.util.Procedures.switchio(Procedures.java:40)
                              at com.sap.engine.services.webdynpro.ArchiveParser.extractEntry(ArchiveParser.java:127)
                              at com.sap.engine.services.webdynpro.ArchiveParser.process(ArchiveParser.java:101)
                              at com.sap.engine.services.webdynpro.PApplication.process(PApplication.java:170)
                              at com.sap.engine.services.webdynpro.WebDynproContainer.deploy(WebDynproContainer.java:838)
                              at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
                              ... 18 more
                         For detailed information see the log file of the Deploy Service.
    08/10/06 10:20:24 -  ***********************************************************
    Oct 6, 2008 10:20:24 AM  Info: End of log messages of the target system.
    Oct 6, 2008 10:20:24 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 6, 2008 10:20:24 AM  Error: Aborted: development component 'DepthVisit'/'local'/'LOKAL'/'0.2008.10.06.10.20.19'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/DepthVisit..
    Reason: Exception during generation of components of application local/DepthVisit in container webdynpro.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application local/DepthVisit in container webdynpro.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Oct 6, 2008 10:20:24 AM  Info: Starting to save the repository
    Oct 6, 2008 10:20:25 AM  Info: Finished saving the repository
    Oct 6, 2008 10:20:25 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Oct 6, 2008 10:20:25 AM  Error: -
    At least one of the Deployments failed -

    Hi,
    Building the ear file is not the problem.
    The deployment fails.
    Seems that somehow I dont have those jars on the server.....
    Aviad
    Edit: I've done a search on the server and all the relevant jars are there, none is missing.
    Whats next?
    Edited by: Aviad Levy on Oct 6, 2008 4:41 PM

  • Unhandled win32 exception occured in Photoshop [1308]

    I have been using Photoshop CS4 Version 11 for about 2 months and it has functioned perfectly. After a Microsoft "blue screen of death" crash (I am using Windows XP SP3)I have been unable to access my software.
    CS4 starts to load then at the point where it starts to build TWAIN menus the program halts saying Adobe Photoshop CS4 has encountered a problem and needs to close. The debug message reads "unhandled win32 exception error in Photoshop.exe [1308]
    I have uninstalled and re-installed CS4 but the error still persists.
    Does anyone have any ideas on how to fix this problem?

    reinstall your twain device drivers. scanners, cameras, multi-funciton printers, etc.

  • An unhandled win32 exception occured in java.exe , While running JNI

    I'm trying to use JNI to call 3rd party VB DLL , like this
    JNI <> VC++ DLL <> VB DLL
    In VC++DLL ,I have function(named Open) that call 3 function in VBDLL
    I have tested c++ code this function (by copy it and paste in normal vc++ project) ,and It works !
    But when I call this function(Open) via JNI , I've got "An unhandled win32 exception occured in java.exe" by Visual Studio Just-in-Time Debugger !!
    I think the problem is in the 3rd function that I call in Open, because when I remove the 3rd function It doesn't raise any exception.
    Before I do this, I alrealdy test every function in VBDLL in VB Project , and they work fine (Include the 3rd function that I think It cause exception).
    Can anybody tell me what's going on here ?
    or anything that I can do to fine What cause this problem ?
    Thanks in advance ^^
    Edited by: voteforpedro on Sep 2, 2008 4:18 AM

    You either have a pointer problem or you are calling the 3rd party library in an unexpected fashion.
    In terms of testing the most likely reason is that it wasn't tested enough. Moving/changing code modifies the layout in memory which can expose previously hidden pointer problems.

  • How to catch the user defined  exception in application service

    Hi All,
    How to catch the user defined  exception in application service  when it is throwed by the external service..
    Regards,
    Thirumurugan.

    Hi,
        Thanks for your reply,
            Actually I  am calling validate Login method of External service from the application service. When the login fails, my external service will throw user defined Exception.I want to catch the user defined Exception.
        But in the application service , validate Login method can catch  only Invocation Exception and Engine Exception.
       These two exception are present in the Application service remote interface.
      public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException;
    User defined exception is not present there. When i include the webservice as external service in CAF, it suppossed to generate the java file for the custom exception of validate Login method and this generated file should be included in the application service remote interface..
    public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException,
    (generated file name of user defined Excpetion.
      Then only  validate login method  of application service can catch  the user defined Exception which is thrown by the  external service.
    regards,
    Thirumurugan.p

  • Crystal Reports 2011 getting An unhandled win32 exception occurred in crw32

    I am using Crystal reports 2011 with windows XP. I am getting the error message "An unhandled win32 exception occurred in crw32.exe"  I have seen the resolution for this at ""Unhandled win32 exception occurred in crw32.exe [2920]."" but this does not work either. I have added every possible .exe to not use DEP, that I could find in the Business Objects folder. The Business Objects folder is the correct folder. There is not any other folder in "Program Files" that is related to Crystal Reports. Can anyone help with this. I have come to the conclusion that the only solution is to switch to DevExpress Reports. Don't want to have to but, I have customers who are expecting working reports. I am using a MySQL database with version 5.1 ODBC driver. Another developer has Vista operating system running the same version of Crystal Reports, same database and ODBC driver and it works fine for him. Please don't say upgrade to Vista because the majority of my customer base is using XP. I would appreciate if someone could share some incite here. Thank you in advance.

    Hello,
    First thing is to download 5.3 DataDirect Drivers.
    DEP is not a problem as of CR XI R2 SP6 and CR 2008 SP 2.
    When are you getting the error when opening Crystal or at some other click?
    Check your Anti-virus software, it will block access to dependencies CR requires or access to the Registry.
    Look in your AV logs to see if it's logging that it's blocking access to something.
    Also, CR 2011 requires Windows XP SP3.
    And if you have not downloaded SP1 or SP 2 try uninstalling CR and then without running CR between installs complete them first and then try again.
    AND you must be a local PC Administrator to install.
    Don
    Edited by: Don Williams on Nov 13, 2011 6:37 AM

Maybe you are looking for

  • Printing in blank on linux

    My application use Java Print Service, prints well in windows, but in linux it only prints blank. Please Help me !!! This is example code import java.awt.geom.*; import java.awt.font.*; import java.awt.event.ActionListener; import java.awt.event.Acti

  • LR4.1 - external editing - metadata not recognised on re-importing

    I use 2 external editors in my work. Nik SilverEfex Pro 2 and Portrait Professional. SE creates Tiffs to work on, PP creates PSD files. I can use both plugins fine and export and tweak my images. However, my problems start on the re-import stage. So,

  • Can i conect 2 digital screens to one MB Pro? how?

    Hello folks I hear that i can connect to 2 monitors somehow with one MacBook Pro, can someone explain how? I allready plan on using the PCMA slot for eSata/FW800 raids. ( if this was the other option) please advise Thanks Larry

  • Python mysqldb on solaris 10

    I'm currently trying to compile MySQL-python-1.2.2 on solaris 10/08, but am getting the following error: bash-3.00# python setup.py build running build running build_py copying MySQLdb/release.py -> build/lib.solaris-2.10-i86pc-2.4/MySQLdb running bu

  • Google Docs

    I've been searching for a way to edit documents via iPhone, and the one thing I kept seeing as I searched the forums were suggestions to use Gdocs. I tried that, but could only view a doc with my iPhone. Any ideas, or is Gdocs really not usable as fa