NoRowAvailableException in Administration Console of Custom Portal when Editing the 2nd Navigation Model (Doc ID 1631746.1)

Last updated on DECEMBER 01, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.7.1 and later
Information in this document applies to any platform.

Symptoms

The following popup error is thrown when editing one navigation object after the other in the Administration Console of a custom Portal:

javax.faces.model.NoRowAvailableException
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #2

and the log in the console was the following:

<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #2
javax.faces.model.NoRowAvailableException
    at javax.faces.model.ListDataModel.getRowData(ListDataModel.java:150)
    at org.apache.myfaces.trinidad.model.SortableModel.getRowData(SortableModel.java:71)
    at org.apache.myfaces.trinidad.model.ChildPropertyTreeModel.getRowData(ChildPropertyTreeModel.java:216)
    at org.apache.myfaces.trinidad.model.ChildPropertyTreeModel.isContainer(ChildPropertyTreeModel.java:228)
    at oracle.adfinternal.view.faces.model.FlattenedTreeCollectionModel.modifyExpanded(FlattenedTreeCollectionModel.java:501)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.initModel(TreeRendererUtils.java:306)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.wrapModel(TreeRendererUtils.java:547)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.getCollectionObject(TreeRendererUtils.java:347)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.getCollectionObject(TreeTableRenderer.java:778)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.storeHeightAutosized(TableRenderer.java:2806)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:592)
    at oracle.adfinternal.view.faces.renderkit.rich.TreeTableRenderer.encodeAll(TreeTableRenderer.java:606)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)
...
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


Steps to Reproduce:

  1. In a new portal application create 2 navigation models:
    - testNavigationModel
       Shows a Navigation:
          testNavigationModel
          -> Page1
              -> Page2
                  -> Page3
    Then shows the navigation source.

    - testNavigationModel2
      Shows a Navigation:
         testNavigationModel2
          -> Page1
            -> Page2
               ->Page3
                 -> Page4
                   -> Page5
    Then shows the navigation source. 
  2. Turn off iterative development.
  3. Deploy the portal and go to the Admin area.
  4. Go to Navigations and select testNavigation2 and select Edit.
  5. Expand the nodes on the 2nd child.
    Shows that the following is all opened in testNavigation2
    Page3
       -> Page4
         -> Page5
  6. Click OK and go to testNavigationModel. Open it for editing. A NoRowAvailableException exception will be thrown.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms