Apache SOAP 2.3.1

There seems to be some minor bug in SOAPContext:

1) Create an instance of SOAPContext. --- internal parts is set to null
2) Call setRootPart( MimeBodyPart ) --- rootPartSet was false .. now true.
3) Call setRootPart( MimeBodyPart ) again --- rootPartSet now true, therefore trying to call "parts.removeBodyPart(getRootPart());" ... but parts is still null, throwing a NullPointerException.








Reply via email to