Avoiding unhandled error page branching

Hi all,
I was trying to avoid those situations where the user is brought to that spartan error page when an "unhandled" exception occurs, such as a constraint violation.
In such situations one should first check whether an identical unique key is already existing, that is one should write some pl/sql code for the validation and, if it succeeds, let the process insert the new row or return an error otherwise.
However I started to wonder: what about moving my insert process inside the validation and trap the exception there?
So I did, transforming the process (conditional on a certain button) to a conditional pl/sql function returning boolean type of validation and it works just fine.
So, now, instead of displaying that unwelcoming error page, I write an inline notification telling the user that an identical entry is already existing which looks much better.
My only concern was with the commit/rollback behind the scene, but I didn't find problems until now.
What do you think guys?

Scott,
I forgot to mention that most likely this "validation" must occur last, at the very end of the chain of real validations on the fields.
The page where I tested this contains several item validations and three different branches depending on buttons and also the validations are depending on those buttons.
After completing 10 "normal" validations there are these two special validations hooked up to two distinct buttons and they work fine.
Of course it doesn't make sense to execute them upfront, before item validations, it would be a big mistake from the application logic viewpoint.
Last but not least, this way I avoid also a custom validation checking against the primary key and/or unique key(s) by means of a query which would require a very similar approach, either a SQL or PL/SQL custom function.
I mean, not a big deal probably, but the lighter is the burden on the server, the better, isn't it?
Bye,
Flavio

