My Oracle Support Banner

JBO-25036 Error After Configuration.releaseRootApplicationModule() (Doc ID 566820.1)

Last updated on FEBRUARY 02, 2016

Applies to:

Oracle JDeveloper - Version 10.1.3.3.0 to 11.1.1.6.0 [Release Oracle10g to Oracle11g]
Information in this document applies to any platform.
***Checked for relevance on 18-Feb-2013***


Symptoms

Running the following code fails with an error JBO-25036:

...
ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
ViewObject vo = am.findViewObject("yourViewObject");
Configuration.releaseRootApplicationModule(am,true);

vo.setNamedWhereClauseParam("yourBindVariable","aValue");
vo.executeQuery();
...


The full error stack trace is the following:

Exception in thread "main" oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name <yourViewObject>
at oracle.jbo.server.ViewObjectImpl.getSyncLock(ViewObjectImpl.java:421)
at oracle.jbo.server.ViewObjectImpl.getDefaultRowSet(ViewObjectImpl.java:1161)
at oracle.jbo.server.ViewObjectImpl.setNamedWhereClauseParam(ViewObjectImpl.java:1610)
...



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.