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

ASF subversion and git services commented on TAP5-2529:
-------------------------------------------------------

Commit 4d9557a2a303a1cadc944cc79108f6950cc8941e in tapestry-5's branch 
refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=4d9557a ]

TAP5-2529: fix NullPointerException when joining a list with a single null 
element


> NullPointerException in 
> org.apache.tapestry5.ioc.internal.util.InternalUtils.join(List)
> ---------------------------------------------------------------------------------------
>
>                 Key: TAP5-2529
>                 URL: https://issues.apache.org/jira/browse/TAP5-2529
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>             Fix For: 5.4.1
>
>
> {{InternalUtils.join(Collections.singletonList(null))}} throws a 
> {{NullPointerException}} because it tries to call {{null.toString()}}:
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
>       at 
> org.apache.tapestry5.ioc.internal.util.InternalCommonsUtils.join(InternalCommonsUtils.java:268)
>       at 
> org.apache.tapestry5.ioc.internal.util.InternalCommonsUtils.join(InternalCommonsUtils.java:248)
>       at 
> org.apache.tapestry5.ioc.internal.util.InternalUtils.join(InternalUtils.java:395)
> {noformat}



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

Reply via email to