You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Trasca Virgil <vi...@yahoo.com> on 2008/01/17 18:56:50 UTC

Re: WSAS-603 - I am getting the same stack exception -- Still reproductible

Hi,

       I took the latest nightly build axis2.war and the issue is still apearing for me. Here is the stacktrace I get:

[java] java.lang.NullPointerException
     [java] at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:468)
     [java] at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:230)
     [java] at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:173)
     [java] at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:439)
     [java] at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:193)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:851)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:885)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:856)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:885)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:856)
     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:885)
     [java] at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:457)
     [java] at org.apache.axis2.transport.http.ApplicationXMLFormatter.writeTo(ApplicationXMLFormatter.java:142)
     [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:294)
     [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:211)
     [java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:419)
     [java] at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:43)
     [java] at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
     [java] at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:148)
     [java] at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
     [java] at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:129)
     [java] at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:803)
     [java] at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:243)
     [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
     [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     [java] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
     [java] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
     [java] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
     [java] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
     [java] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
     [java] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
     [java] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
     [java] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
     [java] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
     [java] at org.mortbay.jetty.Server.handle(Server.java:324)
     [java] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
     [java] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
     [java] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
     [java] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
     [java] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
     [java] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
     [java] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)

Please suggest what to do.

Thank you,
Virgil
----- Original Message ----
From: Lahiru Sandakith <sa...@gmail.com>
To: axis-dev@ws.apache.org
Sent: Thursday, January 17, 2008 12:26:52 PM
Subject: Re: WSAS-603 - I am getting the same stack exception


Hi Vergil, 

The issue was fixed in the svn trunk and can you please verify with the axis2 nightly build, and get back to us.

Also this will be available in the next Axis2 and therefore WSAS also.

Thanks 

Lahiru Sandakith.


On Jan 17, 2008 2:30 PM, Afkham Azeez <af...@gmail.com> wrote:

It should be the same issue since  it is the same Axis2 that is used by WSAS. Please try out the Axis2 nightly build at http://people.apache.org/dist/axis2/nightly/



Thanks
Azeez


On Jan 17, 2008 1:49 PM, Trasca Virgil <virgil_trasca@yahoo.com
> wrote:

Hi Azeez,

 

       Sorry for insisting so much. I am not using WSAS 2.1 only axis2.war 1.3. Because of that I want you to confirm me that what I found is the same issue (as I am using 
Axis1.3 and you are saying about wsas). Also if it is the same issue I am intersted when it will be fixed in Axis2.war as I am using this one and not WSAS. I assume it will be fixed in Axis2 1.4. 


 

When will 1.4 be released? Till then is it possible that you will send me an updated jar file that will contain the fix so I can test it?

 

Thank you,

Virgil



----- Original Message ----
From: Afkham Azeez <af...@gmail.com>


To: axis-dev@ws.apache.org


Sent: Thursday, January 17, 2008 8:29:38 AM
Subject: Re: WSAS-603 - I am getting the same stack exception



Hi Virgil,
WSAS is an enterprise ready Web services engine powered by Apache Axis2. You could deploy Axis2 Web services on WSAS and also there are many more value additions. The JIRA you cited is related to this product. In fact, the WSAS 
2.1 release was based on Axis2 1.3, and the next 2.2 release contains many bug fixes to Axis2 including the issue you cited.


For further information see:

1. http://wso2.com/products/wsas/
2. 
https://wso2.org/projects/wsas/java

3. http://wso2.org/library/821

Thanks
Azeez


On Jan 17, 2008 11:44 AM, Trasca Virgil <vi...@yahoo.com> wrote:




Hi,

      What is WSAS? I am using Axis2 1.3 & ADB and I get this exception stack. Can you confirm me that the issue I found is the same like 


http://wso2.org/jira/browse/WSAS-603?

Thank you,
Virgil






----- Original Message ----
From: Afkham Azeez <afkham@gmail.com
>

To: axis-dev@ws.apache.org
Sent: Thursday, January 17, 2008 7:29:15 AM
Subject: Re: WSAS-603 - I am getting the same stack exception



FYI, issue WSAS-603 has been fixed. The WSAS 2.2 release will be available next week. You will be able to download it from https://wso2.org/projects/wsas/java
. You could also check this out in the nightly build.


Thanks
Azeez


On Jan 17, 2008 12:00 AM, Trasca Virgil <vi...@yahoo.com> wrote:



Hi all,

      I found this issue 

http://wso2.org/jira/browse/WSAS-603



While calling a deployed (jetty) web service I am getting a very similar stack

 [java] java.lang.NullPointerException
     [java] at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:468)


     [java] at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:230)
     [java] at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(
MTOMXMLStreamWriter.java:137)

     [java] at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:420)
     [java] at 
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:172)

     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:780)
     [java] at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814)

     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:785)
     [java] at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814)

     [java] at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:785)
     [java] at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814)

     [java] at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:421)
     [java] at org.apache.axis2.transport.http.ApplicationXMLFormatter.writeTo
(ApplicationXMLFormatter.java:114)

     [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:294)
     [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java
:211)

     [java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
     [java] at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:43)
     [java] at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)

     [java] at
 org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
     [java] at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125)
     [java] at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest
(RESTUtil.java:119)

     [java] at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799)
     [java] at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242)
     [java] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

     [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)


Is this the same issue? How can I solve this problem?

Thank you,
Virgil








-- 
Thanks
Afkham
 Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760 












-- 
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760













-- 
Thanks
Afkham Azeez

http://www.wso2.org


GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760






-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F