[
https://issues.apache.org/jira/browse/TAP5-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096234#comment-15096234
]
Hudson commented on TAP5-2529:
------------------------------
FAILURE: Integrated in tapestry-trunk-freestyle #1553 (See
[https://builds.apache.org/job/tapestry-trunk-freestyle/1553/])
TAP5-2529: fix NullPointerException when joining a list with a single
(jochen.kemnade: rev 4d9557a2a303a1cadc944cc79108f6950cc8941e)
* tapestry-ioc/src/test/groovy/ioc/specs/InternalUtilsSpec.groovy
*
commons/src/main/java/org/apache/tapestry5/ioc/internal/util/InternalCommonsUtils.java
> 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
> Assignee: 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)