axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AJ Banck (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1674) NullPointerException on WebLogic81
Date Mon, 29 Nov 2004 14:36:34 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1674?page=comments#action_55973 ]
     
AJ Banck commented on AXIS-1674:
--------------------------------

Tried adding try/catch to the XMLUtils newDocument, getting the wsdl works, but now there
are exceptions with the message. Not sure I am poking at the right position.

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.message.MessageElement.addTextNode(Ljava.lang.String;)Ljavax.xml.soap.SOAPElement;(MessageElement.java:1387)
	at org.apache.axis.message.SOAPHandler.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.apache.axis.encoding.DeserializationContext;)V(SOAPHandler.java:118)
	at org.apache.axis.encoding.DeserializationContext.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContext.java:1083)
	at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;)V(AbstractSAXParser.java:585)
	at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;Z)V(XMLNamespaceBinder.java:898)
	at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;)V(XMLNamespaceBinder.java:644)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentScannerImpl.java:1469)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
	at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
	at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:581)
	at weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
	at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
	at weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.InputSource;)V(WebLogicXMLReader.java:135)
	at weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.InputSource;)V(RegistryXMLReader.java:152)
	at javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;Lorg.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
	at org.apache.axis.encoding.DeserializationContext.parse()V(DeserializationContext.java:226)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope()Lorg.apache.axis.message.SOAPEnvelope;(SOAPPart.java:645)
	at org.apache.axis.Message.getSOAPEnvelope()Lorg.apache.axis.message.SOAPEnvelope;(Message.java:424)
	at org.apache.axis.server.AxisServer.invoke(Lorg.apache.axis.MessageContext;)V(AxisServer.java:279)
	at org.apache.axis.transport.http.AxisServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet.java:661)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
	at org.apache.axis.transport.http.AxisServletBase.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServletBase.java:301)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
	at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.log.InfContextFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfContextFilter.java:69)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.servlet.InfEncodingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfEncodingFilter.java:146)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)

	{http://xml.apache.org/axis/}hostname:nlw157986

java.lang.NullPointerException
	at org.apache.axis.AxisFault.makeFault(Ljava.lang.Exception;)Lorg.apache.axis.AxisFault;(AxisFault.java:101)
	at org.apache.axis.server.AxisServer.invoke(Lorg.apache.axis.MessageContext;)V(AxisServer.java:328)
	at org.apache.axis.transport.http.AxisServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet.java:661)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
	at org.apache.axis.transport.http.AxisServletBase.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServletBase.java:301)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
	at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.log.InfContextFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfContextFilter.java:69)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.servlet.InfEncodingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfEncodingFilter.java:146)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6458)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
	at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
	at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
	at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
	at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.apache.axis.message.MessageElement.addTextNode(Ljava.lang.String;)Ljavax.xml.soap.SOAPElement;(MessageElement.java:1387)
	at org.apache.axis.message.SOAPHandler.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.apache.axis.encoding.DeserializationContext;)V(SOAPHandler.java:118)
	at org.apache.axis.encoding.DeserializationContext.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContext.java:1083)
	at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;)V(AbstractSAXParser.java:585)
	at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;Z)V(XMLNamespaceBinder.java:898)
	at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentations;)V(XMLNamespaceBinder.java:644)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentScannerImpl.java:1469)
	at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
	at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DTDConfiguration.java:525)
	at weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:581)
	at weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apache.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
	at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
	at weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.InputSource;)V(WebLogicXMLReader.java:135)
	at weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.InputSource;)V(RegistryXMLReader.java:152)
	at javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;Lorg.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
	at org.apache.axis.encoding.DeserializationContext.parse()V(DeserializationContext.java:226)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope()Lorg.apache.axis.message.SOAPEnvelope;(SOAPPart.java:645)
	at org.apache.axis.Message.getSOAPEnvelope()Lorg.apache.axis.message.SOAPEnvelope;(Message.java:424)
	at org.apache.axis.server.AxisServer.invoke(Lorg.apache.axis.MessageContext;)V(AxisServer.java:279)
	at org.apache.axis.transport.http.AxisServlet.doPost(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet.java:661)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:760)
	at org.apache.axis.transport.http.AxisServletBase.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServletBase.java:301)
	at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
	at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.log.InfContextFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfContextFilter.java:69)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)
	at com.informatica.servlet.InfEncodingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(InfEncodingFilter.java:146)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27)

> NullPointerException on WebLogic81
> ----------------------------------
>
>          Key: AXIS-1674
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1674
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2RC2
>  Environment: WebLogic 8.1.3,java.runtime.version=1.4.2_04
>     Reporter: AJ Banck
>     Priority: Blocker

>
> After replacing the Axis 1.2RC1 jars with RC2, Axis stopped working on WebLogic 8.1.
Trying to get wsdl or process wsdd throws an NullPointerException. Looking at the exception
looks like this is related to the checkin for AXIS-1597 of XMLUtils.java.
> Stacktrace when trying to access the default http://localhost:7001/ias/api4/services/Version?wsdl
> <Nov 19, 2004 3:12:29 PM CET> <Info> <IAS> <000000> <Mapping
Exception to AxisFault
> java.lang.NullPointerException
>         at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolv
> er.java:61)
>         at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBu
> ilder.java:168)
>         at org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(Ljavax.xml.parsers.DocumentBuilder;)V(XMLUtils.java:235
> )
>         at org.apache.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtils.java:312)
>         at org.apache.axis.wsdl.fromJava.Emitter.createDocumentFragment()V(Emitter.java:924)
>         at org.apache.axis.wsdl.fromJava.Emitter.<init>()V(Emitter.java:233)
>         at org.apache.axis.providers.BasicProvider.generateWSDL(Lorg.apache.axis.MessageContext;)V(BasicProvider.java:17
> 6)
>         at org.apache.axis.strategies.WSDLGenStrategy.visit(Lorg.apache.axis.Handler;Lorg.apache.axis.MessageContext;)V(
> WSDLGenStrategy.java:33)
>         at org.apache.axis.SimpleChain.doVisiting(Lorg.apache.axis.MessageContext;Lorg.apache.axis.HandlerIterationStrat
> egy;)V(SimpleChain.java:118)
>         at org.apache.axis.SimpleChain.generateWSDL(Lorg.apache.axis.MessageContext;)V(SimpleChain.java:104)
>         at org.apache.axis.handlers.soap.SOAPService.generateWSDL(Lorg.apache.axis.MessageContext;)V(SOAPService.java:31
> 6)
>         at org.apache.axis.server.AxisServer.generateWSDL(Lorg.apache.axis.MessageContext;)V(AxisServer.java:467)
>         at org.apache.axis.transport.http.QSWSDLHandler.invoke(Lorg.apache.axis.MessageContext;)V(QSWSDLHandler.java:62)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message