You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2007/03/26 14:47:32 UTC
[jira] Created: (CXF-489) code typeo results in null content
exception reporting from DispatchImpl
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.
[jira] Assigned: (CXF-489) code typeo results in null content
exception reporting from DispatchImpl
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu reassigned CXF-489:
------------------------------
Assignee: Jervis Liu
> 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
> Assigned To: Jervis Liu
> 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.
[jira] Commented: (CXF-489) code typeo results in null content
exception reporting from DispatchImpl
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484132 ]
Gary Tully commented on CXF-489:
--------------------------------
fix:
cxf_trunk>svn diff rt\frontend\jaxws\src\main\java\org\apache\cxf\jaxws\DispatchImpl.java
Index: rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
===================================================================
--- rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java (revision 518934)
+++ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java (working copy)
@@ -142,7 +142,7 @@
chain.doIntercept(message);
if (message.getContent(Exception.class) != null) {
- throw new RuntimeException(message.get(Exception.class));
+ throw new RuntimeException(message.getContent(Exception.class));
}
// correlate response
cxf_trunk>
> 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.
[jira] Resolved: (CXF-489) code typeo results in null content
exception reporting from DispatchImpl
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu resolved CXF-489.
----------------------------
Resolution: Fixed
> 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
> Assigned To: Jervis Liu
> 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.
[jira] Closed: (CXF-489) code typeo results in null content
exception reporting from DispatchImpl
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu closed CXF-489.
--------------------------
> 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
> Assigned To: Jervis Liu
> 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.