tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2529) NullPointerException in org.apache.tapestry5.ioc.internal.util.InternalUtils.join(List)
Date Wed, 13 Jan 2016 09:26:39 GMT
Jochen Kemnade created TAP5-2529:
------------------------------------

             Summary: 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


{{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)

Mime
View raw message