4 Replies Latest reply on Jun 11, 2007 5:29 PM by 544280

    FND_VIEWOBJECT_NOT_FOUND error

    544280
      I had a VO (say XyVO1) associated with an AM (e.g ServiceAM).
      I then built pages based on this XyVO1 invoking methods in ServiceAM.

      Later I decided to scrap all those pages and came up with newer pages based on YzVO1 associated with ServiceAM. I removed all the code related to XyVO1 and the older pages in ServiceAM. Deleted the old pages xml files from the project file jpr.

      Now when I run the new pages now, I get the following error pasted below.
      The moment I assign ServiceAM, XyVO1 instance, the error goes away. I made sure that none of the new pages or the ServiceAM references or requires the older XyVO1. I am running the application from the Jdeveloper.

      What could be going wrong?

      Any ideas?

      Thank you very much!

      Arun

      oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XyVO1; APPLICATION_MODULE
      mycompany.oracle.apps.xxsan.invoiceholds.server.ServiceAM;
           at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1969)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
           at OA.jspService(OA.jsp:40)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
           at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
           at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
           at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
           at java.lang.Thread.run(Thread.java:534)
      ## Detail 0 ##
      oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XyVO1; APPLICATION_MODULE mycompany.oracle.apps.xxsan.invoiceholds.server.ServiceAM;
           at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewObject(OADataBoundValueViewObject.java:355)
           at oracle.apps.fnd.framework.webui.OADataBoundValueViewObject.getViewName(OADataBoundValueViewObject.java:221)
           at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBeanProperties(PPRHelper.java:457)
           at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:580)
           at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:698)
           at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForBean(PPRHelper.java:583)
           at oracle.apps.fnd.framework.webui.PPRHelper.addMappingsForChildren(PPRHelper.java:698)
        • 1. Re: FND_VIEWOBJECT_NOT_FOUND error
          557833
          Why don't you grep through your code tree to confirm that all references to old VO has been removed. If grep returns no reference, then we will need to investigate further.

          --Shiv                                                                                                                                                                                                                                                                                                                                                                           
          • 2. Re: FND_VIEWOBJECT_NOT_FOUND error
            544280
            Shiv,

            Yes, I did that too..and..even painstakingly went through the files individually.

            It is weird to see this error occuring. For now, I have a dummy XyVO1 added to the ServiceAM to just get by.

            Thank you,
            Arun
            • 3. Re: FND_VIEWOBJECT_NOT_FOUND error
              555256
              Arun,
              If you are dam sure that there is no refrence of that VO in your code(in java as well as xml), delete all class files in jdev and recompile the project again and run!It should solve your problem, it happens sometimes jdev take refrences of old class files.

              --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
              • 4. Re: FND_VIEWOBJECT_NOT_FOUND error
                544280
                Mukul/Shiv,

                Thank you for the inputs. After greping with recursive flag..I did find one of my regions pointing at XyVO1...to my surprise..since I did textpad search for the XyVO1 as well as grep on the directory with all the ui component files.

                Anyways...I know the primary target to look the next time I see this FND_VIEWOBJECT_NOT_FOUND error.

                Thank you,
                Arun