code typeo results in null content exception reporting from DispatchImpl
------------------------------------------------------------------------
Key: CXF-489
URL: https://issues.apache.org/jira/browse/CXF-489
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 2.0-M1
Environment: all
Reporter: Gary Tully
Priority: Minor
Small typo in DispatchImpl:~145[1] results in null message for thrown
exception. If clause checks Content but throw does not. Trivial fix required.
if (message.getContent(Exception.class) != null) {
throw new RuntimeException(message.get(Exception.class));
}
should be accessing non null getContent for the throw I guess.
[1]
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java?view=markup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.