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


NEW online workshop: WebStandards Igniter (online)

Airport MUC workshops: Java EE 8, Java 9: Bootstrap, Effective, Architectures, Single Page Apps, Progressive Web Apps, HTML 5, ES 6, CSS 3 and Microservices

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

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
realworldpatterns.com
Online Workshops
...the last 150 posts
...the last 10 comments
License