This discussion is archived
3 Replies Latest reply: Dec 5, 2012 2:34 PM by vladodias RSS

unable to invoke the AIAAsyncErrorHandlingBPELProcess

972017 Newbie
Currently Being Moderated
Hi
i am unable to invoke the AIAAsyncErrorHandlingBPELProcess when i test my provABCS i get this error please gave me any solution on it.





Faulted while invoking operation "initiate" on provider "AIAAsyncErrorHandlingBPELProcess".
-<messages>
-<input>

-<AIAAsyncErrorHandlingBPELProcessRequestMessage>
-<part name="FaultMessage" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<Fault xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue" xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2" xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
-<corecom:FaultNotification>
<corecom:ReportingDateTime>

2012-12-04T19:18:57.769+00:00

</corecom:ReportingDateTime>
<corecom:CorrectiveAction/>
-<corecom:FaultMessage>
<Code>

XPathExecutionError

</Code>
<Text>

XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/AddTargetSystemID.xsl',bpws:getVariableData('ProcessEcoReqMsg','ProcessEcoEBM')).
The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/ProcessEcoproductProvABCSImpl_rev1.0/xsl/AddTargetSystemID.xsl<Line 55, Column 72>: XML-22044: (Error) Extension function error: Error invoking 'getSystemType':'oracle.fabric.common.xml.xpath.XPathFunctionException: java.lang.NullPointerException'.
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.

</Text>
<corecom:Severity/>
<corecom:Stack/>
</corecom:FaultMessage>
-<corecom:FaultingService>
<corecom:ID>

ProcessEcoproductProvABCSImplProcess

</corecom:ID>
<corecom:ImplementationCode>

BPEL

</corecom:ImplementationCode>
<corecom:InstanceID>

40001

</corecom:InstanceID>
<corecom:ExecutionContextID>

ed7909f11a0705d8:3e0a1192:13b65848baa:-8000-000000000000a004

</corecom:ExecutionContextID>
</corecom:FaultingService>
</corecom:FaultNotification>
</Fault>
</part>
</AIAAsyncErrorHandlingBPELProcessRequestMessage>
</input>
-<fault>

-<bpelFault>
<faultType>

0

</faultType>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>

oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException

</summary>
</part>
-<part name="detail">
<detail>

null

</detail>
</part>
-<part name="code">
<code>

null

</code>
</part>
</remoteFault>
</bpelFault>
</fault>
-<faultType>

<message>

0

</message>
</faultType>
</messages>
  • 1. Re: unable to invoke the AIAAsyncErrorHandlingBPELProcess
    vladodias Guru
    Currently Being Moderated
    Hi,

    In the file AddTargetSystemID.xsl there is a xpath with the funcion getSystemType that is giving NPE.

    I don't know this getSystemType function, is that a custom-made function? The problem is probably there...

    Cheers,
    Vlad
  • 2. Re: unable to invoke the AIAAsyncErrorHandlingBPELProcess
    972017 Newbie
    Currently Being Moderated
    Hi vladodias ,

    Thanku for responding.

    Here when i test my requsABCS and ProvABCS in EM iget below Error:


    The selected operation ProcessEco could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException
    Hide Additional Trace Information:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:301) 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:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:802) ... 79 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1040) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:826) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) ... 82 more


    when i check process flow in transform activty(RequstABCS),assignActivty(proviABCS) i get this error:
    The following exception occurred while attempting to execute operation copy at line 426
    -<parsererror>

    XML Parsing Error: junk after document element
    Location: http://localhost:7001/em/ai/sca/share/audit/nfdg/displayInstance.jsp?locatorobjkey=Farm_base_domainbase_domainEcoAdminServersoa-infra&instanceid=bpel%3A40001
    Line Number 7, Column 1:

    <sourcetext>

    <root class="javax.xml.xpath.XPathExpressionException">oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/ProcessEcoproductProvABCSImpl_rev1.0/xsl/AddTargetSystemID.xsl&lt;Line 55, Column 72&gt;: XML-22044: (Error) Extension function error: Error invoking &apos;getSystemType&apos;:&apos;oracle.fabric.common.xml.xpath.XPathFunctionException: java.lang.NullPointerException&apos;<stack><f>oracle.xml.xpath.JXPathExpression.evaluate#242</f><f>com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate#247</f><f>com.collaxa.cube.engine.ext.bpel.common.BPELWMPHelper.evalFromValue#350</f><f>com.collaxa.cube.engine.ext.bpel.v1.wmp.BPEL1AssignWMP.__executeStatements#138</f><f>com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform#166</f><f>com.collaxa.cube.engine.CubeEngine.performActivity#2687</f><f>com.collaxa.cube.engine.CubeEngine._handleWorkItem#1190</f><f>com.collaxa.cube.engine.CubeEngine.handleWorkItem#1093</f><f>com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal#76</f><f>com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage#218</f><f>com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory#297</f><f>com.collaxa.cube.engine.CubeEngine.endRequest#4609</f><f>com.collaxa.cube.engine.CubeEngine.endRequest#4540</f><f>com.collaxa.cube.engine.CubeEngine._createAndInvoke#713</f><f>com.collaxa.cube.engine.CubeEngine.createAndInvoke#560</f><f>com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke#103</f><f>...</f></stack></root>
    ^

    </sourcetext>
    </parsererror>
    and i get error Invok nvoke_AIAAsyncErrorHandlingBPELProcess i get previos error please help me on it
    Thanku,
    Ram
  • 3. Re: unable to invoke the AIAAsyncErrorHandlingBPELProcess
    vladodias Guru
    Currently Being Moderated
    oramds:/deployed-composites/default/ProcessEcoproductProvABCSImpl_rev1.0/xsl/ AddTargetSystemID.xsl --- Line 55, Column 72
    Do you have access to that source code?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points