Similar Messages

  • Error Page -AP: Suppliers Entry

    Hi,
    R12.1.1 on Win2k3.
    Supplier creation getting error page.
    AP: Suppliers > Entry
    Appear a web page with error message.
    Error Page – You have encountered an unexpected error, contact Admin…..
    Same error page getting in Define Bank:
    AP: Setup > Payment > Banks and Bank Branches, /and Bank Accounts.
    How to resolve the problem?
    Thanks,
    Jo

    Please see if these MOS docs help.
    Attempt To Open Supplier Form Errors: You Have Encountered An Unexpected Error [ID 816174.1]
    Supplier Form Is Not Opening: Error Page You Have Encountered An Unexpected Error [ID 956156.1]
    When attempting to open Bank, Branch, Bank account Error: You have encountered an unexpected error. Please contact the System Administrator for assistance [ID 1332649.1]
    Access To Manage Bank Account Errors:You Have Encountered An Unexpected Error [ID 947142.1]
    Thanks,
    Hussein

  • How to avoid @PostConstruct on page Faces beans during postback?

    Hello, we're using GlassFishV2/JSAS9.1 with Mojarra 1.2_04-b22-p05 for a large project, and experiencing performance issues on form-less JSF commands when used in conjonction with @PostConstruct annotations. I feel this is an architectural issue I'm not able to resolve though, so I was wondering if anyone could shed some light on whether I'm missing something, there is some known workaround or it's a known JSF problem?
    The scenario is as follows:
    * Page my.jsp references Faces Beans MyFB.java
    * MyFB has @PostContruct method, which execute expensive logic to initialize the data model before rendering phase
    * my.jsp has a <commandLink action="#{anotherFB.myCommand}">
    * anotherFB.myCommand executes some logic and nav to another.jsp
    Now what seems to happen is that when we click on the commandLink, JSF does a postback to the same URL, instantiates MyFB, calls @PostConstruct on MyFB, and then instantiate anotherFB to call myCommand on it and nav to another.jsp
    In this situation, the expensive @PostConstruct logic to prepare data for rendering on my.jsp is executed although it is totally useless to the use case and hurts site performance a lot.
    I tried to use immediate="true" attribute, but it doesn't seem to prevent the @PostConstruct...
    In the case of a JSF form commandButton on the same bean, I can see how that would be necessary, but for a commandLink to another bean, why is JSF calling @PostConstruct on the previous page beans??
    I seem to be able to workaround this problem doing an if (getFacesContext().getRenderKit().getResponseStateManager().isPostback(getFacesContext()) in our @PostConstruct method and then make sure all the getters are NPE-safe, but if the commandLink is in a common include file, I'd then have to do this in every single beans within my app, which is not reasonable IMHO.
    Has anyone else experienced this problem? Or even maybe worked around it somehow?
    I'm curious if I'm missing something or if this is a major JSF architectural issue...
    Thanks!

    Thanks for the suggestion.
    We used to do this in the past, but this yields a host of other issues including:
    * no control over when getters get called and in what order
    * getters can get called multiple times, so you have to implement some caching to avoid init re-execution and it can get complicated in large object models
    * if a getter implements logic and blows up in the rendering phase, part of the page may have already been flushed out and you can't recover with an error page
    etc.
    @PostConstruct is a great standard-based option to get a bean initialized early in the JSF lifecycle, but there's just this one issue with commandLink that's problematic... :(
    We're sometimes using Shale's prerender callback, which is not invoked on a postback, but I was hoping there was maybe a standard-based solution?

  • Application Items/Session State Values and Page Branching

    I have users coming into a specific page in my application, passing in a value on the url that sets the value of an application item, where a validation routine occurs. If their session validates, I want to send them to one page, if it does not, I want to send them to a login error page.
    During validation, I am setting the values of several application items so that these values can be saved and used throughout their session. The values appear to be setting correctly. I am concerned that setting the application items may not be limiting these values to a particular session. So, I have also tried setting the setting session state variables with code like:
    apex_util.set_session_state ('F203_REQ', vReqID);
    I found it curious though when I ran this page, not trying to branch so I could check session state, these values showed up as being application items and I saw nothing under session variables.
    The problem I am having is that once validated I don't know how to branch to these other pages. I have tried adding some javascript in the header to force a page submit so that I could use a branch setup on the page. However, when it comes time to evaluate the branches (it's using one of the application item values I set earlier), I'm getting an error that no branch has been provided. Further research suggests the application item values are being cleared on the page submit.
    So, (1) I either need to know how to preserve those values on submit so the page branch works or (2) I need to branch to the new page without using a page submit and instead doing that in a some code (assuming submit is clearing application item values). I have not been able to find an example of how to do this in code. If there is a way to do this in code, will the application item or session state variable values be retained? I will need these values to be available to the user throughout their session.
    Thanks for the help,
    Steve

    Steve,
    I am concerned that setting the application items may not be limiting these values to a particular session.They are set in the current session only.
    It is hard to know what you are doing exactly without seeing it. If you set up an example on apex.oracle.com we could could address one specific question at at time.
    Scott

  • Standard Error Page

    Is there a way to create an XSQL error page?
    I'd like to throw all errors to a single page (with nice, scary colours).

    Hi,
    I came across this post on xsql error message handling for fatal errors.
    Has this been resolved in any particular release??
    From what I can tell, there appears to be no way to detect any db connection problems like say an "invalid connection" or a "timed out" connection etc.
    For example a page such as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <page connection="some_invalid_connection" xmlns:xsql="urn:oracle-xsql">
    <xsql:query>
    SELECT
    sysdate
    FROM
    dual
    </xsql:query>
    </page>
    results in a error page such as
    Oracle XSQL Servlet Page Processor 9.0.1.1.0A (Production)
    XSQL-004: Could not acquire a database connection named:some_invalid_connection
    XSQL-007: Cannot acquire a database connection to process page.
    I would like a way to trap this error elegantly and do something useful with it, as opposed to it being spit out as html.
    Database connectivity problems are very critical to handle properly. I am not sure how to it, other than writing java/jdbc code and trapping the exception. I would like to avoid this if I can.
    Any help is appreciated.
    - Manish
    Currently fatal errors like this cannot have their error page overridden. Request noted for a future release.
    Would your "cute" page in general be a static html file? Another xsql page?
    null

  • Unhandled Error in GSM Module

    Hi,
    When I am  trying to move the Formualation Spec from Final Review to Approved, I am facing Unhandled error.
    I got the below message from event log.Please find the below error.
    ErrorType: First| ErrorCount: 0| App: GSM| SessionId: d56508b1-d391-d4bf-47f3-bf652ff358cf| UserId: 551463| IsNewSession: False| ServerID: 172.21.14.106| Misc: Spec 5009283-001 ; Slice on Slice Reduced Fat Pasteurized Process Yellow American Cheese (Barrel Credit)| Exception: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Xeno.WorkflowCore.WorkflowException: Error during SpecID: 5816e30a6147-dd7a-485e-8a89-e95b393ab7a3 : ok ---> Xeno.Data.DataObjectException: Could not load data for object ID: 3158a4ddad47-eb25-434e-a210-76ab408f3f12 at Xeno.Prodika.GSMLib.Workflow.SpecTransientLinearActivity.MakeTransition(ITransitionContext ctx) at Xeno.LinearWorkflow.WorkflowObjects.LinearActivityBase.MoveForward(ILinearTransitionContext ctx) at Xeno.Web.UI.LinearWorkflow.LinearWorkflowActionPageBase.MakeTransition(ILinearTransitionContext ctx) at prodika.frmLinearWorkflowActionPopup.MakeTransition(ILinearTransitionContext ctx) --- End of inner exception stack trace --- at Xeno.Prodika.GSMLib.DataSources.ResolutionSetAwareSpecLinearWorkflowPopupDataSource.HandleException(ILinearTransitionContext ctx, Exception e) at prodika.frmLinearWorkflowActionPopup.MakeTransition(ILinearTransitionContext ctx) at Xeno.Web.UI.LinearWorkflow.LinearWorkflowActionPageBase.MakeTransition(Int32 toPos) at Xeno.Web.UI.LinearWorkflow.LinearWorkflowActionPageBase.DoShortCircuitTransition() at Xeno.Web.UI.LinearWorkflow.LinearWorkflowActionPageBase.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.popups_frmlinearworkflowactionpopup_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Please help to resolve this.
    Thanks,
    Rohini M

    Hi Friends,
    We were able to find out what was causing the issue, there was a setting in environment config, which was misspelled,
    <Add key "allowusertoexport" value = "faalse" ...
    when we fixed this issue the issue was resolved.
    Regards,
    Kumar

  • How to avoid submitting a page when tabular form rows are empty

    Hi,
    I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that refers to the ticket_number of the Table A).
    This is how the application works:
    In a page there is a field for Ticket Number, once the user enters the Ticket Number and click Add Details, a tabular Form with 5 empty field appears... (Done through Page Process->Data Manipilation->Add Rows)
    This form contains fields Date, Name and Age. Once the user fills in all the details and click Submit button, the page is submitted. Whatever values that was entered is saved in Table B. Page Sucess message appears. This works fine.
    But once the Ticket Number is entered and Add Details is clicked, and without entering the values in the Tabular Form, if Submit button is clicked, there is no error showing up neither I see Page success message. But this should not be allowed. There should be some error showing up...
    Tabular Form Validations works only when user enters some values in the Tabular Form and click Submit. For the above scenario, where the form is untouched the validation doesnt work.
    How can I get this done? Any ideas?

    Hello Suzi,
    >> if (document.wwv_flow==null)
    The document.wwv_flow is an object representing the current form that was just rendered on your screen. As such, it can never be null.
    >> How to avoid submitting a page when tabular form rows are empty
    The correct way, especially for versions prior to APEX 4.0 is to use JavaScript, but for that, you need to know and understand how APEX generates your tabular form, HTML wise.
    To be very brief, APEX attached a unique ID to every updatable cell in the tabular form, using a certain pattern – each updatable column is getting a unique name (e.g. ‘f01’,’f02’ etc.) and the ID of a cell is a combination of this name with the serial row number the cell is on. For example, a cell on the third row in an updatable column called ‘f04’ will be given an ID of f04_0003. (More detailed explanation, with an example, can be found in my book).
    What you should do is to check these cells according to your validation policy (e.g. is all five row must be filled, is all the columns in a specific row must be filled, etc.).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Custom Error Pages (Not for PL/SQL Errors)

    Hi,
    How can I make my own error page for when I branch to an invalid page?
    I caught this example:
    http://djmein.blogspot.com/2007/04/custom-error-handling-in-apex.html
    But I beleive it is only for handling exceptions thrown in PL/SQL and this cannot be applied here.
    Anyone know?

    I'm struggling on this also. Anyone have the solution as well?

  • Redirect to a custom error page when Forms Server shuts down

    Hi,
    I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
    I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
    Is there any event in forms to capture the loss of connection to forms server ??
    BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
    Any ideas...
    Thanks in advance
    Purush

    I don't think it will be easily possible in Forms for a couple of reasons.
    1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
    2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
    Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
    If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
    A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
    And also, how would you avoid a refresh if a user is currently using the form?

  • Error Page in Create an Instance

    Hi, Expertise
    Seeking your important help.
    When I plan to create an Item Instance through Oracle Installed Base Agent User -> Item Instance -> Item Instances, an error page occurs. the following is what Exception Detail shows.
    and i do have 2 questions on Install Base (IB)
    1) Must IB have Oracle Asset Tracking & Oracle Service Fulfillment Manager installed?
    2) Must IB have integration with INV and OM as at initial phase, we plan IB only as a centralized repository to manually record and track information?
    thanks and Best,
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:870)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:993)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797)
         at oracle.apps.csi.instance.general.webui.CreateProductRegCO.processRequest(CreateProductRegCO.java:145)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         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:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         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: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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:213)
         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:64)
         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:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         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.csi.instance.general.server.CreateProductAMImpl.initOrgIdForCreate(CreateProductAMImpl.java:220)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797)
         at oracle.apps.csi.instance.general.webui.CreateProductRegCO.processRequest(CreateProductRegCO.java:145)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         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:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         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: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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:213)
         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:64)
         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:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         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.csi.instance.general.server.CreateProductAMImpl.initOrgIdForCreate(CreateProductAMImpl.java:220)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797)
         at oracle.apps.csi.instance.general.webui.CreateProductRegCO.processRequest(CreateProductRegCO.java:145)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
         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:2513)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         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: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.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:213)
         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:64)
         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:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         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)
    Edited by: 853052 on 2011-5-12 上午4:17

    Hello,
    In J2EE you are not supposed to load resources from other application this is breaking the specs, even if some containers allow that usually it is not a good idea.
    To avoid that in OracleAS you can use 2 things:
    - define your Jars as shared library and make them available for multiple applications
    - put your jar in the applib directory in the root of your EAR (this is one of the JavaEE features that has been implemented in OracleAS 10gR3 10.1.3.1 to simplify development and deployment)
    All this is documented in 3 Utilizing the OC4J Class Loading Framework chapter of the OC4J developer guide.
    Regards
    Tugdual Grall

  • Error page and error text handling

    Hi,
    In Apex error text is always coming in an error page and displays error on error page only. Can we display error message on the same page where error occurred ?
    Thanks in advance.
    Ranjan

    Hi, Ranjan,
    that's not quite as easy, I fear. There SHOULDN'T be any unhandled exceptions. Try to make your procedures and functions as robust as possible. This might need some heavy redesign on your part (maybe surrounding procedure calls with processes?). As far as I know, Apex doesn't offer any exception handling mechanism. But I'll look into it.
    Cheers,
    Niko

  • Avoid timeout error in IC

    Hi Experts,
    I have a requirement to avoid timeout error in interaction centre ,not through RZ* parameters.
    but by coding in ICCMP_HEADER, headerviewset.htm.
    Has anyone faced this before, can you pls share your ideas.
    Highly rewarded.
    Regards,
    Lakshmi

    Hi,
    Look at the BSP Page headerviewset.htm. Find the following variable:
    "var timeoutValue = <%= cl_crm_ic_services=>get_auto_logout( ) %>"
    and
    function setTimeoutTimer()  that uses the variable
    You need to manipulate this variable. Hope this helps.
    Regards
    Prasenjit

  • Re: WebEnterprise error pages

    Fred,
    WebEnterprise WE 1.0.D contains fairly extensive knobs for customizing
    your own exception pages.
    * Exceptions are now formatted via HTML templates (in the
    %{FORTE_ROOT}html/errors directory), so you can customize those
    files according to your needs. For example, it's easy to change the
    "horrible red" exception page by editing the
    html/errors/htmlscanner.html file.
    Note that these changes are installation-wide.
    * Exceptions in scanner processing are driven through the HTMLScanner's
    GetErrorTemplate method (which provides the file specification of the
    exception HTML template). You can override GetErrorTemplate and
    provide application-specific templates. GetErrorTemplate is passed
    both the exception and the HTTPRequest object, so you can select
    different exception templates depending upon application criteria.
    * You may also define new resultset variables in your custom
    GetErrorTemplate method which can be referenced in your custom
    template.
    Technote 11874, "Customizing WebEnterprise Error Pages", explains
    all this in much greater detail and includes several examples.
    Hope this helps!
    Alan Mullendore
    Forte Engineering
    >
    >
    I am trying to raise and handle exceptions in tag handlers (Forte Web
    enterprise). I am using templates. I cannot see how I could avoid Forte to
    handle Forte or Business exception before me. I would like to be able to raise
    an exception when it's needed by the business (in a tag handler) then trap
    them all generiaclly further down the line. It would allow me to generate an
    user friendly HTML page instead of the horrible Forte red one.
    Fred
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Peter and I have contemplated that the operating system, or this editor were randomly dropping characters. This has been going on now for a couple of months, and requires more diligence than necessary to catch the dropouts.

  • No error page after runtime include

    Hi
    I encountered the problem that my error-page is not displayed when a runtime-exception occures in a jsp.page after having made a runtime-include of another jsp-page
    (like <jsp:include page='../rt_includes/header.jsp' flush='true' />).
    If I take away the include-statement, the error page is displayed correctly. The problem seems to be that printing the content of the included page to the out-buffer prevents the error page to be displayed properly. Which is the best solution to avoid this problem?
    - Thanks for any help

    Hi,
    The problem you have just described comes in JSP 1.3 specification. This problem was solved in JSP 1.4 specification, Most of the application server now support JSP 1.4, check out with your application server documents. Which server are you using.

  • UCM JSP - customize error page for document checkout?

    I have written some JSP pages to integrate UCM (aka Stellent Content Server) into a custom application.
    The bulk of UCM functionality is handled with idcserver.ServerBean.
    If someone tries to check out a document that is already checked out, or tries to check in a document that hasn't been checked out, they are redirected from our custom application to a UCM error page.
    I DO NOT want this to happen.
    I would like to handle any check in or check out errors with my own custom error handling page.
    I tried using the following in our JSP check out form:
    <%@ page errorPage="myError.jsp" session="true" %>
    However, UCM cheerfully ignores this and keeps redirecting right to its own page.
    Any thoughts on how I can avoid UCM's error page and substitute my own?
    Thanks in advance,
    Dave

    Hi user4884609, since we can't send PMs in this forum to other users and leaving email address like this is not good practice either would it be possible for you to upload it somewhere and provide the link for at least for like a couple of days? I'd be interested in looking into that component, been looking for something like that.
    thanks,

