ADF 11.1.1.3.0: Application Throws Error "oracle.jbo.server.ViewRowSetImpl cannot be cast to oracle.jbo.Row" (Doc ID 1278962.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle JDeveloper - Version 11.1.1.0.0 to 11.1.1.3.0
Information in this document applies to any platform.

Symptoms

In JDeveloper 11.1.1.3.0 getting intermittent errors like the following:

<DebugDiagnostic><print> [11879] DBG: afterActionPerformed :CreateInsert
<DebugDiagnostic><print> [11880] DBG: beforeActionPerformed :setAsInvoice
<DCUtil><findSpelObject> [11881] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PurchaseInvoiceAppModuleDataControl
<JUCtrlActionBinding><doIt> [11882] Invoke method Action:999
<DCInvokeMethod><invokeMethod> [11883] DCInvokeMethod:Invoking bindings.EditPurchaseInvoiceView1Iterator.currentRow.setAsInvoice()
<DCBindingContainer><reportException> [11884] DCBindingContainer.reportException :oracle.jbo.AttrValException
<DCBindingContainer><reportException> [11885] oracle.jbo.AttrValException: JBO-27019: The get method for attribute "PoDocumentTypeLOV1" in EditPurchaseInvoiceView1 cannot be resolved.
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:845)
at oracle.jbo.server.ViewRowImpl.findOrCreateViewAccessorRS(ViewRowImpl.java:2437)
at oracle.jbo.server.ViewRowImpl.getListBindingRSI(ViewRowImpl.java:2383)
at oracle.jbo.server.ViewRowImpl.getListBindings(ViewRowImpl.java:2113)
at oracle.jbo.server.ViewRowStorage.resetChangedListBindingCriteria(ViewRowStorage.java:2307)
at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2145)
at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1955)
at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1383)
Caused by: java.lang.ClassCastException: oracle.jbo.server.ViewRowSetImpl cannot be cast to oracle.jbo.Row
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:826)
... 84 more
## Detail 0 ##
java.lang.ClassCastException: oracle.jbo.server.ViewRowSetImpl cannot be cast to oracle.jbo.Row
at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:826)
at oracle.jbo.server.ViewRowImpl.findOrCreateViewAccessorRS(ViewRowImpl.java:2437)
at oracle.jbo.server.ViewRowImpl.getListBindingRSI(ViewRowImpl.java:2383)
at oracle.jbo.server.ViewRowImpl.getListBindings(ViewRowImpl.java:2113)
at oracle.jbo.server.ViewRowStorage.resetChangedListBindingCriteria(ViewRowStorage.java:2307)
at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:2145)
at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1955)
at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1383)


You can reproduce these errors when unsetting the ADF BC Application Module Pool with jbo.ampool.doampooling=false as explained in the following note:

<Document 417546.1> - How To Reproduce Problems Related to AM Passivation / Activation

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