Beware the dangers of generic Exceptions

http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-generics.html?
What do you think about that article?
I thought that it wasn't quite accurate. The author fails to address GUIs.
// some button was clicked or menu item was selected
public void actionPerformed(ActionEvent evt) {
    try {
        // try to open file here
        // try to save file here
        // could run out of memory (Error) or
        // IOException
        // or any other number of exceptions / errors that can't
        // be fixed by the user
    } catch (Throwable t) {
        Window w = SwingUtilities.windowForComponent(this);
        JOptionPane.showMessageDialog(w, "" + t, "ERROR", JOptionPane.ERROR_MESSAGE);
}

most people agree that catching Exception and
Throwable is usually a bad bad thing,Could you point me to statistically significant survey
where this conclusion was reached?no.. admit i should've prefixed it with something like "in my experience" - is that what you mean?
What does this assertion mean anyway? That randomly
putting try-catch(Throwable) into a program would be
bad thing. I guess that's true. That most appearances
of this construct in a random sample of programs were
in inappropriate places? Hard to say unless you've
done the sampling. That the appearance of this
construct in code written by engineers that I
supervise is usually a bad thing? No way.maybe its down to what kind of things you are dealing with, but taking these forums as a good (informal) example i often see bits of code that are wrapped with "catch(Exception e)" in a way that is almost certainly done just to get round the checked exception compilation errors. Its this that I'd still maintain is acknowledged as a bad bad thing - which is compatible with there being legitimate times when catching a general Exception is the right thing to do*
asjf
*saying that though, its v. rare i come across this - but i'm writing gui/application level code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Generic Exception in java mapping

    hi all,
    i'm using xerces api inorder to validate the outbound xml with its corresponding xsd using java mapping . when mapping is executed , i get "Generic Exception". it does'nt leave any  trace other than the word "Generic Exception". i use same jdk version used by  XI.kindly help me regarding this issue.
    Thanks and Regards
    kausik

    hello kausik,
    i have the same problem in java mapping by validating incoming xml files.
    could you solve the problem?
    can you tell me how to solve the problem?
    you can write me an email with the solution ([email protected])? or post it here?
    thanks a lot
    ciao alex

  • Throwing generic exception in XI

    Hi friends
    I was trying to incorporate one of the blog by champion blogger Michal, which deals with Throwing Generic Exception.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6398. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Is there any way around for avoiding ABAP mapping (hard part) and implementing some java code in place of that?
    In second step instead of going for ABAP mapping I tried to raise an exception by using  exception classes as explained in   https://www.sdn.sap.com/pub/wlg/3069. [original link is broken] [original link is broken] [original link is broken] [original link is broken] but by that way Error in SOAP header (in SXMB_MONI) displayed Runtime Exception rather than showing user defined/desired message

    hi,
    just like explained in my blog - you can only do it in ABAP
    to have it in error header segment of XI message
    >>>>but by that way Error in SOAP header (in SXMB_MONI) displayed Runtime Exception rather than showing user defined/desired message
    just like Alex mentioned in his blog - that's why I wrote mine
    Regards,
    michal

  • JBO-26000: A Generic exception occurred during loading Customizations

    Hi All,
    i created a application with oracle adf when deploy it in oc4j it works properly but in JBoss I have following exception:
    19:17:50,515 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    oracle.jbo.JboException: JBO-26000: A Generic exception occurred during loading Customizations.
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:918)
    at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:579)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:374)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
    at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:339)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:133)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.NullPointerException
    at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadSessions(JUApplicationDefImpl.java:265)
    at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadContainees(JUApplicationDefImpl.java:573)
    at oracle.jbo.mom.ContainerDefImpl.loadFromXMLFile(ContainerDefImpl.java:354)
    at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadFromXMLFile(JUApplicationDefImpl.java:350)
    at oracle.jbo.uicli.mom.JUApplicationDefImpl.createAndLoadFromXML(JUApplicationDefImpl.java:531)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:886)
    at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:579)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:441)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:374)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
    at oracle.adf.model.BindingRequestHandler.initializeBindingContext(BindingRequestHandler.java:339)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:133)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    i will be grateful if you help me in this case

    Hi,
    MDS requires Fusion Middleware and for this reason - other than personalization for user session - is not expected to work for servers where there is no FMW suport. Not sure this is your issue too, but this is what caused the thread in 2010 to fail
    Frank

  • JBO-26000: a generic exception error message

    Hi,
    I followed every step of the single table DBServlet tutorial, and the recommended deployment procedure as per the guide.
    I'm getting the following error when I run the DBServlet1 from Java Web Server 2.0
    "JBO-26000: a generic exception occured during loading customisations".
    The Servlet first loads successfully with a login screen. When I click on connect, I get the error.
    Regards
    Nathan
    null

    Thank you laura, but i see the following messages on the console of the running resin proc.:
    Loading from CLASSPATH pedido_PedModule.properties
    *******pedido_PedModule - Session timeout is:300
    Loading from CLASSPATH inven_InvModule.properties
    Loading from CLASSPATH factura_FacModule.properties
    Loading from CLASSPATH clientes_ApModCliente.propertiesnote that i said that my appmodule gets instaciated (i have a print in the constructor of my appmodule), the problem arises after:
    Error Message: JBO-26000: A Generic exception occurred during loading Customizations.
    Note that I've deployed this application Ok to the Apache Tomcat engine...
    Can you tell me what was the Framework trying to load, Please?
    Thank you
    null

  • Generic Exception handler in java

    We have developed a client java application with our own exception hierarchy derived from java.lang.exception. We raise our own exception in case of error scenarios. But there is one additional thing which we want to do:
    1. When ever any exception is raised in our exception we want to do some generic exception handling (like kicking of some module which collects the log files and send it to the administrator.
    2. We want the above activity to happen also when any runtime exception is raised. We are not catching any runtime exception and we have no handle for this.
    How should we go about this. Can we write a very low-level generic exception handler?
    We do not want to have done at every catch block we have in our code. I mean we want to have some hook at a very generic place.
    Let me know if some body can be help me on this.

    As far as I know, for exceptions that are caught, you must make a call to a generic handler in the catch block, or you may rethrow the exception as a RuntimeException, and let it propagate.
    For RuntimeExceptions and Errors in threads that you create, the easiest way to solve this is to subclass ThreadGroup, override uncaughtException with the appropriate code, and create all your threads in this group. For a thread like main, have the first thing in the thread be the creation of a new thread in the new group, then pass control to that thread. For fixed threads, like the event queue, someone had a suggestion already. Note that uncaughtException is only called just before the thread ends, so an exception that shouldn't end the thread should be handled seperately.

  • What are the disadvantages of generic delta extraction

    Hi all,
    what are the disadvantages of generic delta extraction.
    how function module generic extraction works.
    Thanks,
    Madhu.

    hi madhu,
    Pls refer ths,To learn more about Generic Extraction pls read BW350 book.
    Gereric Extraction can be done in 3 ways.
    If you go to transaction RSO2 in R/3 side, provide tech name for data source and click create.
    you will get the 3 options.
    1)From a DB Table
    2)From a DB View
    3)From Functional module/ Infoset Query
    in first option you can directly give a standard or custom build talbe name. in second option you can select the necessary fields from more than one talbe(eiter standard or custom). In third option you will create a function module or Query to extract data. When creating function modules you can use standard function modules as a template e.g. RSAX_BIW_GET_DATA_SIMPLE.
    see weblog : /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    If you want to enable delta for generic extractor you choose the option delta and provide necessary settings.
    Generic extraction is when your extraction is not satisfied by either BC or LIS/LO. It can be using a view / query/table/FM
    Here the changed records can be isentified by :
    1. Based on the date of creation or last change ( Delta based on 0Calday)
    2. Based on the record number ( Numeric Pointer )
    3. Based on time of change ( Timestamp)
    real time examples would be
    1. Master Record creation like customer ID creation
    2. Timesheets in SAP PS
    3. Invoive details / Sales Order Details.
    Pls check this web logs for clear Idea.
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Have a look at these threads too.
    Tables
    Transfer Structure
    The steps for creating extractor using Function Module.
    1. Create new Function group (if you have already not done so) in Se80
    2. Copy Function module "RSAX_BIW_GET_DATA_SIMPLE" with suitable name.
    3. Change the code that populate data.
    Following table may give you the guideline for parameters.
    Parameter Description
    I_REQUNR (import) BW provides this request identifier. It is a system-generated identifier in the form REQU_XXXXXX. BW uses this same identifier in all function module calls that relate to a single load.
    I_DSOURCE (import) The name of the generic extractor
    I_MAXSIZE (import) The maximum number of records that BW expects to be in each data packet
    I_INITFLAG (import) A Boolean flag that indicates if this is the initialization (first) call to the function module
    I_READ_ONLY (import) A test flag not needed in most extraction scenarios
    I_T_SELECT (table) This table holds any selections from the BW InfoPackage. The function module should examine these selections and only return data that matches the selections.
    I_T_FIELD (table) This table holds the fields that BW requests
    E_T_DATA (table) The function module fills this table with data records. These records then return to BW as data packets. This table has the same structure as the extract structure defined in the generic DataSource.
    NO_MORE_DATA (exception) The function module raises this exception when no more data is available
    ERROR_PASSED_TO_MESS_HANDLER (exception) The function module raises this exception if an error occurred during the extraction. It alerts BW to check for error logs.
    Change following code to put the selection fields
    Select ranges
    RANGES: L_R_CARRID FOR SFLIGHT-CARRID,
    L_R_CONNID FOR SFLIGHT-CONNID.
    Change following to populate data
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT (S_S_IF-T_FIELDS) FROM SFLIGHT
    WHERE CARRID IN L_R_CARRID AND
    CONNID IN L_R_CONNID.
    ENDIF. "First data package ?
    Fetch records into interface table.
    named E_T_'Name of extract structure'.
    FETCH NEXT CURSOR S_CURSOR
    APPENDING CORRESPONDING FIELDS
    OF TABLE E_T_DATA
    PACKAGE SIZE S_S_IF-MAXSIZE.
    Some more links:
    Re: functionmodule
    Re: FM for G. extractor
    with hopes
    Raja Singh

  • What is the best way of Exception Handling

    There are many ways to handle the exceptions of a program.
    1: You could put every exception handler in the most upper abstract classes.
    2: You could write a generic exception that handles a lot of things.
    3: You could write exceptions handling for every class.
    4: you could group the exception handling.
    many, many more ways.
    Question:
    What is the best way to do this?

    There are many ways to handle the exceptions of a program.
    1: You could put every exception handler in the most upper abstract classes.I woldn't do that always, a class may throw an exception if it's not able to handle it prperly, but it may, so it'll catch it. Throw Exception in abract supper clases only when you are sure the children must always throw the exception, not processing it.
    2: You could write a generic exception that handles a lot of things.Bad idea, if you always throw an Exception no informtaion is provaided about whta happened, if you throw a NullPointerException and a NumberFormatException in one of your method I (for example) colud handle properly both problems, one likely to be a programming erros, so check my cod eagain, and the other like to be an user error in introduciong some data, so I wold ask him for the data again.
    3: You could write exceptions handling for every class.Write exceptions handling for every class that needs it, throwing the exception if at that moment you don't know what to do with it and catching it if yes. Do not employ too many exception handling: execution of try catch blcks is slower than usuall code.
    4: you could group the exception handling.I don't undestand this. What do youmean?
    Question:
    What is the best way to do this? In general thrwo an exception if the class dosen't know what to do with it, the class which uses yours will handle it. If your class can process the Exception, don't be too lazy and process it.
    Employ exceptions always you need them but do not abuse; thay made the code execute slower because the VM machine must check if the exceotions occur.
    abraham.

  • Error:A Generic exception occurred during loading Customizations

    Hi All,
    I need to extend two standared VO's which are connected by Viewlink. i have extended first VO sucessfully ,and it is showing Good,but when i extend second VO iam getting error as below:
    the two VO's are query based .
    i have no idea for what reason the error was showing. can anyone share your views if faced similar error.
    oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.pos.changeorder.server.ViewOrderAM'.
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.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:735)
    ## Detail 0 ##
    JBO-30003: The application pool (edevdb7.cos.agilent.comOTSTX1561oracle.apps.pos.changeorder.server.ViewOrderAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26000: A Generic exception occurred during loading Customizations.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.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:735)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26000: A Generic exception occurred during loading Customizations.
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.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:735)
    ## Detail 0 ##
    oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2488)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1993)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:526)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:587)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:449)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:382)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:364)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:398)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:411)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.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:735)
    ## Detail 0 ##
    java.lang.IndexOutOfBoundsException: Index: 150, Size: 150
         at java.lang.Throwable.<init>(Throwable.java:67)
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322)
         at oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2623)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2466)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1993)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:526)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:587)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:449)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:382)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:364)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:398)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:493)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:672)
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:411)
         at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:511)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1300)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         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:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.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:735)
    Thanks..
    GK

    Thank you laura, but i see the following messages on the console of the running resin proc.:
    Loading from CLASSPATH pedido_PedModule.properties
    *******pedido_PedModule - Session timeout is:300
    Loading from CLASSPATH inven_InvModule.properties
    Loading from CLASSPATH factura_FacModule.properties
    Loading from CLASSPATH clientes_ApModCliente.propertiesnote that i said that my appmodule gets instaciated (i have a print in the constructor of my appmodule), the problem arises after:
    Error Message: JBO-26000: A Generic exception occurred during loading Customizations.
    Note that I've deployed this application Ok to the Apache Tomcat engine...
    Can you tell me what was the Framework trying to load, Please?
    Thank you
    null

  • Oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred du

    Hi, im getting the following eror when creating an application module: Any ideas? - the views, links, etc. in the data model as well as the .xml look fine.
    oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during
    loading Customizations.
    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2196)
    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1767)
    at
    oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
    at
    oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java
    :453)
    at
    oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:312
    at
    oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268
    at
    oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
    at
    oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)
    at
    oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.j
    ava:2681)
    at
    oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefIm
    pl.java:357)
    at
    oracle.jbo.server.ApplicationModuleImpl.createApplicationModuleImpl(ApplicationM
    oduleImpl.java:2829)
    at
    oracle.jbo.server.ApplicationModuleImpl.createApplicationModule(ApplicationModul
    eImpl.java:813)
    at enatis.gen.ContextNode.createSmHandle(ContextNode.java:85).....
    ## Detail 0 ##
    java.lang.IndexOutOfBoundsException: Index: 79, Size: 76
    at
    com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
    at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322)
    at
    oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2321)
    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2176)
    at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1767)at
    oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
    at
    oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java
    :453)
    at
    oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:312
    ) at
    oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268
    at
    oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
    at
    oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369)
    at
    oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.j
    ava:2681)
    at
    oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefIm
    pl.java:357)
    at
    oracle.jbo.server.ApplicationModuleImpl.createApplicationModuleImpl(ApplicationM
    oduleImpl.java:2829)
    at
    oracle.jbo.server.ApplicationModuleImpl.createApplicationModule(ApplicationModul
    eImpl.java:813)
    at
    enatis.gen.ContextNode.createSmHandle(ContextNode.java:85)............
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResour
    cePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    Hi,
    I can reproduce this.
    Create a project containing BC4J.
    Create EO's for Emp and Dept.
    Create default views and their Impl and RowImpl.
    Create a Emp1View extending EmpView but joining in DeptEo.
    Set the join sql.
    create a third EmpView - Emp3View and extend Emp2View adding in another Emp joined in on the first Emp.MGR.
    Create a client to create the appmodule.
    Run - this works fine.
    Create a VL between dept and Emp - 1 to *.
    Run - Exception.

  • JDBC Recv: Generic Exception:  - java.lang.ArrayIndexOutOfBoundsException

    Dear SDNers,
    I'm facing a strange issue in my PI Quality server when inserting data using recv JDBC adapter. The error description which I get in the channel is given below:-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: ERROR occured parsing request:com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception:  -> java.lang.ArrayIndexOutOfBoundsException.
    Now, I have tried out this message in a different PI server, to the same destination DB and it worked fine. Hence I'm very sure that this is not a mapping bug which is causing incomplete or wrong payload structures going in to the JDBC adapter.
    I request the xperts to please suggest on this issue..
    Thanks a lot
    Varun

    It seems the latest JDBC Driver for MS-SQL does not support batch mode for multiple tables. Removed the batch mode option and works as a charm..
    Regards
    Varun

  • Generic Exception Handler/Listener

    All,
    I have a web application and I want to create a generic exception handler/listener which will listen to all the exception(checked and runtime) which are thrown by web application.
    Any idea how can I do this?
    Regards.

    797836 wrote:
    Hi,
    I want to build a generic exception handler which can be reused in any java j2ee applications. Unlikely. Probably impossible.
    I have java application which is communicating with other 3rd party applications like webservices, webmethods , etc from where we are getting an errorcode which will be used in our java application to do a lookup to get the respestive error message from the resource bundle. Please clarify in such case how I can go with a generic exception handler which will be build separately and will be integrated with Java applications to handle the exceptions and errors.An excellent example of why a universal exception handler wouldn't work.
    At some point a call tree looks like A->B->C, where C (or beyond) that is where your communications problem occurs. The impact of that depends on the application.
    For example if a user types in a url (at A) and the server (C) fails to resolve it then that is a user problem.
    However if nightly batch process expects to download an update file every night from one location and it can't connect then that is an operations error (or notification/alert.)

  • Generic Exception Handeling

    I need the executed SQL and variables with my error. I got this far:
    <code>
    PROCEDURE error_mail IS
    pMessage VARCHAR2(2000);
    pSender VARCHAR2(80) := '[email protected]';
    pRecipient VARCHAR2(80) := '[email protected]';
    pSubject VARCHAR2(80) := 'Error Package : LGX_P_ANIM';
    mailhost CONSTANT VARCHAR2(30) := 'mail.home.co.za';
    crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
    mesg VARCHAR2(1000);
    mail_conn utl_smtp.connection;
    l_str VARCHAR2(255);
    BEGIN
    select substr(sql_text,1,255) into l_str from sys.V_$SQL where rownum = 1
    order by FIRST_LOAD_TIME asc;
    mail_conn := utl_smtp.open_connection(mailhost, 25);
    pMessage := 'Prror Mail SAYS :' || chr(13) || 'LOCAL_TRANSACTION_ID:' ||
    DBMS_TRANSACTION.LOCAL_TRANSACTION_ID || chr(13) || 'FORMAT_CALL_STACK:' ||
    DBMS_UTILITY.FORMAT_CALL_STACK || chr(13) || 'FORMAT_ERROR_BACKTRACE:' ||
    DBMS_UTILITY.FORMAT_ERROR_BACKTRACE || chr(13) || 'FORMAT_ERROR_STACK:' ||
    DBMS_UTILITY.FORMAT_ERROR_STACK || chr(13) || 'GET_CPU_TIME:' ||
    DBMS_UTILITY.GET_CPU_TIME || chr(13) || 'GET_TIME:' || DBMS_UTILITY.GET_TIME || chr(13);
    pMessage :=  l_str || chr(13) || '------------------------------------------------' || chr(13) || pMessage ;
    mesg := 'Date: ' ||
    TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
    'From: <'|| pSender ||'>' || crlf ||
    'Subject: '|| pSubject || crlf ||
    'To: '||pRecipient || crlf || '' || crlf || pMessage;
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, pSender);
    utl_smtp.rcpt(mail_conn, pRecipient);
    utl_smtp.data(mail_conn, mesg);
    utl_smtp.quit(mail_conn);
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END error_mail;
    </code>

    Te reason i do it this way is to have a generic exception handler. It is important to get the variables. I need the culprit ID. The DB consists of 17 000 000 animal records and even more settings for each animal. We get about 100 - 200 single row sub-query errors each day, because the data gets messed up by the secretaries. I need to get the animal ID with the error report that way i can fix the error in seconds instead of running multiple Queries to find the issue. The other problem is the DB is very Busy running large debug queries is not really possible. The solution thus far gives me some answers but I got 100 emails yesterday and they were all the same. How do i get everything from the current session.
    CURRENT CODE:
    PROCEDURE error_mail IS
    pMessage   VARCHAR2(2000);
    pSender      VARCHAR2(80) := '[email protected]';
    pRecipient VARCHAR2(80) := '[email protected]';
    pSubject   VARCHAR2(80) := 'Error Package : LGX_P_ANIM';
    mailhost  CONSTANT VARCHAR2(30) := 'mail.home.co.za';
    crlf      CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
    mesg      VARCHAR2(2000);
    mail_conn utl_smtp.connection;
    l_str VARCHAR2(1000);
    l_id VARCHAR2(100);
    BEGIN
       --select username|| '-' ||sql_text into l_str from v$session, v$sql where audsid = l_Sid and v$session.sql_address = v$sql.address;
       select substr(sql_text,1,999),sql_id into l_str,l_id from v$sql where address = (SELECT prev_sql_addr FROM v$session WHERE audsid = userenv('SESSIONID')) and rownum = 1;
       l_id := l_id || '-' || logix.transpose('select name || ''-'' || value_string from v$sql_bind_capture where sql_id = ''' || l_id || '''',';');
       mail_conn := utl_smtp.open_connection(mailhost, 25);
       pMessage := 'Prror Mail SAYS :' || chr(13) ||
       'LOCAL_TRANSACTION_ID:' || l_id  || chr(13) ||
       'SESSIONID:' || userenv('SESSIONID')  || chr(13) ||
       'FORMAT_CALL_STACK:' || DBMS_UTILITY.FORMAT_CALL_STACK  || chr(13) ||
       'FORMAT_ERROR_BACKTRACE:' || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE   || chr(13) ||
       'FORMAT_ERROR_STACK:' || DBMS_UTILITY.FORMAT_ERROR_STACK      || chr(13) ||
       'GET_CPU_TIME:' || DBMS_UTILITY.GET_CPU_TIME      || chr(13) ||
       'GET_TIME:' || DBMS_UTILITY.GET_TIME || chr(13);
       pMessage :=  l_str || chr(13) || '--------------------------------------------------' || chr(13) || pMessage ;
       mesg := 'Date: ' ||
            TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
               'From: <'|| pSender ||'>' || crlf ||
               'Subject: '|| pSubject || crlf ||
               'To: '||pRecipient || crlf || '' || crlf || pMessage;
       utl_smtp.helo(mail_conn, mailhost);
       utl_smtp.mail(mail_conn, pSender);
       utl_smtp.rcpt(mail_conn, pRecipient);
       utl_smtp.data(mail_conn, mesg);
       utl_smtp.quit(mail_conn);
    EXCEPTION
      WHEN OTHERS THEN
        NULL;
    END error_mail;
    CURRENT OUTPUT
    SELECT PAR_ID FROM IRISDATA30.PERIOD P WHERE ANI_ID = :B2 AND RELATION_TYPE = 'O' AND NVL(PERIOD_END_DTM,:B1 ) = (SELECT MAX(NVL(PERIOD_END_DTM,:B1 )) FROM IRISDATA30.PERIOD WHERE TO_CHAR(PERIOD_BEGIN_DTM,'DD-MON-YYYY') <= :B1 AND RELATION_TYPE = 'O' AND ANI_ID = P.ANI_ID)
    Prror Mail SAYS :
    LOCAL_TRANSACTION_ID:1jy7g0zrzqmpm-':B2-548721521';':B1-08/23/11 10:40:14';':B1-';':B1-08/23/11 10:40:14'
    SESSIONID:18089990
    FORMAT_CALL_STACK:----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    c000000232174828        24  package body INTERGIS.LGX_P_ANIM
    c000000232174828       264  package body INTERGIS.LGX_P_ANIM
    c000000232174828       377  package body INTERGIS.LGX_P_ANIM
    c000000232174828       186  package body INTERGIS.LGX_P_ANIM
    c00000022661c510         1  anonymous block
    FORMAT_ERROR_BACKTRACE:ORA-06512: at "INTERGIS.LGX_P_ANIM", line 246
    FORMAT_ERROR_STACK:ORA-01422: exact fetch returns more than requested number of rows
    GET_CPU_TIME:35754
    GET_TIME:22400142Edited by: user12991926 on Aug 24, 2011 9:03 AM
    Edited by: user12991926 on Aug 24, 2011 9:04 AM

  • Generic exception (BOMGR0110)

    Post Author: sominya
    CA Forum: WebIntelligence Reporting
    When I open a password protected .rep document in WEBI 6.5.1 ,the prompt for entering the password appears but once I enter the correct password ,I am taken to an error page showing the error "Generic exception (BOMGR0110)".
    Though when I refresh the web page the report appears. Refreshing the webpage might be accepted as a temporary solution , but I wouldlike to get rid of the error page.
    Can somebody help?

    Runtime exception when processing target-field mapping /PEXR2002//PEXR2002/*var_IDocBackUp
    check mapping logic for the above node
    Is var_IDocBackUp defined as a global variable...if yes then check out the procedure here:
    /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    Edited by: abhishek salvi on May 15, 2009 10:13 AM

  • Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040

    Please assist I am on a Windows 7 64 bit machine I have VS 2010 and have been fighting with this new program that I was brought on to help with - Issue is that I am unable to get rid of this issue. There is so many solutions but none have worked. If someone can give me some help with what has worked for you.
    The error is Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    This is with CR installed on 64 bit.
    Thank you very much for any assistance with this problem,
    Kris

    Hi Vittorio
    Please enter the search string 'log4net crystal net' into the search box in the top right corner. When the results come up, click on the Support Notes link. That will filter for the KBAs that you want to have a look at.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for

  • Having a problem with exporting in iMovie

    Hi, I shot some live music video on a Sony handycam. The plan was to import it into iMovie, adjust the audio EQ, adjust the brightness, contrast etc., trim a few second of banter off the beginning and end, and uploed it to youtube. Everything is grea

  • Unread and read mail not showing in Mail after upgrading to Yosemite

    Hi there, I recently upgraded to Yosemite. In the Mail app, mail is not showing up properly. I have unread mail, which is not showing up, despite me refreshing or sorting by unread first, and even an email I read this morning on Chrome isn't showing

  • Problem in reports and forms 9i

    hi i want to know the steps to show icons on button in the run time forms i also want previous and next button in report which show the next and previous page of report its urgent please reply as soon as possible thanks monika

  • T61 display idle timer doesn't save

    Thinkpad T61P Windows 7 x64 I use a custom plan for PowerManager.  Each time I boot, the idle timer for "Turn off Display" is set to 5min/20min (battery/AC).  I bring up Power Manager, change them to never/never, and hit the OK button.  The display w

  • Authorisation in VK11

    Hi In VK11  code,  while entering a price I like to have two level of authorisation, a. Sales person will enter a price b. Finance person will approve it. After approval only VK11 price should be activated for sales price calculation. How do I config