Cliffs: If you encounter MDS-00013 exception referring to a .jpx file after refactoring an ADF BC project, check for references within your projects that has an invalid reference.
Complex refactoring can be a daunting task with ADF! A tough lesson learned when I attempted to refactor a package structure for a set of ADF BC files (Vos,Eos,AMs). After which I encountered the following exception upon running my jsf pages:
oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/org/mskcc/team/common/model/Model.jpx"
Since there is no mechanism within JDeveloper (18.104.22.168) that I know of to refactor the Model.jpx file, I had to move it manually into a new directory structure, i.e. from /org/mskcc/team/common/model/Model.jpx to /org/mskcc/common/model/Model.jpx. The problem was that there are other files which reference this .jpx file, one of which turns out to be one of many bc4j.xcfg files. Closer inspection of the generated code reveals the cause of the error:
<AppModuleConfig name="CommonAppModuleLocal" … jbo.project="org.mskcc.team.common.model.Model” …>
Which can be easily fixed by replacing the jbo.project attribute with the right value.
Another tip is to use the “Find in files” dialog to search for text within files.
review the results and open the code to check for invalid references.
My JDeveloper version: 22.214.171.124