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/25 16:28:53 UTC
DO NOT REPLY [Bug 18321] New: -
NullPointerException with Faults in early invocation stages
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=18321>.
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=18321
NullPointerException with Faults in early invocation stages
Summary: NullPointerException with Faults in early invocation
stages
Product: Axis
Version: current (nightly)
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@ws.apache.org
ReportedBy: Oliver.Adler@syracom.de
A AxisFault throw in a early stage of invocation causes a NPE in SOAPFault.
The following call:
if (! cls.equals(AxisFault.class)) {
FaultDesc faultDesc =
context.getMessageContext().getOperation
().getFaultByClass(cls);
works only if a operation is set. In early invocation stages is this not
guranteed.
I would suggest the attached patch.