[jboss-user] [JBoss Seam] - NullPointer for SeamSelectItems config
dave.rogers
do-not-reply at jboss.com
Fri Dec 15 04:52:31 EST 2006
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
More information about the jboss-user
mailing list