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=14570>.
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=14570

NullPointer on getBodyByName call





------- Additional Comments From [EMAIL PROTECTED]  2002-11-14 21:32 -------
Here is a simple codesample to reproduce the problem.

        public void testNullpointer() throws Exception{
                SOAPEnvelope env=new SOAPEnvelope();
                SOAPBodyElement bdy=new SOAPBodyElement();
                bdy.setName("testResponse");
                env.addBodyElement(bdy);
                Message msg=new Message(env);
                //This throws the nullpointer
                msg.getSOAPEnvelope().getBodyByName(null,"testResponse");
        }

Reply via email to