users@glassfish.java.net

JSF with Glassfish Error

From: <glassfish_at_javadesktop.org>
Date: Thu, 29 Jan 2009 07:02:18 PST

Upon a simple JSF value change event, I get the following ArrayIndexOutOfBounds Exception:

/webapp/*:org.apache.shale.remoting.impl.WebResourceProcessor
executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl_at_c702f7) threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
        at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1153)
        at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)
        at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1157)

(etc...)


The JSF code is as follows:
<h:selectOneMenu binding="#{DetailView.activity}" onchange="submit()" valueChangeListener="#{DetailView.activityChanged}">

The event never makes it to the listener. I've tried stripping it down to the point that it is nothing more than a by-the-book example and it doesn't help. Thanks in advance for any advice.

-Scott
[Message sent by forum member 'conradjs' (conradjs)]

http://forums.java.net/jive/thread.jspa?messageID=328945