This discussion is archived
4 Replies Latest reply: Nov 9, 2012 6:42 AM by Alejandro Tovar Lanz RSS

RowKeySet error after migrating to Jdeveloper 11.1.2

616341 Newbie
Currently Being Moderated
We migrated our applications from Jdev 11.1.1.5 to 11.1.2. We encounter several issues. For some of them we found work around. Not for this one though.
Consider a jsff page with a table. A commandLink inside a column has to call a popup.
We get the error whenever we call a taskflow in an inline popup that contains a jsf page.The error does NOT occur if the popup is part of the page (showPopupBehavior).

The error shows only in console and even it does not cause crash, it sounds dangerous.

Code extracts:

this is causing the error:

<af:column sortProperty="BreakdownSupName" sortable="true" headerText="Name" id="c19">
<af:commandImageLink text="#{row.BreakdownSupName}" id="cilEditBv" partialSubmit="true"
action="editNonContractVendor" useWindow="true"
windowEmbedStyle="inlineDocument" windowHeight="435" windowWidth="500"
returnListener="#{backingBeanScope.vendorManagerBackingBean.editBreakdownVendorCommandImageLink_ReturnListener}">
<af:setPropertyListener from="#{row.BreakdownSupId}" to="#{pageFlowScope.supId}"
type="action"/>
<af:setPropertyListener from="#{pageFlowScope.vendorManagerPageFlow.readOnly}"
to="#{pageFlowScope.readOnly}" type="action"/>
</af:commandImageLink>
</af:column>

this is Not causing the error:
<af:column sortProperty="WoNumber" sortable="false" headerText="Reference" id="c1" width="80">
<af:commandLink text="#{row.WoNumber}" id="cl2" partialSubmit="true"
rendered="#{row.SupinvtypCode ne 'MISCINV'}">
<af:showPopupBehavior popupId="::popupROEdit" triggerType="click"/>
<af:clientAttribute name="completionDate" value="#{row.CompletionDate}"/>
<af:clientAttribute name="wouniId" value="#{row.WouniId}"/>
<af:clientAttribute name="worordId" value="#{row.WorordId}"/>
<af:clientAttribute name="equEquId" value="#{row.EquEquId}"/>
<af:clientAttribute name="repinvstaCode" value="#{row.RepinvstaCode}"/>
</af:commandLink>
</af:column>

here is the error in the console:
<RowKeySetAttributeChange$GetOldValueAndUpdate> <_updateKeySet> Failed to apply row key set attribute change. Reason : {1}
java.lang.NullPointerException
     at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.<init>(JUCtrlHierNodeBinding.java:212)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.<init>(FacesCtrlHierNodeBinding.java:71)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.createNodeBinding(FacesCtrlHierBinding.java:104)
     at oracle.jbo.uicli.binding.JUCtrlHierBinding.createRootBinding(JUCtrlHierBinding.java:410)
     at oracle.jbo.uicli.binding.JUCtrlHierBinding.getRootNodeBinding(JUCtrlHierBinding.java:97)
     at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$HierCurrencyRowKeySet.getRowIterator(FacesCtrlHierBinding.java:1421)
     at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet._computeCurrentRowKey(CurrencyRowKeySet.java:125)
     at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet.iterator(CurrencyRowKeySet.java:41)
     at java.util.AbstractCollection.addAll(AbstractCollection.java:303)
     at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange$GetOldValueAndUpdate._updateKeySet(RowKeySetAttributeChange.java:136)
     at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange$GetOldValueAndUpdate.invokeContextCallback(RowKeySetAttributeChange.java:117)
     at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1170)
     at oracle.adf.view.rich.component.rich.data.RichTable.invokeOnComponent(RichTable.java:620)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1693)
     at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:625)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:222)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
     at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
     at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1299)
     at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:677)
     at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange._updateRowKeySetInPlace(RowKeySetAttributeChange.java:86)
     at org.apache.myfaces.trinidad.change.RowKeySetAttributeChange.changeComponent(RowKeySetAttributeChange.java:53)
     at org.apache.myfaces.trinidad.change.SessionChangeManager._applyComponentChanges(SessionChangeManager.java:399)
     at org.apache.myfaces.trinidad.change.SessionChangeManager.applyComponentChangesForCurrentView(SessionChangeManager.java:73)
     at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:343)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
     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:173)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
     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:180)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     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:136)
     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)

I appreciate any input on this issue.
Thank you,

Monica

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points