error: java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 14 is out of bounds. It [message #357075] |
Mon, 03 November 2008 15:26 |
vivigrieco
Messages: 2 Registered: October 2008
|
Junior Member |
|
|
I have 2 combobox, both have autosubmit = true.
When I select the second combo, this error occurs:
java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 14 is out of bounds. It should be between 0 and -1
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)
at oracle.adf.view.faces.component.UIXEditableValue.getConvertedValue(UIXEditableValue.java:455)
at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:198)
at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
at oracle.adf.view.faces.component.UIXEditableValue.processDecodes(UIXEditableValue.java:272)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXForm.processDecodes(UIXForm.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at br.com.pdcase.adf.view.faces.webapp.CoreAdfFacesFilter.doFilter(CoreAdfFacesFilter.java:98)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:613)
I found a solution for this (put valuePassThru = "true" in the jsp and reseting the combo in its valueChangeListener)... fine..
my problem is that putting this valuePassThru, after click "find" button, it returns the result, but the combo comes back to the initial value (don't stay selected the value that was selected before click the button). I tried to set the value after click the button, but it didn't work.
help!
|
|
|