The stack trace does not tell much, the cause could be anything. Could
you be more specific on what you have done please: " tried invoking the
same from a webservice by including this guvnor project as a JAR". You
exposed what as web services? and how?
Cheers,
Jervis
On 2010/8/5 20:40, Vignesh wrote:
Hi,
I have defined a set of rules using DSL and corresponding rules in Guvnor
and i have tested the same using a standalone code which is working fine.
But when i tried invoking the same from a webservice by including this
guvnor project as a JAR Im getting a NullPointerException while sending the
response back from Guvnor to the web service client,
below is the exception stack i got in server side,
ERROR - AxisServlet.doPost(172) |
java.lang.NullPointerException
at
org.apache.axis2.clustering.context.DefaultContextManager.updateContexts(DefaultContextManager.java:81)
at
org.apache.axis2.clustering.context.Replicator.replicate(Replicator.java:81)
at
org.apache.axis2.receivers.AbstractMessageReceiver.replicateState(AbstractMessageReceiver.java:71)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:41)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Http11Protocol.java:588)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:595)
and the below is the exception stack in client side,
org.apache.axis2.AxisFault: java.lang.NullPointerException
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at org.tempuri.Service1Stub.CheckEntitlement(Service1Stub.java:740)
at ws.client.testClient.main(testClient.java:73)
If any one has faced similar issue and fixed the same, please help me out it
resolving the same or any pointers for fixing this issue would be of great
helpful.
Thanks,
Vignesh