JSF: NullPointerException in SelectItemsIterator.java:478 and the Solution

A NullPointerException at com.sun.faces.renderkit.SelectItemsIterator$GenericObjectSelectItemIterator$GenericObjectSelectItem.updateItem(SelectItemsIterator.java:478) happens in case the itemLabel bound to a null String


 <f:selectItems var="country" itemLabel="#{country}" (...)"/>

Tested with GlassFish v3

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting

Comments:

Hello Adam I hope this message finds you well.

I am currently working on a global project and was wondering if you could help me.

I would love what parameters do you consider are the most important to find the best 10 countries to find java developers.

Posted by Paola on October 04, 2015 at 02:23 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License