Maybe you are looking for

  • Moving iPhone backup folder to different computer

    I would like to sync my iPhone 4 to my MacPro tower rather than sync it to my MacBook Pro. I was wondering if its as simple as just putting the users>my account> Library> Mobile Sync folder onto my MacPro Tower. Any advice would be greatly appreciate

  • Master-Detail Form - implementing some thing like Post-Query trigger

    Hi all, I am struggling to implement an eqivalent of a post-query trigger in Oracle Forms. Please bear with me as I am trying to explain in detail what the problem is. Here is my situation. I have three tables EMP, DEPT and LOCATION. I created a Mast

  • Preview "pop up" tool bar missing

    I am not sure if I mistaken changed a setting, but when previously working in preview if I scrolled to the bottom of the pdf a little pop image would show giving me options to save, print etc. It's now missing. The only way now to print is using the

  • How to Force Logoff from Portal in Custom Application

    Hi All, We have developed a Custom Component for the user to change password in Portal 7.3. As per the requirement ,after changing the password the portal should force logoff without further execution. We are able to change the password but not able

  • Re-Importing photos into iMovie?

    Hello, This is a difficult question to explain, but I'll give it my best shot: So I used to use windows (and windows movie maker) and I started to notice that if I drew a picture (say, on MSPaint) and then imported it into movie maker, it would be al