2 Replies Latest reply: Oct 10, 2013 9:14 PM by VipinKumar RSS

    oracle.jbo.NoDefException: JBO-25002: For flex View objects.

    VipinKumar

      Hi All,

       

      We are trying to run our Application module after doing some customization in the fusion apps code, these changes are very simple.

      Now to test these changes, we are running seeded Application Module, we are facing certain issues now..

       

       

      racle.jbo.NoDefException: JBO-25002: Definition oracle.apps.financials.assets.sharedSetup.calendars.flex.desc.calendar.view.CalendarTypeVO of type View Definition is not found.

          at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:618)

          at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)

          at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)

          at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:778)

          at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:803)

          at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)

          at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)

          at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)

          at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:494)

          at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)

          at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)

          at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)

          at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2909)

          at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)

          at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2469)

          at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2343)

          at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3242)

          at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)

          at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)

          at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)

          at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)

          at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:862)

          at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)

          at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)

          at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)

          at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)

          at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

       

      [985] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)

      [986] UIMessageBundle (language base) being initialized

      Oct 10, 2013 2:04:14 PM oracle.jbo.jbotester.MainFrame exit

      INFO: BC4J Tester exit code(-3)

      Process exited with exit code -3.

       

       

       

      And this is happening for most of the flex VOs in financials, please let me know if there is any work around.

       

      Thanks

      Vipin Kumar

        • 1. Re: oracle.jbo.NoDefException: JBO-25002: For flex View objects.
          Vik Kumar-Oracle

          Hi Vipin

           

          Does your AM run before making those simple customizations?

           

          Another thing is: this type of missing artifact errors comes up when a library containing those objects is missing from your workspace.

          To fix such issues you should search for the missing artifact by its name and then include it to your project. On searching and including missing artifacts please follow https://blogs.oracle.com/fadevrel/entry/add_adf_library_to_fusion

           

          Hope this helps

          Thanks!

          Vik

          Fusion Developer Relations Team

          http://blogs.oracle.com/fadevrel

          • 2. Re: oracle.jbo.NoDefException: JBO-25002: For flex View objects.
            VipinKumar

            Hi All,

             

            The error coming here is due to the flex artifacts, and these artifact are spread across from the middleware to the database, and from the adf-config.xml, these are picked up from the MDS database.

            Now after making a direct connection to the MDS database using the direct connect string in adf-config, we are able to resolve this, but still I am not sure how to do it without doing this hack.

             

            Adding any library will not going to help as the flex view which I described above, I am able to see in the imports, but afterwards we was getting the same error, until I put a hack in adf-config.

            Thanks for the help, can mark it as close,

             

            for other coming to this forum, please check the adf-config.xml, and make a direct connection to your database. using connect string, if you don't know how to add do please let us know.

             

            Thanks

            Vipin Kumar

            Accenture Capability