axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indrit Lavoro <indritselimilav...@yahoo.it>
Subject [Axis 1.4] Probable classloading problem?
Date Wed, 16 Dec 2009 10:47:49 GMT
Environment:
Java 1.5
Axis 1.4 based client generated via WSDL2Java
Websphere Application Server 6.1


I have the following "strange" problem, some times (too often) on a server restart all calls
to the web service fail with the stack trace reported in the bottom of this e-mail.
Currently, I need to restart n-times my server until the problem is resolved, for this reason
I started to think that it was related with potential class loading problem but I have already
checked all dependencies and everything seems right at this moment. 
Apparently the problem is related to the xml parsing but I have already checked that the xml
returned by the server is correctly formatted. 

Any of you has a similar problem? Advices?

Thank you very much in advance.

Indrit

[12/15/09 18:07:33:389 CET] 00000030 
SystemOut     O WARN  AttachmentsImpl - Exception:
AxisFault
 faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: 
java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
        
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
        at 
org.apache.axis.encoding.SerializationContext.startElement(SerializationContext.java:1150)
        at 
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:121)
        at 
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
        at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
        at 
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:680)
        at 
org.apache.axis.message.MessageElement.outputImpl(MessageElement.java:1247)
        at 
org.apache.axis.message.SOAPHeaderElement.outputImpl(SOAPHeaderElement.java:250)
        at 
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at 
org.apache.axis.message.SOAPHeader.outputImpl(SOAPHeader.java:328)
        at 
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:476)
        at 
org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
        at 
org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
        at 
org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at 
org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
        at 
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
        at 
org.apache.axis.Message.getContentType(Message.java:486)
        at 
org.apache.axis.transport.http.CommonsHTTPSender.addContextInfo(CommonsHTTPSender.java:502)
        at 
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:159)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
        at 
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at 
org.apache.axis.client.Call.invoke(Call.java:2767)
        at 
org.apache.axis.client.Call.invoke(Call.java:2443)
        at 
org.apache.axis.client.Call.invoke(Call.java:2366)
        at 
org.apache.axis.client.Call.invoke(Call.java:1812)
.....

java.lang.NullPointerException
        at 
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at 
org..apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
        at 
org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
        at 
org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
        at 
org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
        at 
org.apache.axis.Message.getContentType(Message.java:486)
        at 
org.apache.axis.transport.http.CommonsHTTPSender.addContextInfo(CommonsHTTPSender.java:502)
        at 
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:159)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)




      
Mime
View raw message