You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/06 10:40:26 UTC

[jira] [Commented] (GROOVY-7546) Misleasing error message for null + something-that-is-not-a-string

    [ https://issues.apache.org/jira/browse/GROOVY-7546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944703#comment-14944703 ] 

ASF GitHub Bot commented on GROOVY-7546:
----------------------------------------

GitHub user PascalSchumacher opened a pull request:

    https://github.com/apache/incubator-groovy/pull/128

    GROOVY-7546: fix NullPointerException message when trying to add non-…

    …null objects to null
    
    Created out of patch https://issues.apache.org/jira/browse/GROOVY-7546 submitted by Jochen Kemnade

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/PascalSchumacher/incubator-groovy GROOVY-7546

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-groovy/pull/128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #128
    
----
commit 9399f5cff9a482aeca8beacf3a92747408c80c3d
Author: Jochen Kemnade <jo...@eddyson.de>
Date:   2015-08-12T13:47:58Z

    GROOVY-7546: fix NullPointerException message when trying to add non-null objects to null

----


> Misleasing error message for null + something-that-is-not-a-string
> ------------------------------------------------------------------
>
>                 Key: GROOVY-7546
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7546
>             Project: Groovy
>          Issue Type: Improvement
>    Affects Versions: 2.4.5
>            Reporter: Jochen Kemnade
>            Priority: Minor
>              Labels: patch-available
>         Attachments: 0001-GROOVY-7546-fix-NullPointerException-message-when-tr.patch
>
>
> {noformat}
> groovy:000> null + 1
> Cannot execute null+null
> groovy:000> null + []
> Cannot execute null+null
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)