axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Shershnev" <>
Subject RE: Axis 1.1 bug in SOAPHeaderElement(Element elem) ?
Date Fri, 05 Sep 2003 20:50:29 GMT
So, does anybody know if this is a confirmed bug?

I'm having exactly the same problem.
I create org.w3c.dom.Element from XML string (SAML).


List:     axis-user
Subject:  Axis 1.1 bug in SOAPHeaderElement(Element elem) ?
From:     "Rajvanshi, Shashank" <srajvanshi () netegrity ! com>
Date:     2003-07-31 18:38:38
[Download message RAW]

I am using Axis 1.1 for doing SOAP message handling. I get a
java.lang.NullPointerException at

I looked at the code and it is happening at line where Namespace URI is
being checked without checking if it could be  NULL. It is returning as null
in my environment and as a result it is throwing null pointer exception.
            soapConstants = SOAPConstants.SOAP12_CONSTANTS;

After putting a check to see if it is null, it is working fine.
I think this is a bug unless this method should always return some value.

Any comments?


View raw message