JBO-25036 Error After Configuration.releaseRootApplicationModule()

(Doc ID 566820.1)

Last updated on FEBRUARY 02, 2016

Applies to:

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


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

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


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)


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