2 Replies Latest reply: Jul 25, 2013 3:33 AM by Tshifhiwa RSS

    java.lang.ArrayIndexOutOfBoundsException:

    Tshifhiwa

      hi my database table primary key have change to have 3 collumn as promary key now when i run my appliation am geting this error i have synchronize my entity and update my views

      am in jdeveloper 11.1.1.6.0,i test this in my test model its working fine but when i run my jsff application am geting error

      ava.lang.ArrayIndexOutOfBoundsException: 0

          at oracle.adf.model.binding.DCIteratorBinding.reserveRowWithKey(DCIteratorBinding.java:3950)

          at oracle.jbo.uicli.binding.JUIteratorBinding.reserveRowWithKey(JUIteratorBinding.java:483)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.setupRegionIteratorBinding(JUCtrlHierNodeBinding.java:2259)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getRegionBinding(JUCtrlHierNodeBinding.java:2217)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getBindings(JUCtrlHierNodeBinding.java:2060)

          at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalGet(JUCtrlHierNodeBinding.java:1520)

          at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.internalGet(FacesCtrlHierNodeBinding.java:119)

          at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)

          at oracle.adfinternal.view.faces.model.HierNodeBindingELResolver.getValue(HierNodeBindingELResolver.java:52)

          at oracle.adfinternal.view.faces.model.AdfELResolver.getValue(AdfELResolver.java:89)

          at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)

          at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)

          at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)

          at com.sun.el.parser.AstValue.getTarget(Unknown Source)

          at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)

          at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)

          at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)

          at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)

          at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:340)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)

          at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)

          at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1386)

          at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:104)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)

          at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1957)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1618)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1020)

          at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:506)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)

          at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:538)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

          at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:113)

          at org.apache.myfaces.trinidadinternal.context.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:222)

          at org.apache.myfaces.trinidad.component.UIXIterator.visitTree(UIXIterator.java:251)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at oracle.adf.view.rich.component.rich.RichDocument.visitTree(RichDocument.java:198)

          at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)

          at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:43)

          at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:756)

          at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)

          at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3606)

          at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1508)

          at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)

          at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)

          at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

          at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)

          at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)

          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)

          at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)

          at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

          at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

          at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

          at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

          at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

          at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

          at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

          at java.security.AccessController.doPrivileged(Native Method)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

          at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

          at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

          at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)