I'm getting the error:

java.lang.NullPointerException
  |     at 
org.jboss.seam.selectitems.ui.UISeamSelectItems.isCache(UISeamSelectItems.java:64)
  |     at 
org.jboss.seam.selectitems.ui.UISeamSelectItems.evaluateCacheKey(UISeamSelectItems.java:277)
  |     at 
org.jboss.seam.selectitems.ui.UISeamSelectItems.isCacheEnabled(UISeamSelectItems.java:273)
  |     at 
org.jboss.seam.selectitems.ui.UISeamSelectItems.getValue(UISeamSelectItems.java:193)
  |     at 
org.apache.myfaces.trinidadinternal.renderkit.uix.SelectItemSupport.addSelectItems(SelectItemSupport.java:270)
  |     at 
org.apache.myfaces.trinidadinternal.renderkit.uix.SelectItemSupport.getSelectItems(SelectItemSupport.java:90)
  |     at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleSelectOneRenderer.encodeAllAsElement(SimpleSelectOneRenderer.java:255)
  |     at 
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FormElementRenderer.encode

When using the select items tag as follows:

<tr:selectOneChoice id="catalogue" value="#{itemManager.item.catalogue}">
  |                                             <si:selectItems 
value="#{catalogues}" var="catalogue" label="#{catalogue.name}"/>
  |                                             </tr:selectOneChoice> 

It was working fine just before, so it's probably something small.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994163#3994163

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994163
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to