axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1925) Null pointer in Jboss and Axis
Date Mon, 18 Apr 2005 17:18:05 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1925?page=all ]
     
Davanum Srinivas resolved AXIS-1925:
------------------------------------

    Resolution: Cannot Reproduce

Please try using Axis 1.2 RC3 and i will reopen the bug if this still exists. (and please
submit a full test case to recreate the problem)

thanks,
dims

> Null pointer in Jboss and Axis
> ------------------------------
>
>          Key: AXIS-1925
>          URL: http://issues.apache.org/jira/browse/AXIS-1925
>      Project: Axis
>         Type: Bug
>     Versions: 1.1
>  Environment: Windows XP Pro, Jboss 4.0.1, JDK 1.4.2_07, IBM Thinkpad T41
>     Reporter: Igor Pustylnick

>
> I'm trying to run Axis as a client from JBoss to connect to outside service, written
in C++ for gSoap. If I do it for standalone Java App, all calls work fine and I get back result
message. If I run the same code from within JBoss, I get a null pointer exception (stack trace
provided). 
> I copied all libraries from classpath to $JBOSS_HOME\server\default\lib.  I check logs
on the server side and I'm sure that call from axis doesn't reach the service. 
> All stubs and locators are generated by wsdl2java. 
> ===Stack Trace===
> 2005-04-12 15:56:47,041 INFO  [STDOUT] java.lang.NullPointerException
> 2005-04-12 15:56:47,041 INFO  [STDOUT] 	at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.Message.getContentType(Message.java:399)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:341)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.Call.invoke(Call.java:2553)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.Call.invoke(Call.java:2248)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.Call.invoke(Call.java:2171)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.client.Call.invoke(Call.java:1691)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at com.adminserver.utl.sc.VSS.VssAccessStub.checkout(VssAccessStub.java:117)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at com.adminserver.utl.sc.VSSClient.checkOut(VSSClient.java:44)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at com.adminserver.bll.VersionControlBllBean.checkOutRule(VersionControlBllBean.java:90)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at java.lang.reflect.Method.invoke(Method.java:324)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.ejb.Container.invoke(Container.java:870)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown
Source)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at java.lang.reflect.Method.invoke(Method.java:324)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:115)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:101)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at $Proxy534.checkOutRule(Unknown Source)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at com.adminserver.uip.BusinessRulesActionUip.execute(BusinessRulesActionUip.java:118)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at java.lang.Thread.run(Thread.java:534)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] Caused by: java.lang.NullPointerException
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.encoding.SerializationContextImpl.getTypeMapping(SerializationContextImpl.java:376)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1207)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:795)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.RPCParam.serialize(RPCParam.java:225)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:387)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:174)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.message.MessageElement.output(MessageElement.java:783)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:270)
> 2005-04-12 15:56:47,051 INFO  [STDOUT] 	... 92 more
> === End Stack trace====

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message