Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
NPE when unmarshalling invalid request with Jaxb1Marshaller [SWS-260] #417
When unmarshalling an invalid request a NullPointerException occurs in the AbstractStaxXmlReader.
IWA-UM WARN 21-12-2007 09:19:00,009 [WebContainer : 0] (org.springframework.ws.soap.server.SoapMessageDispatcher) | Endpoint invocation resulted in exception - responding with SOAP Fault
Erik-Berndt Scheper commented
I've looked further into this. The NPE occurs exactly at line 70 of AbstractStaxXmlReader, where the following statement is executed:
The original exception (ex) is an XmlStreamException, as expected. But unfortunately ex.getLocation() returns null, so a NPE is produced.
Fortunately this is already fixed in 1.0.3 (as per #380).