Extended controller bypassed when new regions, AM, VO, CO's attached

Hi All,
I am trying to customise iSupport pages.i.e. UnMatached Invoice page. Requirement is like to default values in Remit to and Cutomer Tax payer id LOV regions(populated all associated fields like form values, items etc).
We had this logic in extended controller of the UnMatched Invoice page. But strangely some times this extended controller is by passed and default value logic does n't work(if the extended Co is not bypassed logic works fine).
Please suggest how to over come this issue. we are in a critical stage of project.
Edited by: user12241604 on Sep 18, 2011 9:11 AM

Can some one quickly respond to my query, as we are in a critical stage of project.
Eagerly waiting for reply

Similar Messages

  • How to test the extended controller and AM Object

    I added a button in a OAF page and extended the CO and AM. When we click this button, an XML Publisher concurrent program should be called and the PO will be displayed in PDF format.
    What is the best way to test this. Should I copy all the libraries from oracle/apps/... to my pc and attach or can I test without doing this. If so, what is the best approach.
    I am new to this.
    Thanks for your Help.
    HP

    I got the code ready for with extended Co java file. How can test this. How to generate the class file. Once I gerenarate the class file, if I ftp the file to cust/oracle/apps/pos/changeorder/webui and in the personalization if I attach this CO and run the page and click the button will this call the new CO? Yes after FTP the Contorller class file to appropriate path and attach the extended controller through personalization New Controller will get called.
    But DO REMEMBER TO BOUNCE THE APPACHE SERVER then only the extended Controller file get called.
    here is the link having steps to bounce it for Apps 11i.
    http://oracleanil.blogspot.com/2009/04/ncrimmessageproc.html
    Please let me know if these steps are correct..
    1. New OAWorkSpace
    2. New Project
    3. right click on project and click New class to generate the extended CO Class.Yes, It is right..
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • I have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. unility says it has found a new base station

    i have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. utility says it has found a new base station and asks if i want to use it. if i click yes, then the old setup is disabled.

    Ok, thanks for clarifying which models you have. Please see the following Apple Support article on how to configure these older base stations for a Wireless Distribution System (WDS).

  • Java.lang.NullPointerException when extending controller

    Hi,
    I am working in Oracle Internet expenses module. My requirement is to check 2 values in a page and if any of them is NULL, i need to throw an error message on the page. Code snippet in the extended controller is:
    (In the method 'processFormRequest')
    1 if("goto".equals(s) && "OIENavBar".equals(s1) && "ExpenseAllocationsPG".equals(s6))
    2 {
    3 if(NavigationUtility.isNextClicked(oapagecontext))
    4 {
    5 if (oapagecontext.getParameter("ProjectId").equals("null") || oapagecontext.getParameter"TaskId").equals("null"))
    6 {
    7 // my logic goes here
    8 }
    9 }
    10 }
    When I use this extended controller, I am getting java.lang.NullPointerException at the line 5. Can someone tell me where I am going wrong?
    Regards,
    Gowthami.

    Hi,
    Change the condition at line5 in the following way.
    5 if ((oapagecontext.getParameter("ProjectId") == null) || (oapagecontext.getParameter("TaskId") == null))
    HTH,
    Syed

  • Child groups disappear when moving new region container

    ADF Business Components 10.1.3.42.70
    JHeadstart 10.1.3.3.81
    all,
    here are the steps to reproduce:
    1. create 2 new region containers(named first and second) in you app def
    2. create a child object to the first container such as another region container
    3. drag drop the first container below the second container
    any child objects below the first container should disappear. this seems to be a bug. if you're careful it's avoidable, but it's easy to lose any previous group or container configuration or ordering if you've already created a bunch of regions and would just like to reorganize them using the region containers.
    paul

    Paul,
    This happens only when you start dragging around a new element that has not been saved before.
    If you click Apply before dragging a newly created element around, it should work fine.
    Nevertheless, I agree it is a bug, and I have put it on the list to fix for R11.
    Steven Davelaar,
    JHeadstart Team.

  • Error while extending controller: class name is wrong or not included

    Hi All,
    I am getting this error while I port my extended controller class to the custom top and assign this controller to the page. I have made sure its the class file that is copied. The directory is correct, the permissions were given using chmod 775. There exists a soft link betwen the custom top and the oracle top as well. What else am I missing here?
    Error: oracle.apps.fnd.framework.OAException: Could not create Java class: (oracle.apps.ap.oie.entry.webui.XXEntryFlowPageCO) associated with region: (GeneralInformationPG). This is probably because the class name is wrong or not included in project.

    :( Started out with that Gyan. If i do give the path with xx. appended to it, it lets me save and when i log back in and there are no changes to the page. I go to the personalise option to find the modification has been overwritten. I was told that this is so because Oracle doesnt recognise the xx.path and since there exists a soft link already the standard path with the new controller name should work.
    i have really tried both of these options and am not sure what could be wrong. thanks for all your attempts to help. anything else i can try?

  • Extending Application Module for ListofValues region

    One of HR pages (ManagerPG.xml) uses the same AM (EmployeeAM) for two ListofValues regions. I am getting "application module already exist" exception when I extend the EmployeeAM.This is a nested AM in the page.
    HR_DIRREPORTS_TAB_LOV_SS and HR_LIST_OF_EMPLOYESS_SS are the Ids of the regions. These two regions uses two different controllers but the same AM. We need to substitute VOs used to display these lists. I have extended EmployeeAM and created new methods to call custom VO methods. I am calling AM.invokemethod from Controller classes. I am able to display custom LOVs on the page but I get the above error with submit button.
    Is it the correct way of extending OAF? I am not sure why I am getting the error, Please help..
    Thanks!
    Srini

    I logged BUG 4448377 on this issue and received the following response.
    ========================
    You are running into bug 4410729.
    If you substitute a "root" application module, you get "Cannot Display Page" error in LOV.
    Root AM substitution is not supported. We have included this in the troubleshooting guide through doc bug 4417751.
    ===========================
    Basically as stated in the BUGs Root AM substitution is not supported in OAF.
    Thanks
    Michael

  • Extended Controller is not working for SalaryCorrectPG.xml page

    Dear All,
    I have a problem with customisation in Oracle's seeded page in HRMS Module.
    The page navigation is as follows:
    Login--->Home Page---->Access Payroll Manager Responsibility------>people--->Enter & Maintain--->search for an employee------>click on Assignment button---->Click on Salary button--->Salary details page will open----->Click on correct button of the salary page.
    Now I have extended the SalaryCorrectVO in the salary correct page under a custom directory (but structure is same as the seeded one)
    and Created one attribute in the SalaryCorrectVO which is showing multiplied value of FTE Salary and FTEFactor in the page.
    Now my concern is in the page there are three fileds(Amount Change, Change %,FTE Salary) which are editable. PPR event is fired when any value
    changes in these 3 fields. Now my extended attribute (xxSalaryCorrectVO) is depending on the 3rd field's value i.e FTE Salary. So after page load when these 3 field's
    value changes the FTESalary field's value is also changing but my extended attribute's value is not changing (XxfteSalary) .
    So I need to update the controller of that page under where the PPR event is catched. So to update PPR event part I have extended the controller
    SalaryCorrectCO class and write the follwoing code in the extended controller and put the controller in the custom directory.But whenever i put the
    extended controller in the path the Salary Correct page is throwing 'null pointer exception' when the page loads itself. Please help...........
    Thanks in Advance....
    extended controller code:
    package xxcustomname.oracle.apps.per.saladmin.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.per.saladmin.webui.SalaryCorrectCO;
    import xxexp.oracle.apps.per.saladmin.server.xxSalaryCorrectVOImpl;
    import xxexp.oracle.apps.per.saladmin.server.xxSalaryCorrectVORowImpl;
    public class xxSalaryCorrectCO extends SalaryCorrectCO {
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    String s2 = oapagecontext.getParameter("event");
    if("changedNewSalary".equals(s2))
    //Custom Code to Populate the xxfteSalary field
    String rowReference =
    oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)oaapplicationmodule.findRowByRef(rowReference);
    if (row.getAttribute("AnnualSalary") != null)
    String fteSalary = row.getAttribute("AnnualSalary").toString();
    float fteSalaryFlt = Float.parseFloat(fteSalary);
    //Have to get the row Impl class object to get the getter of FTE Factor to get the FTE Factor value in String
    xxSalaryCorrectVOImpl vo =
    (xxSalaryCorrectVOImpl)oaapplicationmodule.findViewObject("xxSalaryCorrectVO");
    xxSalaryCorrectVORowImpl fteFactorEqRow =
    (xxSalaryCorrectVORowImpl)vo.getCurrentRow();
    String fteFactorNM = fteFactorEqRow.getFteFactor().toString();
    float fteFactorflt =Float.parseFloat(fteFactorNM);
    float actualSalary = (fteSalaryFlt * fteFactorflt);
    oracle.jbo.domain.Number actualSalaryNMVal = null;
    actualSalaryNMVal = new oracle.jbo.domain.Number(actualSalary);
    row.setAttribute("XxfteSalary", actualSalaryNMVal);
    //Custom Code to Populate the xxfteSalary field Ends here
    } else
    if("changedChangeAmount".equals(s2))
    //Custom Code to Populate the xxfteSalary field*
    String rowReference =
    oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)oaapplicationmodule.findRowByRef(rowReference);
    if (row.getAttribute("AnnualSalary") != null)
    String fteSalary = row.getAttribute("AnnualSalary").toString();
    System.out.println(fteSalary);
    float fteSalaryFlt = Float.parseFloat(fteSalary);
    //Have to get the row Impl class object to get the getter of FTE Factor to get the FTE Factor value in String
    xxSalaryCorrectVOImpl vo =
    (xxSalaryCorrectVOImpl)oaapplicationmodule.findViewObject("xxSalaryCorrectVO");
    xxSalaryCorrectVORowImpl fteFactorEqRow =
    (xxSalaryCorrectVORowImpl)vo.getCurrentRow();
    String fteFactorNM = fteFactorEqRow.getFteFactor().toString();
    float fteFactorflt =Float.parseFloat(fteFactorNM);
    float actualSalary = (fteSalaryFlt * fteFactorflt);
    oracle.jbo.domain.Number actualSalaryNMVal = null;
    actualSalaryNMVal = new oracle.jbo.domain.Number(actualSalary);
    row.setAttribute("XxfteSalary", actualSalaryNMVal);
    //Custom Code to Populate the xxfteSalary field Ends here
    } else
    if("changedChgPercent".equals(s2))
    //Custom Code to Populate the xxfteSalary field
    String rowReference =
    oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)oaapplicationmodule.findRowByRef(rowReference);
    if (row.getAttribute("AnnualSalary") != null)
    String fteSalary = row.getAttribute("AnnualSalary").toString();
    float fteSalaryFlt = Float.parseFloat(fteSalary);
    //Have to get the row Impl class object to get the getter of FTE Factor to get the FTE Factor value in String
    xxSalaryCorrectVOImpl vo =
    (xxSalaryCorrectVOImpl)oaapplicationmodule.findViewObject("xxSalaryCorrectVO");
    xxSalaryCorrectVORowImpl fteFactorEqRow =
    (xxSalaryCorrectVORowImpl)vo.getCurrentRow();
    String fteFactorNM = fteFactorEqRow.getFteFactor().toString();
    float fteFactorflt =Float.parseFloat(fteFactorNM);
    float actualSalary = (fteSalaryFlt * fteFactorflt);
    oracle.jbo.domain.Number actualSalaryNMVal = null;
    actualSalaryNMVal = new oracle.jbo.domain.Number(actualSalary);
    row.setAttribute("XxfteSalary", actualSalaryNMVal);
    //Custom Code to Populate the xxfteSalary field Ends here
    }

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2141)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(OAAdvancedTableHelper.java:581)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(OAAdvancedTableBean.java:737)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2496)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         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:619)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.per.saladmin.webui.SalaryCorrectCO.processRequest(SalaryCorrectCO.java:177)
         at xxexp.oracle.apps.per.saladmin.webui.xxSalaryCorrectCO.processRequest(xxSalaryCorrectCO.java:18)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2141)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(OAAdvancedTableHelper.java:581)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(OAAdvancedTableBean.java:737)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2496)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         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:619)
    java.lang.NullPointerException
         at oracle.apps.per.saladmin.webui.SalaryCorrectCO.processRequest(SalaryCorrectCO.java:177)
         at xxexp.oracle.apps.per.saladmin.webui.xxSalaryCorrectCO.processRequest(xxSalaryCorrectCO.java:18)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2141)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(OAAdvancedTableHelper.java:581)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(OAAdvancedTableBean.java:737)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2496)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
         at OA.jspService(_OA.java:204)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         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.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         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:619)

  • New region in a page

    Hi,
    I was trying to create a new region in a page. For that i create a region RG1 in Jdeveloper and in that page, i created FlexLayout and Flex Content using personalization. Before i extend the RG1 region in Flex Content i have imported the RG1 region into database using the following command.
    java oracle.jrad.tools.xml.importer.XMLImporter \
    $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui/DsdPerInfoRG.xml \
    -username apps \
    -password pass1 \
    -rootdir $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -dbconnection "(description = (address_list = (address =(protocol = tcp) (host =XXXX)(port = XXX))) (connect_data = (sid = xx)))"
    I see that i get a message saying that the page is imported. Now when i try to extend the region RG1 through Flex content using personalization, i get an error saying that
    cannot be found. (oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /abc/oracle/apps/per/selfservice/personalinformation/webui/AbcPerInfoRG, 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.)
    Can someone please help me on this. I am really tired with this error. I also have placed the VO and AM Class and xml files in the $JAVA_TOP/abc/oracle/apps/per/selfservice/personalinformation/server.
    Thanks a lot in advance
    PK

    The following import command worked for me.
    java oracle.jrad.tools.xml.importer.XMLImporter /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui/abcPerInfoRG.xml \
    -username apps -password pass1 -rootdir /ts01/u00/app/ts01/common/java/abc/oracle/apps/per/selfservice/personalinformation/webui \
    -rootPackage /abc/oracle/apps/per/selfservice/personalinformation/webui -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp) \
    (host =<XXX>)(port = <xxx>))) (connect_data = (sid = <xxx>)))"
    Thanks
    PK
    Edited by: user539616 on Jan 20, 2009 8:25 PM

  • Missing class file for extended controller

    Any response/advice is greatly appreciated.
    I've searched the forums, and I saw some had this error, but the post wasn't resolved. We are on 12.1.3. I've done this plenty of times when we were on 11.5.10 with great success. I've personalize a page to look at my extendedController, bounced apache:
    adapcctl.sh stop
    adoacorectl.sh stop
    adoacorectl.sh start
    adapcctl.sh start
    Web page brings up:
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: emsc.oracle.apps.emscper.dor.webui.ExtDocsOfRecordUpdateCO (wrong name: ExtDocsOfRecordUpdateCO) Dependent class: emsc.oracle.apps.emscper.dor.webui.ExtDocsOfRecordUpdateCO Loader: oacore.root:0.0.0 Code-Source: /demsci/applmgr/common/java/classes/ Configuration: <library> in /demsci/applmgr/common/webapps/oacore/
    Verified spelling, ensure class file is where it is suppose to be:
    $ echo $JAVA_TOP
    /demsci/applmgr/common/java/classes
    $ echo `pwd`
    /demsci/applmgr/common/java/classes/emsc/oracle/apps/emscper/dor/webui
    Created new /dor/webui directory as user applmgr.
    $ ls -ltr $JAVA_TOP/emsc/oracle/apps/emscper/dor/webui
    total 9
    -rw-r--r-- 1 apdemsci aademsci 3243 Nov 28 18:26 ExtDocsOfRecordUpdateCO.java
    -rwxrwxrwx 1 apdemsci aademsci 3710 Nov 28 18:26 ExtDocsOfRecordUpdateCO.class
    ClassPath has the $JAVA_TOP listed:
    /demsci/applmgr/common/java/classes
    Thanks

    I moved the extended class to the standard directory: $JAVA_TOP/oracle/apps/per/dor/webui
    Recompiled it there
    From Functional Administrator, changed the path of the extended controller to the standard path:
    oracle.apps.per.dor.webui.ExtDocsOfRecordUpdateCO
    Bounced apache/cleared cached.
    Received the same error, very strange....
    Missing class: oracle.apps.per.dor.webui.ExtDocsOfRecordUpdateCO (wrong name: ExtDocsOfRecordUpdateCO) Dependent class: oracle.apps.per.dor.webui.ExtDocsOfRecordUpdateCO Loader: oacore.root:0.0.0 Code-Source: /demsci/applmgr/common/java/classes/ Configuration: <library> in /demsci/applmgr/common/webapps/oacore/
    Verified the class file is there and it is where it is suppose to be:
    $ pwd
    /demsci/applmgr/common/java/classes/oracle/apps/per/dor/webui
    you have mail in /var/spool/mail/apdemsci
    $ ls -ltr ExtDocsOfRecordUpdateCO.class
    -rw-r--r-- 1 apdemsci aademsci 3710 Nov 29 15:29 ExtDocsOfRecordUpdateCO.class
    Makes no sense...
    For your other point, I don't want rename the subdirectory since we have other extensions dependent on the path name.
    Thanks

  • Admin Personalization property and problem in Extending controller

    Hi,
    I am working on Oracle CMRO module R12.
    I have one OAF page.The path is as follows,
    */oracle/apps/ahl/prd/webui/UpdateWorkordersPG*
    I want to extend this page controller which is .*oracle.apps.ahl.prd.webui.UpdateWorkordersCO*
    but i have seen at PageLayout region, the Admin Personalization property is false.
    so i am unable to set extended controller.
    Is there anyother way to set controller at pagelayout if its Admin Personalization property is false.
    Could anyone throw any points on this?
    Regards
    Hitesh

    Thanks Annop for reply.
    If it can not assign extended controller at pageLayout region, if admin personalization property is false then how can i achieve my requirement?
    My requirement is to add one field in the page */oracle/apps/ahl/prd/webui/UpdateWorkordersPG* in R12 using personalization and when user clicks on Apply button, i have to save this field value in a database.
    How is it possible without extending controller?
    Can anyone throw some points on this?
    Regards
    Hitesh

  • New Region does not appear in standard page (Please Your Help).

    Hi Experts,
    I tried to create in javadeveloper a region to have descriptive flexfields shown in standard page with the following structure :
    Region (stacklayout)
    Region (messageComponentLayout)
    Item (messageLayout)
    Item (flex)
    Then I used import command to move XML file to the sever .
    Afterthat in self service I created an item of stacklayout type with specifying the required fields like Application module and extend field but I am not able to
    see the region in standard page , is there any anything missing please your help?
    Thanks,
    Kind Regards,

    Please try this > Make the AM property of your new region to be blank . Also check if your custom controller of your region has correct logic.
    Repeat the deployements steps and bounce the server.
    All the Best.

  • After extending controller

    Hi,
    I have extended a controller for a region and using personalization i assigned the extended controller to the page.
    In another page i have a page with the same region. So again i just give the name of the extended controller name using personalization.
    Is there possible to make the region to point to the extended controller, so that in the second page i no need to set the name manually.
    Thanks in Advance,
    Jegan

    Personalization can be done at Page scope and region scope.
    when doing the personalization you can see the scope at top of the page.
    When you select Personalize Page link at top of the page, then personalization is stored at the page level.
    When you select the pernalize region link, then OAF will check if its a shared region or not..
    if its not a shared region, personalization will be stored at the page level.
    If its a shared region, then personalization is store at region level.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Extending controller HzPuiAddressCreateUpdateCO to validate Supplier addres

    Hi,
    I need to validate city, state,zip for a supplier in the page 'Update Address'. so i am extending the controller 'HzPuiAddressCreateUpdateCO', The validations and everything is working fine. when i click the 'Apply' button, i am getting the error message saying that the zip size is not correct,this validation is from my extended controller, so i cancel and go back to the previous page. but when i check database after i cancel, the page is commiting wrong data, so basically the issue is, when there is an error exception, i am seeing the error message, but its commiting the wrong data to DB. i am not able to understand what the issue is.
    Here is the CO extension i wrote
    public class xxxtest extends HzPuiAddressCreateUpdateCO
    public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    super.processRequest(paramOAPageContext, paramOAWebBean);
    public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
    localObject1 = paramOAPageContext.getApplicationModule(paramOAWebBean);
    HashMap localHashMap = new HashMap();
    if(paramOAPageContext.getParameter("applyBtn") != null)
    OAApplicationModule xam = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObjectImpl LocationVO = (OAViewObjectImpl)xam.findViewObject("HzPuiLocationVO");
    OAViewRowImpl CurrRow = (OAViewRowImpl)LocationVO.getCurrentRow();
    String saddressval = "BEGIN :1 := APPS.xxxx.xxx(p_etst=> :2, p_state => :3, p_city => :4, p_zip => :5, p_country => :6, p_party_site_id => :7); END;";
    OracleCallableStatement cstmt = null;
    String saddressvalrslt = null;
    try
    cstmt = (OracleCallableStatement)xam.getOADBTransaction().createCallableStatement(saddressval, 1);
    cstmt.setString(2, " ");
    cstmt.setString(3, (CurrRow.getAttribute("State") == null ? " " : CurrRow.getAttribute("State").toString()));
    cstmt.setString(4, (CurrRow.getAttribute("City") == null ? " " : CurrRow.getAttribute("City").toString()));
    cstmt.setString(5, (CurrRow.getAttribute("PostalCode") == null ? " " : CurrRow.getAttribute("PostalCode").toString()));
    cstmt.setString(6, (CurrRow.getAttribute("Country") == null ? " " : CurrRow.getAttribute("Country").toString()));
    cstmt.setString(7, paramOAPageContext.getParameter("PosPartySiteId").toString());
    cstmt.registerOutParameter(1, OracleTypes.CHAR);
    cstmt.execute();
    saddressvalrslt = cstmt.getString(1);
    catch (Exception e)
    throw OAException.wrapperException(e);
    if(saddressvalrslt != null)
    throw new OAException(saddressvalrslt,OAException.ERROR );
    if (paramOAPageContext.getParameter("cancelBtn") != null)
    //paramOAPageContext.getApplicationModule(paramOAWebBean).getTransaction().rollback();
    //localObject1 = new HashMap();
    //paramOAPageContext.setForwardURL("POS_HT_SP_B_ADDR_BK", 0, null, (HashMap)localObject1, false, "Y", 0);
    //paramOAPageContext.setForwardURL("POS_HT_SP_B_ADDR_BK",OAWebBeanConstants.KEEP_MENU_CONTEXT, null, (HashMap)localObject1, false,OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAException.ERROR);
    super.processFormRequest(paramOAPageContext, paramOAWebBean);
    any help is really appreciated.
    Thanks,
    KiranM.

    hi KiranM
    see
    1.) when u click on apply button it throws error but but values are not saved in database .
    2.) Now when u click on cancel the PFR method is called again since your validation fires on apply button that is not clicked ,it goes inside the cancel button and ( if code is commented means nothing is there ,and come out
    3.) now it calls super method which is responsible to save the values in database.
    i m not sure this is happening exactly ,u need to check with parent controller also ,decompile and check what is going on there on the event of these buttons
    thanx
    Pratap

  • How do I create a Modal JDialog (non-bypassable when visible)?

    After customising a JDialog, I found that it is basically ignored after it has been created, by the main program. I've tried many ways to stop this from happening, searched the Java tutorial and googled it, but cannot find out how to do so. I have used the constructor for a modal Dialog:
    JDialog(Dialog owner, String title, boolean modal)However, my methods are still treated like a non-modal Dialog, as they are ignored. Is there a certain method I have to call to make this Dialog modal (not able to be bypassed when made visible). If so then I would appreciate it if anybody could help, or perhaps point me along the right way.

    JDialog(Dialog owner, String title, boolean modal)How do you expect us to solve your problem based on a single line of code? Create a simple demo program that shows the problem
    Here is a simple demo that works.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DialogModal extends JFrame implements ActionListener
         public DialogModal()
              JButton button = new JButton("Show Dialog");
              button.addActionListener( this );
              getContentPane().add( button );
         public void actionPerformed(ActionEvent e)
              JDialog dialog = new JDialog(this, "Modal Test", true);
              dialog.setSize(300, 300);
              dialog.show();
         public static void main(String[] args)
              JFrame frame = new DialogModal();
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

Maybe you are looking for