You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/18 16:50:38 UTC

DO NOT REPLY [Bug 18108] New: - SOAPEnvelope constructor passes unexpectedly null arguments

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18108

SOAPEnvelope constructor passes unexpectedly null arguments

           Summary: SOAPEnvelope constructor passes unexpectedly null
                    arguments
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: fzapsrcf001@sneakemail.com


test.message seems to fail on CDATA and comments.  I'm attaching a patch to
message.SOAPEnvelope that seems to fix it.

There were 2 errors:
1)
testCDATASection(test.message.TestJavaSerialization)java.lang.NullPointerException
        at org.apache.axis.message.SOAPHeader.<init>(SOAPHeader.java:95)
        at org.apache.axis.message.SOAPEnvelope.<init>(SOAPEnvelope.java:152)
        at
test.message.TestJavaSerialization.testCDATASection(TestJavaSerialization.java:148)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2) testComments(test.message.TestJavaSerialization)java.lang.NullPointerException
        at org.apache.axis.message.SOAPHeader.<init>(SOAPHeader.java:95)
        at org.apache.axis.message.SOAPEnvelope.<init>(SOAPEnvelope.java:152)
        at
test.message.TestJavaSerialization.testComments(TestJavaSerialization.java:184)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

FAILURES!!!
Tests run: 22,  Failures: 0,  Errors: 2