Adam Bien's Weblog

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 workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.

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