4 Replies Latest reply: Aug 30, 2013 1:55 AM by Sushant Sharma RSS

    JDeveloper IDE: Developer Mode Error

    Arpita Chakrabarty

      Hi All,

       

      I am facing an issue after launcing JDEV through /jdevbin/NT/1223_db2dbg_17007206 (JDeveloper IDE for Release 12.2.3 Dev Build 2).

      I am getting developer mode error after launcing my application. For the error to perish, we need to disable the same by :

      Go Project Properties -> Oracle Applications -> Run Options and remove OADeveloperMode from the selected list.

       

      However the OADeveloperMode option is not visible at project properties. Any idea on how to disable the option through any other means or any workarounds.

      The profile “FND:Developer Mode” is already set to No in site level in environment. I am still seeing the Developer Mode error in jdev.

       

      Thanks in advance.

       

      Regards,

      Arpita

        • 1. Re: JDeveloper IDE: Developer Mode Error
          Shddn

          What error you are getting. Developer mode exception comes when something is
          incorrect in your code.

          Can you please check why you need to suppress the message instead of
          correcting the code. If all is fine with your code and message are still coming please tell the messages.

           

          Regards

          Shobhit S

          • 2. Re: JDeveloper IDE: Developer Mode Error
            Arpita Chakrabarty

            Hi Shobit,

             

            Error message :

            (This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:822) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1857) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1891) at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.setAttributeValue(OAWebBeanFormElementHelper.java:2108) at oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean.setAttributeValue(OAMessageLovInputBean.java:616) at oracle.cabo.ui.beans.form.TextInputBean.setRequired(TextInputBean.java:441) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:743) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursive(ClientUtil.java:704) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.setPageReadOnly(ClaimUpdateCO.java:425) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.processFormRequest(ClaimUpdateCO.java:239) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1241) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3113) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1897) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:558) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:446) at _OA._jspService(_OA.java:72) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662)

             

             

             

            This error part of the file (oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO) present in the error message is an already existing code.

             

            Now the problem with solving this issues may end up solving many other issues. I am also not sure that my solving one part will fix it or not.

            If you can please help me with suppressing the option how we used to do that earlier via jdev, then I can move ahead with my changes and test them.

             

            Thanks,

            Arpita

            • 3. Re: JDeveloper IDE: Developer Mode Error
              Shddn

              Arpita,

               

              This sound infeasible. you need to check the class ClaimUpdateCO and see in processFormRequest you are setting value of any UI bean element.

               

              Regards

               

              Shobhit S

              • 4. Re: JDeveloper IDE: Developer Mode Error
                Sushant Sharma

                Hi,

                 

                If you have a requirement to modify web bean properties in processFormRequest() or processFormData(), bind the property to implementation of oracle.apps.fnd.framework.webui.OADataBoundValueViewObject in processRequest() and then modify the underlying view row attribute value to ensure that the property value changes.


                --Sushant