Oracle Bolivia Specialists
Tuesday, June 09, 2009
 

Solved: oracle.jbo.NoDefException: JBO-25058: Definition xxx of type Attribute not found in xxx


Note: I didn't refactor neither done intentionally a change, as I remember (this is my test proyect where I'm testing)

I got the message

oracle.jbo.NoDefException: JBO-25058: Definition RfdRef of type Attribute not found in RfdRef


First try:
I dropped rfdRef in view and entity, and then I got the following message, for the other field


oracle.jbo.NoDefException: JBO-25058: Definition RfdDesc of type Attribute not found in RfdDesc

at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:512)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:2539)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getType(FacesCtrlAttrsBinding.java:106)
at oracle.adfinternal.view.faces.model.AdfELResolver.getType(AdfELResolver.java:55)
at javax.el.CompositeELResolver.getType(CompositeELResolver.java:215)
Truncated. see log file for complete stacktrace
oracle.jbo.NoObjException: JBO-25003: Object AppModuleDataControl of type View Object not found
at oracle.adf.model.binding.DCIteratorBinding.getViewObject(DCIteratorBinding.java:1478)
at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1660)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1625)
at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1601)
at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4202)
Truncated. see log file for complete stacktrace

Note:
going to bindings in my jspx page, I note when I tried to create an atribute value, the attribute list was empty.
 

I restore backup

Second Try I remember I was checking the  abmPageDef.xml 

And found two difference.


iterator Binds="RefDefView1" RangeSize="25""
iterator Binds="AppModuleDataControl" RangeSize="25""

ChangeEventPolicy="ppr"/>
ChangeEventPolicy="ppr" RowCountThreshold="0"/>

I restored backup of the file  abmPageDef.xml  and all is ok.




Other occurrence of the same error.

I got the same error, and after it, an error indicating in the view wasn't the primary key on a field is not and never had been a primary key, I synchronized the entity with the database, and all is ok (right click on entity Synchronize with Database...)

Labels:

 
Comments: Post a Comment



<< Home
Blogs About Oracle and Java

ARCHIVES
October 2006 / November 2006 / January 2007 / June 2009 / August 2012 / December 2012 /


Powered by Blogger