Axis
  1. Axis
  2. AXIS-1674

NullPointerException on WebLogic81

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2RC2
    • Fix Version/s: 1.2
    • Component/s: Basic Architecture
    • Labels:
      None
    • Environment:
      WebLogic 8.1.3,java.runtime.version=1.4.2_04

      Description

      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)

      1. cvsdiff.log
        5 kB
        Dominik Kacprzak
      2. AXIS-1674.tar.gz
        11 kB
        Dominik Kacprzak

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12553331 ] jira [ 12576280 ]
        Mark Thomas made changes -
        Workflow jira [ 38489 ] Default workflow, editable Closed status [ 12553331 ]
        Dominik Kacprzak made changes -
        Attachment cvsdiff.log [ 18407 ]
        Hide
        Dominik Kacprzak added a comment -

        AJ,

        you brought up a very good point. Yes, I agree with you that the exception is a bit cryptic. Don't even ask me how many hours I spent trying to debug this problem. Unfortunately, there might me more places in Axis where such exception could occur therefore I decided to go with a more generic approach. I updated happyaxis page to detect which version of SAAJ API is available in the classpath. If SAAJ API is available but does not pass the test, happyaxis reports an error.

        A patch (cvs diff -u output) is attached.

        • Dominik
        Show
        Dominik Kacprzak added a comment - AJ, you brought up a very good point. Yes, I agree with you that the exception is a bit cryptic. Don't even ask me how many hours I spent trying to debug this problem. Unfortunately, there might me more places in Axis where such exception could occur therefore I decided to go with a more generic approach. I updated happyaxis page to detect which version of SAAJ API is available in the classpath. If SAAJ API is available but does not pass the test, happyaxis reports an error. A patch (cvs diff -u output) is attached. Dominik
        Hide
        AJ Banck added a comment -

        Hi, I did use the latest from cvs (as can be seen from the stacktrace) and did follow your saaj guidelines.
        Today I found there was another saaj.jar loaded even before webservices.jar causing the problems.
        Looks like removing that jar seems to 'fix' the problem.

        Comments:

        • Setting <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml of the Axis application does not seem to work for me. I tried a few times and only placing the correct saaj.jar in front of webservices.jar in the classpath works.
        • Having the wrong SOAPPart implementation does not give any feedback, only throws a nullpointer exception when trying to do a call.

        Did you create a seperate bug for this issue? Maybe there can be some check that throws a more meaningfull exception.

        Show
        AJ Banck added a comment - Hi, I did use the latest from cvs (as can be seen from the stacktrace) and did follow your saaj guidelines. Today I found there was another saaj.jar loaded even before webservices.jar causing the problems. Looks like removing that jar seems to 'fix' the problem. Comments: Setting <prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml of the Axis application does not seem to work for me. I tried a few times and only placing the correct saaj.jar in front of webservices.jar in the classpath works. Having the wrong SOAPPart implementation does not give any feedback, only throws a nullpointer exception when trying to do a call. Did you create a seperate bug for this issue? Maybe there can be some check that throws a more meaningfull exception.
        Hide
        Dominik Kacprzak added a comment -

        AJ,

        The exception you got is very likely caused by a conflict between Axis' saaj.jar and WebLogic's webservices.jar. Please take a look at the installation guide. There is a section that explains how to configure Axis 1.2 on WebLogic 8.1. Use the CVS copy since it's been updated a few hours ago.

        Let us know if it works,

        • Dominik
        Show
        Dominik Kacprzak added a comment - AJ, The exception you got is very likely caused by a conflict between Axis' saaj.jar and WebLogic's webservices.jar. Please take a look at the installation guide. There is a section that explains how to configure Axis 1.2 on WebLogic 8.1. Use the CVS copy since it's been updated a few hours ago. Let us know if it works, Dominik
        Hide
        AJ Banck added a comment -

        Now I can call simple messages, but when trying a method with an parameter I still get a Nullpointer exception, now in MessageElement.addTextNode. Note that I pasted two stacktraces, first one is printed as debug output from the catch statement, so is a catched exception.

        2004-12-09 14:49:49,470 DEBUG [DeserializationContext]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        Exit:
        DeserializationContext::endElement()
        2004-12-09 14:49:49,517 DEBUG [XMLUtils]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        Failed to set Entity
        Resolver to null on DocumentBuilder
        java.lang.NullPointerException
        at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolver.java:61)
        at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBuilder.java:168)
        at org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(Ljavax.xml.parsers.DocumentBuilder;)V(XMLUtils.java:243)
        at org.apache.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtils.java:335)
        at org.apache.axis.utils.XMLUtils.StringToElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lorg.w3c.dom.Element;(XMLUtils.java:515)
        at org.apache.axis.AxisFault.addFaultDetail(Ljavax.xml.namespace.QName;Ljava.lang.String;)V(AxisFault.java:654)
        at org.apache.axis.AxisFault.addHostname(Ljava.lang.String;)V(AxisFault.java:888)
        at org.apache.axis.AxisFault.addHostnameIfNeeded()V(AxisFault.java:877)
        at org.apache.axis.AxisFault.initFromException(Ljava.lang.Exception;)V(AxisFault.java:280)
        at org.apache.axis.AxisFault.<init>(Ljava.lang.Exception;)V(AxisFault.java:181)
        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)
        2004-12-09 14:49:49,517 DEBUG [ProjectResourceBundle]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        org.apache.axis.i18n.resource::handleGetObject(axisFault00)
        2004-12-09 14:49:49,517 DEBUG [EXCEPTIONS]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        AxisFault:
        2004-12-09 14:49:49,563 DEBUG [NSStack]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        NSPush (32)
        2004-12-09 14:49:49,563 DEBUG [ProjectResourceBundle]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        org.apache.axis.i18n.resource::handleGetObject(empty00)
        2004-12-09 14:49:49,563 DEBUG [NSStack]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        NSPop (empty)
        2004-12-09 14:49:49,563 DEBUG [NSStack]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        NSPush (32)
        2004-12-09 14:49:49,563 DEBUG [ProjectResourceBundle]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        org.apache.axis.i18n.resource::handleGetObject(empty00)
        2004-12-09 14:49:49,563 DEBUG [NSStack]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        NSPop (empty)
        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:1087)
        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:227)
        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:1087)
        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:227)
        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)
        2004-12-09 14:49:49,610 DEBUG [SOAPPart]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        Enter: SOAPPart ctor(FORM_FAULT)
        2004-12-09 14:49:49,610 DEBUG [ProjectResourceBundle]

        {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'}

        org.apache.axis.i18n.resource::handleGetObject(setMsgForm)

        Show
        AJ Banck added a comment - Now I can call simple messages, but when trying a method with an parameter I still get a Nullpointer exception, now in MessageElement.addTextNode. Note that I pasted two stacktraces, first one is printed as debug output from the catch statement, so is a catched exception. 2004-12-09 14:49:49,470 DEBUG [DeserializationContext] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} Exit: DeserializationContext::endElement() 2004-12-09 14:49:49,517 DEBUG [XMLUtils] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} Failed to set Entity Resolver to null on DocumentBuilder java.lang.NullPointerException at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolver.java:61) at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBuilder.java:168) at org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(Ljavax.xml.parsers.DocumentBuilder;)V(XMLUtils.java:243) at org.apache.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtils.java:335) at org.apache.axis.utils.XMLUtils.StringToElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lorg.w3c.dom.Element;(XMLUtils.java:515) at org.apache.axis.AxisFault.addFaultDetail(Ljavax.xml.namespace.QName;Ljava.lang.String;)V(AxisFault.java:654) at org.apache.axis.AxisFault.addHostname(Ljava.lang.String;)V(AxisFault.java:888) at org.apache.axis.AxisFault.addHostnameIfNeeded()V(AxisFault.java:877) at org.apache.axis.AxisFault.initFromException(Ljava.lang.Exception;)V(AxisFault.java:280) at org.apache.axis.AxisFault.<init>(Ljava.lang.Exception;)V(AxisFault.java:181) 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) 2004-12-09 14:49:49,517 DEBUG [ProjectResourceBundle] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} org.apache.axis.i18n.resource::handleGetObject(axisFault00) 2004-12-09 14:49:49,517 DEBUG [EXCEPTIONS] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} AxisFault: 2004-12-09 14:49:49,563 DEBUG [NSStack] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} NSPush (32) 2004-12-09 14:49:49,563 DEBUG [ProjectResourceBundle] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} org.apache.axis.i18n.resource::handleGetObject(empty00) 2004-12-09 14:49:49,563 DEBUG [NSStack] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} NSPop (empty) 2004-12-09 14:49:49,563 DEBUG [NSStack] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} NSPush (32) 2004-12-09 14:49:49,563 DEBUG [ProjectResourceBundle] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} org.apache.axis.i18n.resource::handleGetObject(empty00) 2004-12-09 14:49:49,563 DEBUG [NSStack] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} NSPop (empty) 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:1087) 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:227) 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:1087) 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:227) 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) 2004-12-09 14:49:49,610 DEBUG [SOAPPart] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} Enter: SOAPPart ctor(FORM_FAULT) 2004-12-09 14:49:49,610 DEBUG [ProjectResourceBundle] {ExecuteThread: '14' for queue: 'weblogic.kernel.Default'} org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
        Tom Jordahl made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.2 [ 10971 ]
        Hide
        Tom Jordahl added a comment -

        Applied the patch from Dominik.

        Show
        Tom Jordahl added a comment - Applied the patch from Dominik.
        Hide
        Dominik Kacprzak added a comment -

        I should have mentioned that Axis' saaj.jar conflicts with WL's webservices.jar because WL declares SOAPPart interface as defined in Java Web Services Developer Pack Version 1.0 - (http://java.sun.com/webservices/docs/1.0/api/javax/xml/soap/SOAPPart.html). Axis declaration of javax.xml.soap.SOAPPart is based on J2EE 1.4.

        • Dominik
        Show
        Dominik Kacprzak added a comment - I should have mentioned that Axis' saaj.jar conflicts with WL's webservices.jar because WL declares SOAPPart interface as defined in Java Web Services Developer Pack Version 1.0 - ( http://java.sun.com/webservices/docs/1.0/api/javax/xml/soap/SOAPPart.html ). Axis declaration of javax.xml.soap.SOAPPart is based on J2EE 1.4. Dominik
        Dominik Kacprzak made changes -
        Attachment AXIS-1674.tar.gz [ 18310 ]
        Hide
        Dominik Kacprzak added a comment -

        As Dims noticed earlier, this issue is caused by a weblogic.xml.jaxp.RegistryDocumentBuilder not allowing for null values to be passed to setEntityResolver. The attached patch adds a few more catch statements along the lines of what Dims already did. I also added log.debug to the catch statements.
        With my patch, I was able to access ?wsdl URLs, deploy/undeploy and use a few sample applications. All tests pass.
        My environment:

        • WL: WebLogic Server 8.1 SP3
        • Java: BEA WebLogic JRockit(TM) 1.4.2_04
        • OS: Linux Fedora 3: 2.6.9-1.681_FC3

        On a side note, Axis 1.2 does not work out of the box on Weblogic 8.1 due to a conflict between classes in Axis saaj.jar and Weblogic's webservices.jar. I documented this issue and the configuration changes required to get Axis to work on Weblogic in a README file included with my patch. This should be documented somehow in Axis 1.2 release notes and/or in a wiki. If my README file does not provide sufficient information, please let me know.

        • Dominik
        Show
        Dominik Kacprzak added a comment - As Dims noticed earlier, this issue is caused by a weblogic.xml.jaxp.RegistryDocumentBuilder not allowing for null values to be passed to setEntityResolver. The attached patch adds a few more catch statements along the lines of what Dims already did. I also added log.debug to the catch statements. With my patch, I was able to access ?wsdl URLs, deploy/undeploy and use a few sample applications. All tests pass. My environment: WL: WebLogic Server 8.1 SP3 Java: BEA WebLogic JRockit(TM) 1.4.2_04 OS: Linux Fedora 3: 2.6.9-1.681_FC3 On a side note, Axis 1.2 does not work out of the box on Weblogic 8.1 due to a conflict between classes in Axis saaj.jar and Weblogic's webservices.jar. I documented this issue and the configuration changes required to get Axis to work on Weblogic in a README file included with my patch. This should be documented somehow in Axis 1.2 release notes and/or in a wiki. If my README file does not provide sufficient information, please let me know. Dominik
        Hide
        AJ Banck added a comment -

        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)

        Show
        AJ Banck added a comment - 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)
        Hide
        Davanum Srinivas added a comment -

        AJ,

        can you please add more try/catch'es and submit a patch?

        thanks,
        dims

        Show
        Davanum Srinivas added a comment - AJ, can you please add more try/catch'es and submit a patch? thanks, dims
        Davanum Srinivas made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Davanum Srinivas added a comment -

        looks like there are more locations where we have to add try/catch.

        Show
        Davanum Srinivas added a comment - looks like there are more locations where we have to add try/catch.
        Hide
        AJ Banck added a comment -

        Still getting an exception on WebLogic 813 related to setEntityResolver, now in newDocument[336]:

        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 weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolver.java:61)
        at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBuilder.java:168)
        at org.apache.axis.utils.XMLUtils.newDocument(Lorg.xml.sax.InputSource;)Lorg.w3c.dom.Document;(XMLUtils.java:336)
        at org.apache.axis.utils.XMLUtils.newDocument(Ljava.io.InputStream;)Lorg.w3c.dom.Document;(XMLUtils.java:357)
        at com.informatica.ias.api4.framework.axis.InfWSDLClasspathProvider.generateWSDL(Lorg.apache.axis.MessageContext;)V(InfWSDLClasspathProvider.java:70)
        at com.informatica.ias.api4.framework.axis.InfAPIAxisHandler.generateWSDL(Lorg.apache.axis.MessageContext;)V(InfAPIAxisHandler.java:46)
        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.HandlerIterationStrategy;)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:316)
        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)
        at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at org.apache.axis.transport.http.AxisServlet.processQuery(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljava.io.PrintWriter;)Z(AxisServlet.java:1140)
        at org.apache.axis.transport.http.AxisServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet.java:241)
        at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740)
        at org.apache.axis.transport.http.AxisServletBase.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServletBase.java:301)

        Show
        AJ Banck added a comment - Still getting an exception on WebLogic 813 related to setEntityResolver, now in newDocument [336] : 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 weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolver.java:61) at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBuilder.java:168) at org.apache.axis.utils.XMLUtils.newDocument(Lorg.xml.sax.InputSource;)Lorg.w3c.dom.Document;(XMLUtils.java:336) at org.apache.axis.utils.XMLUtils.newDocument(Ljava.io.InputStream;)Lorg.w3c.dom.Document;(XMLUtils.java:357) at com.informatica.ias.api4.framework.axis.InfWSDLClasspathProvider.generateWSDL(Lorg.apache.axis.MessageContext;)V(InfWSDLClasspathProvider.java:70) at com.informatica.ias.api4.framework.axis.InfAPIAxisHandler.generateWSDL(Lorg.apache.axis.MessageContext;)V(InfAPIAxisHandler.java:46) 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.HandlerIterationStrategy;)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:316) 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) at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) at org.apache.axis.transport.http.AxisServlet.processQuery(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;Ljava.io.PrintWriter;)Z(AxisServlet.java:1140) at org.apache.axis.transport.http.AxisServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServlet.java:241) at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(HttpServlet.java:740) at org.apache.axis.transport.http.AxisServletBase.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(AxisServletBase.java:301)
        Davanum Srinivas made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Davanum Srinivas added a comment -

        added a try/catch around the call.

        – dims

        Show
        Davanum Srinivas added a comment - added a try/catch around the call. – dims
        AJ Banck created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            AJ Banck
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development