[jira] Created: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

View: New views
10 Messages — Rating Filter:   Alert me  

[jira] Created: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

NPE in ScriptException implementation when the wrapped exception doesn't have a message
---------------------------------------------------------------------------------------

                 Key: LIVETRIBE-71
                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
             Project: LiveTribe
          Issue Type: Bug
    Affects Versions: JSR223 2.0.5
            Reporter: Vincent Massol


The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera reassigned LIVETRIBE-71:
-------------------------------------

    Assignee: Alan Cabrera

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Work started: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on LIVETRIBE-71 started by Alan Cabrera.

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188949#action_188949 ]

Alan Cabrera commented on LIVETRIBE-71:
---------------------------------------

Would it be ok if it returned a empty string in this case?

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera updated LIVETRIBE-71:
----------------------------------

    Fix Version/s: JSR223 2.0.6

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-71.
-----------------------------------

    Resolution: Fixed

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Resolved: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera resolved LIVETRIBE-71.
-----------------------------------

    Resolution: Fixed

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188952#action_188952 ]

Vincent Massol commented on LIVETRIBE-71:
-----------------------------------------

Well I think the expectation is to return null if there's no message:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html#getMessage%28%29


> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188953#action_188953 ]

Vincent Massol commented on LIVETRIBE-71:
-----------------------------------------

Anyway anything is better than a NPE. Thanks for fixing this quickly :)


> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (LIVETRIBE-71) NPE in ScriptException implementation when the wrapped exception doesn't have a message

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/LIVETRIBE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188959#action_188959 ]

Alan Cabrera commented on LIVETRIBE-71:
---------------------------------------

Released in v2.0.6.  Thanks for the report!

> NPE in ScriptException implementation when the wrapped exception doesn't have a message
> ---------------------------------------------------------------------------------------
>
>                 Key: LIVETRIBE-71
>                 URL: http://jira.codehaus.org/browse/LIVETRIBE-71
>             Project: LiveTribe
>          Issue Type: Bug
>    Affects Versions: JSR223 2.0.5
>            Reporter: Vincent Massol
>            Assignee: Alan Cabrera
>             Fix For: JSR223 2.0.6
>
>
> The ScriptException.getMessage() implementation is wrong. It should return null when the wrapped exception doesn't have a message instead of generating a NPE.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email