af:query: NoDefException: JBO-25058 When Adding And Removing Fields For Attributes Containing LOV

(Doc ID 1180853.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle JDeveloper - Version: 11.1.1.3.0 and later   [Release: and later ]
Information in this document applies to any platform.
***Checked for relevance on 25-Feb-2012***

Symptoms

In JDeveloper 11.1.1.3.0, you created an ADF BC View Object with a named View Criteria.
You have used this View Criteria to create an af:query component with table.

The problem occurs when running the page, after the end user adds and then removes a search field in the "Advanced" mode, when that field contains an attribute with a list of value;
navigating away to another page and then coming back to the first page, raises the following exception:

oracle.jbo.NoDefException: JBO-25058: Definition __vcrow_indexed_attribute__JobId_0 of type Attribute is not found in AppModule_EmployeesVO1_findByNameVC_929.
at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:6446)
at oracle.adf.model.bc4j.DCJboDataControl.getAttributeDefs(DCJboDataControl.java:2577)
at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3147)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:484)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:436)
at oracle.jbo.uicli.binding.JUCtrlListBinding.getAttributeDefs(JUCtrlListBinding.java:2732)
at oracle.jbo.uicli.binding.JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:816)
at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2447)
at oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:338)
at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:825)
at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:666)
at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:474)
at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:872)
at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:175)
at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3574)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2791)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3011)
...
<Utils><buildFacesMessage> ADF: Adding the following JSF error message: Definition __vcrow_indexed_attribute__JobId_0 of type Attribute is not found in AppModule_EmployeesVO1_findByNameVC_929.
oracle.jbo.NoDefException: JBO-25058: Definition __vcrow_indexed_attribute__JobId_0 of type Attribute is not found in AppModule_EmployeesVO1_findByNameVC_929.
at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:6446)
at oracle.adf.model.bc4j.DCJboDataControl.getAttributeDefs(DCJboDataControl.java:2577)
...
(same stack trace displayed 5 times)
...


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