# 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
