You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Tom Cunningham (JIRA)" <ju...@ws.apache.org> on 2010/04/15 16:14:48 UTC

[jira] Created: (JUDDI-385) juddi client request handler does not handle wrapped exceptions correctly

juddi client request handler does not handle wrapped exceptions correctly
-------------------------------------------------------------------------

                 Key: JUDDI-385
                 URL: https://issues.apache.org/jira/browse/JUDDI-385
             Project: jUDDI
          Issue Type: Bug
          Components: core
    Affects Versions: 3.0.2
            Reporter: Tom Cunningham
            Assignee: Tom Cunningham
             Fix For: 3.0.2


juddi client doesn't handle wrapped exceptions correctly - it is resulting in grabbing a null message from the caught exception, which then causes a NPE when we try to URLEncode the message.       The end result is that the caller is passed a wrapped NPE rather than the actual juddi error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JUDDI-385) juddi client request handler does not handle wrapped exceptions correctly

Posted by "Tom Cunningham (JIRA)" <ju...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/JUDDI-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Cunningham resolved JUDDI-385.
----------------------------------

    Resolution: Fixed

Protect against NPE in URLEncoder.encode and return the message from the base exception.

> juddi client request handler does not handle wrapped exceptions correctly
> -------------------------------------------------------------------------
>
>                 Key: JUDDI-385
>                 URL: https://issues.apache.org/jira/browse/JUDDI-385
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0.2
>            Reporter: Tom Cunningham
>            Assignee: Tom Cunningham
>             Fix For: 3.0.2
>
>
> juddi client doesn't handle wrapped exceptions correctly - it is resulting in grabbing a null message from the caught exception, which then causes a NPE when we try to URLEncode the message.       The end result is that the caller is passed a wrapped NPE rather than the actual juddi error message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira