[ https://issues.apache.org/jira/browse/WW-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart resolved WW-3942.
-------------------------------
Resolution: Fixed
Assignee: Lukasz Lenart
Done, thanks for reporting
> NullPointerException in IteratorComponent
> -----------------------------------------
>
> Key: WW-3942
> URL: https://issues.apache.org/jira/browse/WW-3942
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.3.7
> Reporter: Charles Galpin
> Assignee: Lukasz Lenart
> Fix For: 2.3.8
>
>
> We get a NullPointerException from line 383 of IteratorComponent.java. The line is currently
> return value != null ? values.get(nextIndex) : nextIndex;
> and I believe it should be
> return values != null ? values.get(nextIndex) : nextIndex;
> values not value.
> Exception below.
> {noformat}
> Exception created : java.lang.NullPointerException
> at org.apache.struts2.components.IteratorComponent$CounterIterator.next(IteratorComponent.java:383)
> at org.apache.struts2.components.IteratorComponent.start(IteratorComponent.java:302)
> at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|