Friday, August 28, 2009

OA Framework Issue.

Issue 1:
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/ncrx/xmlpublisher/server/EmpPG; at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1006) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at _oa__html._OA._jspService(_OA.java:84) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187) at _oa__html._RF._jspService(_RF.java:102) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:619)## Detail 0 ## Exception: oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ncrx/xmlpublisher/server/EmpPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository. at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350) at oracle.adf.mds.MElement.findElement(MElement.java:97) at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1006) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at _oa__html._OA._jspService(_OA.java:84) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187) at _oa__html._RF._jspService(_RF.java:102) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:619) Exception: oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ncrx/xmlpublisher/server/EmpPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository. at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350) at oracle.adf.mds.MElement.findElement(MElement.java:97) at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719) at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1006) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430) at _oa__html._OA._jspService(_OA.java:84) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187) at _oa__html._RF._jspService(_RF.java:102) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:619)

Solution: The Page not found on the server. Please check the path or check how you are running the Import command.

Issue 2: Wrongly assigned responsibility key to user in ERP.
Exception Details. oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility. (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:158) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at _test__fwktutorial._jspService(test_fwktutorial.jsp:45) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139) 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:797) at java.lang.Thread.run(Thread.java:534)

Solution: Please check the responsibility key and username. somehow it has been wrongly assigned.

Issue 3:

page error out -Error
You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
All Framework Pages should have a Function defined on the page when MAC Lite is enabled and the URL MAC Check fails.

Solution: This come generally when session got inactive.
Please navigate to project settings --> Runner --> JAVA options

-Xbootclasspath/p:\HOME\jdevbin\jdev\appslibrt\ojdbc14.jar;D:\HOME\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=1000 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m

Increase the size of value DFND_JDBC_STMT_CACHE_SIZE to 5000.

2 comments:

  1. Hi,

    im trying to extend the timecard container by adding extra Lov "location"displaying location name . actually im downloading the timecard layout file and making necessary changes and uploading the file using FNDLOAD.i have created a new view object, lov region and its attributes .

    After uploading the definition (layout) , i could see the lov ,but when i click on it , im getting the following error.pls
    assistance need in resolving it.

    error:
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.hxc.selfservice.server.CustomLovAM of type ApplicationModule not found
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:2149)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
    at _OA._jspService(_OA.java:212)

    layout file:
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout - Location"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "LOCATION"
    REGION_CODE = "MY_CUSTOM_AK_PROMPT_REGION"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_CUI_LOCATION_LABEL"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "240"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"


    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Location"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "CustomLocationVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_LOCATION_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "HxcCuiLocationCode|LOCATION-DISPLAY|CRITERIA|N|HxcCuiLocationId|LOCATION|RESULT|N|HxcCuiLocationCode|LOCATION-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "LocationCode"
    QUALIFIER_ATTRIBUTE9 = "LocationId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "my.custom.server.CustomLocationVO"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "LOCATION"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS


    END HXC_LAYOUT_COMPONENTS

    view object used
    select location_id,location_code from hr_locations

    ReplyDelete
  2. Hi Ajay,

    we are getting below error while open purchase requisition notification page.(R12.2.11)

    can you please help on this
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.adf.mds.internal.MetadataManagerBase.findRelative(MetadataManagerBase.java:1591)
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1498)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2680)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:1471)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.createWebBean(OAWebBeanFactoryImpl.java:1506)
    at oracle.apps.fnd.wf.worklist.webui.BeanUtils.createWebBean(BeanUtils.java:186)
    at oracle.apps.fnd.wf.worklist.webui.BeanUtils.createWebBean(BeanUtils.java:196)
    at oracle.apps.fnd.wf.worklist.webui.NtfUtil.createWebBean(NtfUtil.java:3765)
    at oracle.apps.fnd.wf.worklist.webui.NtfUtil.getFwkRegion(NtfUtil.java:4499)
    at oracle.apps.fnd.wf.worklist.webui.NtfDetailsBodyCO.processElement(NtfDetailsBodyCO.java:536)
    at oracle.apps.fnd.wf.worklist.webui.NtfDetailsBodyCO.createFwkRegions(NtfDetailsBodyCO.java:408)

    ReplyDelete