Hi,

I'm seeing Nullpointer exception during wsdl fetch. This eventually
leads to stack over flow. This is mainly due to conncurrent access.

Does any one have any idea on this?  From google search the reason for
this seems to be  

" This is because the WSDL handling system reuses javax.wsdl.Definition
objects across threads, which are not thread safe, because they
internally use DOM elements."

References
 
http://jira.jboss.com/jira/browse/JBWS-419;jsessionid=AA4270C1E4896751CF
2440D7C6696706
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg01292.html


Any idea on this bug? BTW I'm seeing this in  Axis2 1.2


java.lang.NullPointerException
        at org.apache.xerces.dom.ParentNode.nodeListItem(Unknown Source)
        at org.apache.xerces.dom.ParentNode.item(Unknown Source)
        at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
        at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
        at com.ibm.wsdl.util.xml.DOM2Writer.serializeAsXML(Unknown
Source)
        at
com.ibm.wsdl.extensions.schema.SchemaSerializer.marshall(Unknown Source)
        at
com.ibm.wsdl.xml.WSDLWriterImpl.printExtensibilityElements(Unknown
Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printTypes(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown
Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
        at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:848)
        at
org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
gent.java:221)
        at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:225)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St
ubSecurityHelper.java:223)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH
elper.java:125)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2
83)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1
75)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContext.java:3245)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ
letContext.java:2003)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont
ext.java:1909) 

 

Thanks,
Haneef 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to