Handling Runtime Exceptions

I have a swing based tool which throws a Runtime Exception if it cannot find certain information. How do I gracefully handle this, and let the user know about it.
Like for eg: when you can't access an page..an http error 400 or something is displayed.
Right now , everytime the user has to look at his DOS window to see what is happening!

Don't let it throw the exception. If it does, it's a sign of a bug.
If the bug is in code that you don't control, the best you can do is catch it, put up a dialog and ask "Try a different one?" or whatever is appropriate for your app.
If it's being thrown in your code, then change your code so it doesn't throw it.

Similar Messages

  • Handling Runtime Exceptions after Internationalization

    Hi,
    can any one let me know how to handle runtime exceptions . Like keyMissing exception while trying to retirive a key from .property file . The missing key might be due to a typo as property file is just a txt file . Another type of exception could be not able to find the property file itself. The two options available with resource bundle are the property file and the listResource bundle class.Since property file is just a plain text file it wont be able to catch missing key or missing value error[which could be typing mistake] but the listresourceBundle class wont compile if any of the entities key or the value is missing.. How to deal with this problem?
    Thanks
    Mukul

    Hello everyone,
    I added the addition ACCEPTING TRUNCATION to the above statement and the current runtime error has been solved.
    But now a new runtime error came up.'CONNE_IMPORT_WRONG_OBJECT_TYPE'     of exception 'CX_SY_IMPORT_MISMATCH_ERROR'          
    This is because there is a type conflict between the structured objects.
    The defn of CRT is like this
    DATA:  BEGIN OF CRT .
            INCLUDE STRUCTURE PC22Y.  "Cumulated result table (USA)
    DATA:  END   OF CRT.
    but I dont know where the mismatch is occuring in the data cluster.
    Infact I am very much confused with the data cluster structure.
    How do I resolve this issue?
    Any insights would be appreciated.
    Goldie.

  • How to handle runtime exceptions for sync scenario?

    Hi Experts,
       I have a synchronous scenario.
       Request :
       webservice -
    > sends input data -
    > PI -
    > SAP R/3 --BAPI
       Response:
       webservice -<---  PI <sends back any validation error or successfully processed message----- SAP R/3 --BAPI
       Here a webservice uses SOAP adapter to send input data to PI. While PI uses ABAP proxy to send data to SAP R/3.
       The problem is when the BAPI takes too long to process and resulting in timeout exception in PI. Is there some way we can catch this runtime exception in PI and send it to webservice as response?
       Please help!
    Thanks & Regards,
    Gopal

    Hi Gopal,
    as mentioned by otheres: the main issue is here to detect the reason for performance lack...
    >Is there some way we can catch this runtime exception in PI and send it to webservice as response?
    You can invoke a Business Process and open a sync / asyn Bridge. In the process call the FM synchronous and define an exception branch which you access in case of system failure. In the exception branch execute a transformation step to fill the response container with a corresponding error message.
    Regards,
    Udo

  • Handling runtime Exceptions in tomcat / struts

    Hi, I'm trying to find a way to cleanly handle exceptions in struts/tomcat. I've read a number of suggestions in my struts book, but none seem to work.
    What I've done is created an instance within my action class that deliberatley creates a NullPointerException. I want to be able to display an errorPage at this point, but whatever I do I just get the same horrible HTTP Status 500 error.
    Can anyone give any advice with this please?

    Check out the org.apache.struts.action.ExceptionHandler class. Basically you extend this class, and override the execute method. In the struts config file you add this entry...
    <global-exceptions>
    <exception
    handler="the pathname of the class that extends ExceptionHandler"
    key="message properties entry"
    path="error page jsp"
    scope="request"
    type="type of Exception you want to catch (Throwable)"/>
    </global-exceptions>
    This basically acts as a "catch all" global exception handle.

  • Reg Runtime Exception

    What is the Mechnizm in handling Runtime Exceptions by JVA

    As Josh Bloch says: Runtime exceptions should be used only to indicate programming errors, such as precondition violations.

  • Handling uncaught runtime exceptions

    Hi,
    We are building a ADF applicaton using eclipselink as the backend. When an uncaught runtime exception (like null pointer or optimistic lock exception) occurs in the application, we are seeing the exception stack trace as an alert.
    Is there a way to handle this gracefully and show a generic error message in ADF?
    Thanks,
    Rama

    Hi Rama,
    If you are using ADF 11g, then you need to extend the DCErrorHandlerImpl and configure your class as the "ErrorHandlerClass" in DataBindings.cpx.
    Regards,
    pino

  • Handling Exception/Runtime Exception in JSF

    Hi,
    Any good pointers to documents describing proper error handling.
    Not just navigation rules to an error.jsp file but also handling of runtime exceptions and exceptions in backing beans where you cannot use navigation rules (calling a method from JSF EL etc.).
    I am developing jsr 168 portlets using jsf on websphere portal.
    I can't get the error handling via web.xml to function and other places I can't manually make it go to an error.jsp in case of exceptions.
    How to handle the runtime exception in JSF.
    1. By including following tags in web.xml
    <error-type>
    <error-exception></error-exception>
    <error-loaction>/error.jsp</error-loaction>
    </error-type>
    its not working.
    2. If include the
    <%@page errorPage="../error/GenericError.jsp" %>
    in jsp page then
    it is not forwading to error page giving asaertion failure exception
    If we change the GenericError.jsp tag like
    <f:view>
    </f:view>
    to
    <f:subview>
    </f:subview>
    then it is going to error page but the
    action inside the error page is not getting called its backing bean
    Here is code of error.jsp
    <%-- jsf:pagecode language="java" location="/JavaSource/pagecode/JSPs/ErrorPage1.java" --%><%-- /jsf:pagecode --%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ page isErrorPage="true" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    </head>
    <body>
    <div class="errorMessage"><%= exception.getLocalizedMessage() %></div>
    <f:subview id="name">
    <h:commandButton action="#{OSPMTASecurityBean.cancel}" value="submit"/>
    </f:subview>
    </body>
    </html>

    If you would like to handle and navigate based on the exception type, this code would help you. btw I'm not familiar with portlet though.
    http://sourceforge.net/projects/optionzero
    http://sourceforge.net/forum/forum.php?forum_id=666191
    You can declare exception type and navigation in faces-config.xml in declarative manner like Struts global exception notion.
    Please let me know it's useful or not.
    thanks,

  • Handling Java runtime exception on Vista OS

    Hello Forum members,
    This is regarding the handling of runtime exception on Vista machine with JRE 1.4.2_14.
    Iam working on client / server scenario where i need handle the run time exception say SocketExcpetion or IOException like "No Route to Host " exception whenever there is network connection problem with the server.
    Problem:
    On Windows 2000 and Windows XP OS , Iam able to get the Socket Exception from the server when there is network connection problem and based on this Iam displaying some error message to the user but on Vista am not able to catch these runtime exception since Vista OS is blocking the runtime excpetion thrown from the server or network.
    Please let me know how to configure the Vista OS to allow the runtime exception to be thrown to the user or how to handle the programmatically (using java ) on Vista OS to throw exception.
    Any suggestion is welcome
    Best regards,
    Sudhir

    I have heard that on Vista machine , by default the windows firewall will block all the runtime exceptions (especially the ones which are thrown from the server).
    This problem is with respect to Client/server scenario where the server will throw SocketException when there is network connection problem and on the client side i need to catch and handle this exception to display appropriate message to the end user.
    Background: Iam able to handle exception thrown from the server on Windows 2000 and Windows XP but on Vista am facing the above said problem i.e. am not able to get any exception from the server.

  • How to handle the Exception when RegisterEventProcessorAsync

    In our Cloud Service project, we have 2 instances for work role (deploy to Azure), the work role is consume events from the EventHub using EventProcessorHost).
    When we want to register EventProcessor to consume data (see below):
    await eventProcessorHost.RegisterEventProcessorAsync<eventProcessor>();
    Sometimes we will got the Exception:
    Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (412) There is
    currently a lease on the blob and no lease ID was specified in the request.. ---> System.Net.WebException: The remote server returned an error: (412)
    There is currently a lease on the blob and no lease ID was specified in the request..
      at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpStatusCode actualStatusCode, T retVal, StorageCommandBase`1 cmd, Exception ex)
       at Microsoft.WindowsAzure.Storage.Shared.Protocol.HttpResponseParsers.ProcessExpectedStatusCodeNoException[T](HttpStatusCode expectedStatusCode, HttpWebResponse resp, T retVal, StorageCommandBase`1 cmd, Exception ex)
       at Microsoft.WindowsAzure.Storage.Blob.CloudBlobSharedImpl.<DeleteBlobImpl>b__1b(RESTCommand`1 cmd, HttpWebResponse resp, Exception ex, OperationContext ctx)
       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)
       --- End of inner exception stack trace ---
       at Microsoft.WindowsAzure.Storage.Core.Util.StorageAsyncResult`1.End()
       at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.EndDeleteIfExists(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass1`1.<CreateCallback>b__0(IAsyncResult ar)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.ServiceBus.Messaging.BlobLeaseManager.<DeleteAllAsync>d__2a.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.ServiceBus.Messaging.EventProcessorHost.<InitializeAsync>d__4.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.ServiceBus.Messaging.EventProcessorHost.<StartAsync>d__e.MoveNext()
       --- End of inner exception stack trace ---
       at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       at System.Threading.Tasks.Task.Wait()
    at awaiteventProcessorHost.RegisterEventProcessorAsync<eventProcessor>();
    If we got the Exception, we won’t got messages any more.
    From the Call Stack, we found it was cause by delete the Blob. So we wonder that, when we call
    RegisterEventProcessorAsync,
    the hub will delete the blob and renew one in Storage?
    If we delete the blob for the EventHub manually and then run our server again. It worked as usual.
    But we can do it like this way manually, so is there any way to handle the exception in code to make the EventProcessorHost worked?
    Thanks so much!

    If we use different blob container name for different EventProcessorHost, is it a workaround for the issue?
       var
    eventProcessorHost = new
    EventProcessorHost(
                    hostName,
                    hubName,
                    consumerGroupName,
                    serviceBusConnectionString,
                    storageConnectionString,
    leaseContainerName);

  • Reg:- Runtime Exception on preview of Portal Activity Report Editor iView

    Hi All,
    I am trying to preview the iView, "Portal Activity Report Editor" located under Portal Content -> Content Provided by SAP -> Admin Interfaces -> Admin iView Templates -> Portal Editors under Content Administration role.
    But, when I previee the iView, I get a RunTime Exception as follows:
    #1.5 #0014C263546200A5000008B900000CEC000450DE5CE9A528#1214815878685#com.sap.portal.applicationFramework.tools.wizardframework#sap.com/irj#com.sap.portal.applicationFramework.tools.wizardframework#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Fatal#1#/System/Server#Java###wizard session No: 429: could not instantiate pane instance of type com.sapportals.admin.wizardframework.core.ClassNameAndConstructorArgs@1663bd## #1.5 #0014C263546200A5000008BA00000CEC000450DE5CE9A6F1#1214815878685#System.err#sap.com/irj#System.err#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error##Plain###Jun 30, 2008 4:51:18 AM                     com.sap.portal.portal [SAPEngine_Application_Thread[impl:3]_56] Error: Exception ID:04:51_30/06/08_15351_4495550
    #1.5 #0014C263546200A5000008BC00000CEC000450DE5CE9B605#1214815878685#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error#1#/System/Server#Java###Exception ID:04:51_30/06/08_15351_4495550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.activityReportEditor
    Component class : com.sap.portal.webreport.editor.ActivityReportEditor
    User : <User_ID>
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:547)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         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:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.RuntimeException: an Exception occured when instantating class com.sap.portal.admin.editor.pane.EditorPaneWrapper
         at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:54)
         at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:225)
         at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
         at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
         at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 29 more
    This happens for all Editor iViews.
    Kindly let me know what could be the problem.
    Thanks and Regards,
    Pavithra

    Hi Sandeep,
    Thank you for your inputs.
    I had raised an OSS Message with SAP some days ago on this issue. SAP has replied back saying that only users with Content Administration role can have access to configure portal acyivity report. All other users can only view the results.
    Regards,
    Pavithra

  • Runtime Exception in Message mapping

    Hi Experts,
    I have a scenario of  IDoc to  <third party adapter> cXML.
    The message caught the below error
    RuntimeException in Message-Mapping transformation : Runtime exception during processing target field mapping ......./ShipTo[2]/Address/PostalAddress/DeliverTo (suppressed field). The message is: Exception:[java.lang.ArrayIndexOutOfBoundsException: 7] in class com.sap.xi.tf._M_IDOC_to_cXML_ method getShipToContact$[, , com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper@253fdd8a]
    Please suggest on what went wrong, as everything is working fine before.
    Thanks in advance.
    MK

    Mk:
    Please check if the source fields which are mapped to the target are all generated by the SAP Script and make sure that they have data so that when they are mapped to the target. If they are mapped and source fields don't have data then it may error out. Sometimes SAP Script might not generate a node if there is not data for it, make sure you handle that condition also.
    RuntimeException in Message-Mapping transformation is
    due to the missing TEXT_LINE element in the segment Z1VOBTH for the TEXT_ID 'INVOICE_TO_LOCATION'
    I am not able to understand this. is Text_ID subelement of Text_Line?? Could you please post the complete error message as it is.

  • Runtime exception occurred during application mapping in SAP PI

    Hi Team,
    Please help me regarding this issue is very urgent:
    Runtime Error in configuration part:
    Here i test the XML message in Receiver Determintion:
    Below i am getting error:
    Runtime exception occurred during application mapping com/sap/xi/tf/_MaterialStockUpdate_Multi_AllPlant~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:The processing instruction target matching "[xX][mM][lL]" is not allowed
    SXMB_MONI:
    I am getting below error:
    Runtime exception occurred during application mapping

    Hi,
    Actually my problem is what i am getting,I am trying to test the data in runtime workbench and configuration part copied from inbound payload XML structure .
    I already sent the screenshots of above errors,
    Configuartion:
    Runtime workbench:
    This the error i am getting below in "Runtime Workbench"
    Error While Sending Message: Additional error text from response: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=MHEPL_Sandbox_100;TS=;AN=MaterialStockUpdate_Multi_AllPlants_N;ANS=http://www.manipalhospitals.com/his/mm; in the current context [Unknown].

  • Client side handling of exceptions thrown by a webservice

    I have a webservice that is deployed in Tomcat 5.5 running on Windows XP, Java version is 1.5, using jwsdp 1.5. My client, when run as an applet in a browser (have tried IE 6 and FireFox 1), seems to be unable to parse any exception thrown from the webservice. Instead the following exception is caught by the client:
    ==========================================================
    Checking the security service exception that occurred [Runtime exception; nested exception is:
    XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing]
    com.irista.security.services.data.SecurityServiceException: Runtime exception; nested exception is:
    XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
    at com.irista.security.services.webclient.SecurityServiceProxy.removeAuthenticatio nProfile(SecurityServiceProxy.java:1276)
    at com.irista.security.ui.applet.AuthenticationProfilesListPanel.deleteAction(Auth enticationProfilesListPanel.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:1 80)
    at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:1 51)
    at com.irista.ui.webapp.framework.WebAppToolbar$ButtonActionListener.actionPerform ed(WebAppToolbar.java:368)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    ==========================================================
    If I run the client outside of a browser it catches the exception that is actually thrown by the webservice.
    Is there possibly a problem with the java 5 plugin handling exceptions thrown by webservices?
    I have not found any bug reports or forumn posts regarding this so any assistance would be greatly appreciated.
    thanks,
    scott

    Thanks for the reply, here is what the printStackTrace() output:
    java.rmi.RemoteException: Runtime exception; nested exception is:
         XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)
         at com.irista.security.services.webservice.SecurityServiceIF_Stub.removeAuthenticationProfile(SecurityServiceIF_Stub.java:1963)
         at com.irista.security.services.webclient.SecurityServiceProxy.removeAuthenticationProfile(SecurityServiceProxy.java:1266)
         at com.irista.security.ui.applet.AuthenticationProfilesListPanel.deleteAction(AuthenticationProfilesListPanel.java:131)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:180)
         at com.irista.ui.webapp.framework.WebAppletPane.performAction(WebAppletPane.java:151)
         at com.irista.ui.webapp.framework.WebAppToolbar$ButtonActionListener.actionPerformed(WebAppToolbar.java:368)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: Document root element is missing
         at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:120)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
         at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
         at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:123)
         ... 34 more

  • Runtime exception for other than programming error.

    In a conversation the question arose whether it could be a case of throwing a runtime exception for anything other than a bug. The tutorial on oracle site says "These Usually Indicate programming bugs" leading to think that can be used in situations in which there is no bug.
    Anyone have a practical example of a runtime exception when there is no bug?
    Thanks.

    937643 wrote:
    Ok. But. Do you think that in these cases the use of a runtime exception could be considered a bad practice?That's actually a matter of some debate.
    On the one hand, Java has defined two major kinds of exceptions since the very beginning (unchecked exceptions, which are RuntimeException, Error, and their descendants; and checked exceptions which are everything else). The intended use of those was that checked exceptions should be for things that can normally go wrong in the execution of a program, even without a bug or without a major internal JVM error, such as a failed attempt to persist something or a network connection dropping--stuff that a programmer might normally be expected to deal with; while unchecked exceptions were created for things that a programmer would not normally handle in his code (except possibly at major architectural boundaries), like buggy code or an internal JVM failure.
    With the rule about having to catch or declare checked exceptions, but not unchecked ones, that makes it easy for programmers so say, "Okay, I know exactly what can go wrong here that I might be expected to handle and I can therefore choose what to do with it; there will be no surprises. But I don't have to deal with problems that are outside my normal responsibility, like somebody passing me a null when they shouldn't have." It gives a programmer a nice bit of control, and the ability to know he hasn't missed something, kind of like the type safety provided by a strongly typed language.
    At least that's the theory.
    In practice, most checked exceptions either just get bubbled up to the next layer (via a throws clause), or caught wrapped in a fairly generic layer-appropriate exception and rethrown. There's not a whole lot of use made of what checked exceptions provide, and there's a lot of ugly boilerplate code that doesn't do anything useful for the app but is just there to satisfy the compiler.
    So, some people think that checked exceptions are useless, or mostly useless, and favor unchecked exceptions in most or all cases. I believe that's part of the philosophy of Spring, but I'm not totally sure.
    The idea is that since most of the time you can't do anything about exceptions that might be thrown to you, it's wasteful and pointless to have all that code to catch and rethrow. In this viewpoint, it would be better if, for example, not providing a throws clause at all meant that you could throw any exception. Any given code can still catch specific exceptions that it knows it can handle, but we don't have to write a bunch of code notating something that we're not really doing anything about.
    Personally, I used to be totally in the checked exception camp. However, all the pointless boilerplate is wearing me down. I'm still not completely convinced though, and here's why: If I'm calling a method, I'd like to at least be able to see what might go wrong, so that I can decide how to deal with it. If all exceptions were unchecked, and the throws clause were optional, a conscientious developer could still provide it, and list the unchecked exceptions his method might throw to me, and/or he could document them in the javadoc comments. But a lot of developers won't do that, or even if they start to, as their method evolves, without the compiler to enforce it, they won't keep it up to date.
    So there are advantages to both approaches. I personally would to know that the information will always be available to me, but for the small percentage of the time where I actually use it (like handle one specific exception one way and some other exception differently), I'm not sure if it's worth the overhead.

  • Runtime Exception - Need Help

    Hi
    I have a simple BPEL process to test the exception handling. It basically consists of a Invoke to call a EJB and a catchAll around the invoke. If there is an exception due to the Target EJB not available , the catchAll catches the exception, but if there is a runtime exception thrown in the EJB such as a NullPointerException, the catchAll does not capture it and also i'm not able to even access the instance, the instance itself vanishes. I have included the detailed log below..
    can some one shed some light on this..?
    Thanks in advance
    Sam
    The log contains activities of creating a new instance from Dashboard and click on the 'Flow' in console
    &gt;&gt;&gt;&gt; Log Start &gt;&gt;&gt;&gt;
    &lt;2005-02-04 10:24:08,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT CONNECTION 1
    &lt;2005-02-04 10:24:08,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE CONNECTION 0
    &lt;2005-02-04 10:24:08,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT CONNECTION 1
    &lt;2005-02-04 10:24:08,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE CONNECTION 0
    &lt;2005-02-04 10:24:08,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;WSDLSchemaUtil::getInputParameters&gt; In
    put parameter name payload parameter type {http://acm.org/samples}EHT1Request
    &lt;2005-02-04 10:24:09,046&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT TX CONNECTION 1
    &lt;2005-02-04 10:24:09,062&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;BaseDeliveryPersistenceAdaptor
    ::storeInvoke&gt; Compressed message bytes from 850 to 381
    &lt;2005-02-04 10:24:09,062&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE TX CONNECTION 0
    &lt;2005-02-04 10:24:09,109&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;Dispatcher::insert&gt; Receiv
    ed batch message, 1 messages [invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb]
    &lt;2005-02-04 10:24:09,109&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::receive&gt;
    Receiving message [invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb] for set invok
    e
    &lt;2005-02-04 10:24:09,109&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::receive&gt;
    Receiving message [] for set engine
    &lt;2005-02-04 10:24:09,109&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;Dispatcher::receive&gt; Alloc
    ating new thread; pending threads: 1, active threads: 0, total: 0
    &lt;2005-02-04 10:24:09,171&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatcherBean::init&gt; Done
    initializing dispatcher queue 'java:comp/env/jms/collaxa/BPELWorkerQueue'
    &lt;2005-02-04 10:24:09,187&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;InvokeDispatchSet::fetchSc
    heduled&gt; Fetched message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb from inv
    oke queue for processing
    &lt;2005-02-04 10:24:09,234&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatcherBean::send&gt; Sent
    message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
    &lt;2005-02-04 10:24:09,234&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;Dispatcher::insert&gt; Receiv
    ed batch message, 0 messages []
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;InvokeInstanceMessageHandl
    er::handle&gt; Processing invoke instance message for domain default
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT TX CONNECTION 1
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::receive&gt;
    Receiving message [] for set invoke
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::receive&gt;
    Receiving message [] for set engine
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;Dispatcher::receive&gt; Alloc
    ating new thread; pending threads: 1, active threads: 1, total: 1
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatcherBean::send&gt; Sent
    message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::receive&gt;
    Receiving message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa for set
    system
    &lt;2005-02-04 10:24:09,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;Dispatcher::receive&gt; Alloc
    ating new thread; pending threads: 1, active threads: 1, total: 2
    &lt;2005-02-04 10:24:09,265&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatcherBean::send&gt; Sent
    message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
    &lt;2005-02-04 10:24:09,281&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;SystemDispatchSet::fetchSc
    heduled&gt; Fetched message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa f
    rom system queue for processing
    &lt;2005-02-04 10:24:09,281&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;RemoveMessageHandler::hand
    le&gt; Processing remove message for ticket aacf889e30f5e83a:125e791:101ddf7208b:-7ffa
    &lt;2005-02-04 10:24:09,281&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::acknowled
    ge&gt; Acknowledged message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa
    &lt;2005-02-04 10:24:09,296&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;BaseInvokeHandler::load&gt; Loade
    d message bytes, compressed 381 , uncompressed 850
    &lt;2005-02-04 10:24:09,312&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.delivery&gt; &lt;InvokeCache::remove&gt; Remov
    ing cache entry for message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb
    &lt;2005-02-04 10:24:09,375&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement__CXPM::__create&gt; Creating n
    ormal element EHT1Request, state=0
    &lt;2005-02-04 10:24:09,375&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DomSerializerUtil::loadElement&gt; Loaded
    element EHT1Request size=238
    &lt;2005-02-04 10:24:09,390&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT TX CONNECTION 2
    &lt;2005-02-04 10:24:09,390&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE TX CONNECTION 1
    &lt;2005-02-04 10:24:09,421&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::createInstance&gt; Created
    cube instance '2701' from process 'EHT1' (revision '1.0')
    &lt;2005-02-04 10:24:09,500&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;MethodCubeBlock::activate&gt; Create m
    ethod scope 'BpPrc0.1' in block 'BpPrc0'
    &lt;2005-02-04 10:24:09,500&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;MethodCubeBlock::activate&gt; Method n
    ame:processTransaction type: not-supported
    &lt;2005-02-04 10:24:09,515&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::invokeMethod&gt; Invoking
    method 'initiate' on cube instance '2701'
    &lt;2005-02-04 10:24:09,515&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Managing s
    cope 'BpPrc0.1' on cube instance '2701'
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpTry0' with scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;scope&gt; at line [no line]
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;scope&gt; at line [no line]
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpTry0.2' in block 'BpTry0'
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpSeq0' with scope 'BpTry0.2'
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;sequence&gt; at line 35
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;sequence&gt; at line 35
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key main
    &lt;2005-02-04 10:24:09,531&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpSeq0.3' in block 'BpSeq0'
    &lt;2005-02-04 10:24:09,546&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te node 'BpRcv0' with scope 'BpSeq0.3'
    &lt;2005-02-04 10:24:09,546&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Scheduling
    workitem 2701-BpRcv0-BpSeq0.3-1 to be performed
    &lt;2005-02-04 10:24:09,546&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Done manag
    ing scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,546&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatchHelper::sendMemory
    &gt; Dispatching in-memory request, [workitem perform message 2701-BpRcv0-BpSeq0.3-1]
    &lt;2005-02-04 10:24:09,546&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;PerformMessageHandler::han
    dleLocal&gt; Processing workitem perform message 2701-BpRcv0-BpSeq0.3-1 for domain default
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Attempt
    ing to handle workitem 2701-BpRcv0-BpSeq0.3-1 with transition 0
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Perfor
    ming workitem '2701-BpRcv0-BpSeq0.3-1'
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key receiveInput
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELEntryReceiveWMP::EHT1&gt; exe
    cuting &lt;receive&gt; at line 39
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELEntryReceiveWMP::EHT1&gt; set
    variable 'input' to be readOnly.
    &lt;2005-02-04 10:24:09,562&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key input
    &lt;2005-02-04 10:24:09,578&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement::toXML&gt; Converting to XML E
    HT1Request, state= 3
    &lt;2005-02-04 10:24:09,578&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement__CXPM::__toXML&gt; Converting
    element input to xml, state=0
    &lt;2005-02-04 10:24:09,578&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement__CXPM::__toXML&gt; Converting
    element input uri http://acm.org/samples to xml
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key receiveInput
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Is per
    former 2701-BpRcv0-BpSeq0.3-1 idempotent? true
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkBlockConditions&gt; W
    orkitem '2701-BpRcv0-BpSeq0.3-1' has been marked as complete
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::finalizeActivity&gt; Attem
    pting to finalize workitem '2701-BpRcv0-BpSeq0.3-1'
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkManageScope&gt; Found
    highest dirty scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Managing s
    cope 'BpPrc0.1' on cube instance '2701'
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpScp0' with scope 'BpSeq0.3'
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;scope&gt; at line 44
    &lt;2005-02-04 10:24:09,593&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key scope-1
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpScp0.4' in block 'BpScp0'
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpTry1' with scope 'BpScp0.4'
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;scope&gt; at line [no line]
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;scope&gt; at line [no line]
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpTry1.5' in block 'BpTry1'
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpSeq1' with scope 'BpTry1.5'
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;sequence&gt; at line 52
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;sequence&gt; at line 52
    &lt;2005-02-04 10:24:09,609&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpSeq1.6' in block 'BpSeq1'
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te node 'BpAss0' with scope 'BpSeq1.6'
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Scheduling
    workitem 2701-BpAss0-BpSeq1.6-1 to be performed
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Done manag
    ing scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Done p
    erforming workitem '2701-BpRcv0-BpSeq0.3-1'
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Done ha
    ndling workitem 2701-BpRcv0-BpSeq0.3-1
    &lt;2005-02-04 10:24:09,625&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;PerformMessageHandler::han
    dleLocal&gt; Processing workitem perform message 2701-BpAss0-BpSeq1.6-1 for domain default
    &lt;2005-02-04 10:24:09,640&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Attempt
    ing to handle workitem 2701-BpAss0-BpSeq1.6-1 with transition 0
    &lt;2005-02-04 10:24:09,640&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Perfor
    ming workitem '2701-BpAss0-BpSeq1.6-1'
    &lt;2005-02-04 10:24:09,640&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key initIS
    &lt;2005-02-04 10:24:09,640&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELAssignWMP::EHT1&gt; executing
    &lt;copy&gt; at line 52
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;XPathUtil::initXPath&gt; namespaceMapping
    is: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, tns=http://acm.org/samples, xsd=
    http://www.w3.org/2001/XMLSchema, bpelx=http://schemas.oracle.com/bpel/extension, ora=http://schemas
    .oracle.com/xpath/extension, nsxml0=http://www.emergingaspects.com/service/EXHT}
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;XPathUtil::evaluate&gt; XPathQuery[string
    ("NOT OK")], XPath Result: class=java.lang.String value=NOT OK
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;PersistenceManager::copy( Obje
    ct )&gt; copying %jS
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key invokeStatus
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key initIS
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Is per
    former 2701-BpAss0-BpSeq1.6-1 idempotent? true
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkBlockConditions&gt; W
    orkitem '2701-BpAss0-BpSeq1.6-1' has been marked as complete
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::finalizeActivity&gt; Attem
    pting to finalize workitem '2701-BpAss0-BpSeq1.6-1'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkManageScope&gt; Found
    highest dirty scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Managing s
    cope 'BpPrc0.1' on cube instance '2701'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te node 'BpInv0' with scope 'BpSeq1.6'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Scheduling
    workitem 2701-BpInv0-BpSeq1.6-2 to be performed
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Done manag
    ing scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Done p
    erforming workitem '2701-BpAss0-BpSeq1.6-1'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Done ha
    ndling workitem 2701-BpAss0-BpSeq1.6-1
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;PerformMessageHandler::han
    dleLocal&gt; Processing workitem perform message 2701-BpInv0-BpSeq1.6-2 for domain default
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Attempt
    ing to handle workitem 2701-BpInv0-BpSeq1.6-2 with transition 0
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Perfor
    ming workitem '2701-BpInv0-BpSeq1.6-2'
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key invokeEHTS
    &lt;2005-02-04 10:24:09,671&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELInvokeWMP::EHT1&gt; executing
    &lt;invoke&gt; at line 57
    &lt;2005-02-04 10:24:09,703&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSInvocationManager::invoke&gt; operation:
    doExceptionHandlingTest
    &lt;2005-02-04 10:24:09,703&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSInvocationManager::invoke&gt; inputConta
    iner: {payload=&lt;payload xmlns="http://www.emergingaspects.com/service/EXHT"/&gt;}
    &lt;2005-02-04 10:24:09,703&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSInvocationManager::invoke&gt; callProps:
    {is-initial-call=true, parentId=2701, syncPersistMode=null, process-id=EHT1, rootId=2701, conversat
    ionId=bpel://localhost/default/EHT1~1.0/2701-BpInv0-BpSeq1.6-2, location=null, priority=3, work-item
    -key=2701-BpInv0-BpSeq1.6-2, domain-id=default, revision-tag=1.0}
    &lt;2005-02-04 10:24:09,718&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSDLManager::getWSDL&gt; registered wsdl a
    t http://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
    &lt;2005-02-04 10:24:09,718&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSDLManager::getWSDL&gt; got wsdl at: http
    ://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
    &lt;2005-02-04 10:24:09,718&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSInvocationManager::invoke&gt; def is htt
    p://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
    &lt;2005-02-04 10:24:09,718&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSIFInvocationHandler::invoke&gt; opName=d
    oExceptionHandlingTestportTypeQn={http://www.emergingaspects.com/service/EXHT}EXHTServiceserviceQn={
    http://www.emergingaspects.com/service/EXHT}EXHTService
    &lt;2005-02-04 10:24:09,859&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMSerializerUtil::binaryDeepCopy&gt; Beg
    in binary deep copy for payload
    &lt;2005-02-04 10:24:09,859&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement__CXPM::__deepCopy&gt; Deep cop
    ying payload, uri=http://www.emergingaspects.com/service/EXHT, state=0
    &lt;2005-02-04 10:24:09,890&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMElement__CXPM::__create&gt; Creating n
    ormal element payload, state=0
    &lt;2005-02-04 10:24:09,890&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;DOMSerializerUtil::binaryDeepCopy&gt; Don
    e binary deep copy for payload
    WSIF0005E: An error occurred when invoking the method 'doExceptionHandlingTest'. ('EJB')
    &lt;2005-02-04 10:24:09,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;WSIFInvocationHandler::invoke&gt; Fault ha
    ppenned
    javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerException
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
    java.lang.NullPointerException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_812_WLStub.doExce
    ptionHandlingTest(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
    WSIFOperation_EJB.java:1071)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:392)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:321)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:569)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
    rmMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
    at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
    at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
    _ELOImpl.java:274)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
    eInstanceMessageHandler.java:36)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
    at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    ... 2 more
    &lt;2005-02-04 10:24:09,953&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.ws&gt; &lt;BPELInvokeWMP::__invoke&gt; Caught RemoteE
    xception
    orabpel.apache.wsif.WSIFException: Operation failed!; nested exception is:
    javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerExce
    ption
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
    java.lang.NullPointerException
    at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
    WSIFOperation_EJB.java:1207)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:392)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:321)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:569)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
    rmMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
    at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
    at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
    _ELOImpl.java:274)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
    eInstanceMessageHandler.java:36)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
    at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerE
    xception
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
    java.lang.NullPointerException
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_812_WLStub.doExce
    ptionHandlingTest(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
    WSIFOperation_EJB.java:1071)
    ... 27 more
    Caused by: java.lang.NullPointerException
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
    at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    ... 2 more
    &lt;2005-02-04 10:24:09,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;bpel.p0.BPEL_BIN$$BPELC_BpInv0::per
    form&gt; error thrown
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=Operation failed!; nested exception is:
            javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerExce
    ption
            at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
    onHandlingTestEJBBean.java:28)
            at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
    ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
            at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
    nown Source)
            at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
            at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
            at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    ; nested exception is:
            java.lang.NullPointerException}}
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:604)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
    rmMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
    at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
    at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
    _ELOImpl.java:274)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
    eInstanceMessageHandler.java:36)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
    at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    &lt;2005-02-04 10:24:09,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key invokeEHTS
    &lt;2005-02-04 10:24:09,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;SensorManager::doCallback&gt; queried
    map w/key {http://schemas.oracle.com/bpel/extension}bindingFault
    &lt;2005-02-04 10:24:09,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Is per
    former 2701-BpInv0-BpSeq1.6-2 idempotent? false
    &lt;2005-02-04 10:24:09,968&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkBlockConditions&gt; W
    orkitem '2701-BpInv0-BpSeq1.6-2' has been marked as complete
    &lt;2005-02-04 10:24:09,984&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::finalizeActivity&gt; Attem
    pting to finalize workitem '2701-BpInv0-BpSeq1.6-2'
    &lt;2005-02-04 10:24:09,984&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::finalizeActivity&gt; Caugh
    t business exception at block 'BpTry1', rolling back
    &lt;2005-02-04 10:24:09,984&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::forceCompleteScope&gt; Is
    instance faulted? true
    &lt;2005-02-04 10:24:09,984&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::forceCompleteScopeTree&gt;
    Forcing to complete scope rooted at 'BpTry1.5'
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;BaseWorkItemPersistenceAdaptor
    ::load&gt; Skipping database load ... found workitems
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::closeActivity&gt; Workitem
    2701-BpInv0-BpSeq1.6-2 is faulted ... skipping cancel
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.agents&gt; &lt;ExpirationAgent::unscheduleW
    orkItem&gt; Removing work item 2701-BpInv0-BpSeq1.6-2 from expiration scheduler
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkExpirable&gt; Removin
    g work item 2701-BpInv0-BpSeq1.6-2 from expiration agent
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;ForceCompleteTreeIterator::apply&gt; C
    ompleting scope 'BpTry1.5'
    &lt;2005-02-04 10:24:10,000&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;ForceCompleteTreeIterator::apply&gt; C
    ompleting scope 'BpSeq1.6'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::forceCompleteScopeTree&gt;
    Done forced complete scope rooted at 'BpTry1.5'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::checkManageScope&gt; Found
    highest dirty scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Managing s
    cope 'BpPrc0.1' on cube instance '2701'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te block 'BpCAl0' with scope 'BpScp0.4'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;catchAll&gt; at line 48
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.bpel&gt; &lt;BPELExecution::EHT1&gt; entering
    &lt;catchAll&gt; at line 48
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;BaseCubeBlock::activate&gt; Create sco
    pe 'BpCAl0.7' in block 'BpCAl0'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Can activa
    te node 'BpWai0' with scope 'BpCAl0.7'
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;XPathUtil::initXPath&gt; namespaceMapping
    is: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, tns=http://acm.org/samples, xsd=
    http://www.w3.org/2001/XMLSchema, bpelx=http://schemas.oracle.com/bpel/extension, ora=http://schemas
    .oracle.com/xpath/extension, nsxml0=http://www.emergingaspects.com/service/EXHT}
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.xml&gt; &lt;XPathUtil::evaluate&gt; XPathQuery['PT30S
    '], XPath Result is: class java.lang.String
    &lt;2005-02-04 10:24:10,031&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.agents&gt; &lt;ExpirationAgent::unscheduleW
    orkItem&gt; Removing work item 2701-BpWai0-BpCAl0.7-1 from expiration scheduler
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.agents&gt; &lt;ExpirationScheduler::schedul
    e&gt; Work item 2701-BpWai0-BpCAl0.7-1 scheduled for Fri Feb 04 10:24:40 EST 2005
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Scheduling
    workitem 2701-BpWai0-BpCAl0.7-1 to be performed
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::manageScope&gt; Done manag
    ing scope 'BpPrc0.1'
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::performActivity&gt; Done p
    erforming workitem '2701-BpInv0-BpSeq1.6-2'
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::handleWorkItem&gt; Done ha
    ndling workitem 2701-BpInv0-BpSeq1.6-2
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatchHelper::sendMemory
    &gt; In-memory false ... stop processing in-memory
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine&gt; &lt;CubeEngine::store&gt; Initial request
    ... storing instance 2701 to datastore
    &lt;2005-02-04 10:24:10,125&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;CubeInstancePersistenceMgr::st
    ore&gt; Storing instance 2701 to datastore
    &lt;BaseCubeSessionBean::logError&gt; Error while invoking bean "delivery": Cannot insert audit trail.
    The process domain was unable to insert the current log entries for the instance "2701" to the audit
    trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
    back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
    ction.
    Please check that the machine hosting the datasource is physically connected to the network. Otherw
    ise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
    e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
    &lt;2005-02-04 10:24:10,187&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE TX CONNECTION 0
    &lt;2005-02-04 10:24:10,250&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;DispatchHelper::handleMess
    age&gt; failed to handlerMessage
    ORABPEL-04004
    Cannot insert audit trail.
    The process domain was unable to insert the current log entries for the instance "2701" to the audit
    trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
    back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
    ction.
    Please check that the machine hosting the datasource is physically connected to the network. Otherw
    ise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
    e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
    at com.collaxa.cube.engine.adaptors.oracle.AuditTrailPersistenceAdaptor$TrailHandler.store(A
    uditTrailPersistenceAdaptor.java:283)
    at com.collaxa.cube.engine.adaptors.common.BaseAuditTrailPersistenceAdaptor.store(BaseAuditT
    railPersistenceAdaptor.java:134)
    at com.collaxa.cube.engine.adaptors.oracle.AuditTrailPersistenceAdaptor.store(AuditTrailPers
    istenceAdaptor.java:62)
    at com.collaxa.cube.engine.data.AuditTrailPersistenceMgr.store(AuditTrailPersistenceMgr.java
    :239)
    at com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.store(BaseCube
    InstancePersistenceAdaptor.java:466)
    at com.collaxa.cube.engine.adaptors.oracle.CubeInstancePersistenceAdaptor.store(CubeInstance
    PersistenceAdaptor.java:74)
    at com.collaxa.cube.engine.data.CubeInstancePersistenceMgr.store(CubeInstancePersistenceMgr.
    java:307)
    at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5295)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5540)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
    at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
    at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
    _ELOImpl.java:274)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
    eInstanceMessageHandler.java:36)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
    at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    &lt;2005-02-04 10:24:10,265&gt; &lt;ERROR&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseScheduledWorker::proce
    ss&gt; Failed to handle dispatch message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-
    7ffb ... exception Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.mess
    age.invoke.InvokeInstanceMessage"; the exception is: Cannot insert audit trail.
    The process domain was unable to insert the current log entries for the instance "2701" to the audit
    trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
    back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
    ction.
    Please check that the machine hosting the datasource is physically connected to the network. Otherw
    ise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
    e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.mess
    age.invoke.InvokeInstanceMessage"; the exception is: Cannot insert audit trail.
    The process domain was unable to insert the current log entries for the instance "2701" to the audit
    trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
    back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
    ction.
    Please check that the machine hosting the datasource is physically connected to the network. Otherw
    ise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
    e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:73)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
    at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
    at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    &lt;2005-02-04 10:24:10,265&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.dispatch&gt; &lt;BaseDispatchSet::acknowled
    ge&gt; Acknowledged message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb
    &lt;2005-02-04 10:24:24,750&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::getConnecti
    on&gt; GOT CONNECTION 1
    &lt;BaseCubeSessionBean::logError&gt; Error while invoking bean "finder": Instance not found in datasource
    The process domain was unable to fetch the instance with key "aacf889e30f5e83a:125e791:101ddf7208b:-
    7ffc" from the datasource.
    Please check that the instance key "aacf889e30f5e83a:125e791:101ddf7208b:-7ffc" refers to a valid in
    stance that has been started and not removed from the process domain.
    &lt;2005-02-04 10:24:24,765&gt; &lt;DEBUG&gt; &lt;default.collaxa.cube.engine.data&gt; &lt;ConnectionFactory::closeConnec
    tion&gt; CLOSE CONNECTION 0
    &lt;&lt;&lt;&lt; Log End &lt;&lt;&lt;&lt;

    hmmm for some reason when you call your EJB and it throws an exception, the JTA transaction is marked as rollbakc so the BPEL EM engine fails to save the instance.
    Could you please provide us some additional pieces of information:
    obversion.bat.
    The exact exception that your EJB throws.
    JTA configuration of your bean
    Have you looked at the BankTransfer demo?
    Edwin

Maybe you are looking for

  • Labview pda 8

    Is there a PDA version 8 out? if not how well does Labview 8 work with Labview PDA 7.1?   

  • Can I update a loner iPhone 5 to iOS 8?

    I just got a loner phone because my iPhone 5's sleep wake button was broken. I'm wondering if it is okay if I update the loner phone to iOS 8?

  • Prints half a picture then printer cancels print job HP office jet pro 8500

    Hi I am running Vista home edition on a Dell desktop using an HP OfficeJet Pro 8500 Wireless printer.  The printer is connected via USB. Whenever I print a picture, regardless of size, it prints it partially, half to three quarters then the machine s

  • Please help to upgrade my Mac Pro

    I am a graphic designer. I start doing freelance job at home. I do a lot of photoshop work. I read on this and other forums to learn how to upgrade my Mac Pro. I am not a tech person at all. Please give me advise. 1) I need to have a backup system. I

  • Pull header text from sales order

    Hi all im trying to get the External header text entered on the SALES ORDER to print out on the INVOICE and the PACKING LIST I have started out with using the READ_TEXT FM, but I am not sure how to pull the text from a different document. any ideas?