1 Reply Latest reply on Jan 6, 2006 6:13 AM by Thomas Diesler

    Error processing response handler chain

    Björn Bredohl Newbie

      I write a c++ Webserviceclient.
      This program get informations from the webservice, works with them, and put the result back to the webservice. It send's a double[].
      All data are saved in a database. With small arrays (for example 100 elements) everything works fine, and the result will be saved in my database. But when the double array has for example over 35.000 elements (and this is not much), I get after the deserialization (which takes a long time) the following error message:

      19:30:55,523 ERROR [ServiceEndpointInterceptor] Error processing response handler chain
      javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:603)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:149)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
       at org.jboss.ejb.Container.invoke(Container.java:917)
       at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144)
       at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327)
       at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
       at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
       at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
       at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
       at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
       at org.jboss.webservice.server.ServerEngine.access$000(ServerEngine.java:48)
       at org.jboss.webservice.server.ServerEngine$1.run(ServerEngine.java:87)
      Caused by: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:593)
       ... 30 more
      19:30:55,525 ERROR [LogInterceptor] RuntimeException in method: public abstract void de.gbf.genome.j2ee.transformer.webservices.TransformerWSSEI.setTransSequence3(de.gbf.genome.j2ee.transformer.webservices.DoubleArr,java.lang.String,java.lang.String) throws java.rmi.RemoteException:
      javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:603)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:149)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
       at org.jboss.ejb.Container.invoke(Container.java:917)
       at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144)
       at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327)
       at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
       at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
       at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
       at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
       at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
       at org.jboss.webservice.server.ServerEngine.access$000(ServerEngine.java:48)
       at org.jboss.webservice.server.ServerEngine$1.run(ServerEngine.java:87)
      Caused by: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:593)
       ... 30 more
      19:30:55,528 ERROR [ServerEngine] Asyncronous Server error: AxisFault
       faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
       faultSubcode:
       faultString: RuntimeException; nested exception is:
       javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
       faultActor:
       faultNode:
       faultDetail:
       {http://xml.apache.org/axis/}stackTrace: java.rmi.ServerException: RuntimeException; nested exception is:
       javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
       at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:400)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:210)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
       at org.jboss.ejb.Container.invoke(Container.java:917)
       at sun.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144)
       at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327)
       at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176)
       at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
       at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
       at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
       at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
       at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
       at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
       at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
       at org.jboss.webservice.server.ServerEngine.access$000(ServerEngine.java:48)
       at org.jboss.webservice.server.ServerEngine$1.run(ServerEngine.java:87)
      Caused by: javax.xml.rpc.JAXRPCException: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:603)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:149)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
       ... 23 more
      Caused by: java.lang.NullPointerException
       at org.jboss.axis.providers.java.RPCInvocation.prepareResponseEnvelope(RPCInvocation.java:593)
       ... 30 more
      


      How can I solve this Problem? I use the JBoss Application Server 4.0.4beta (build: CVSTag=Branch_4_0 date=200512190823)

      Thanks for your help