2 Replies Latest reply: Apr 11, 2013 1:25 AM by NeoSong RSS

    Please help me about an error of JBO-26022

    NeoSong
      My jdev version is 11.1.2.3 and weblogic server version is 10.3.5.
      I test a example from oracle jdev code corner, which is "68-contextual-event-table-selection-262529", and it is about table selection event handling.
      Then I tried the method in my own example adf application but an error occured. I can't figure out how to resolve it.
      It seems the error has something with the class "org.apache.myfaces.trinidad.event.SelectionListener".

      the log is as below:

      Target URL -- http://127.0.0.1:7101/varCatchAndDisplay-ViewController-context-root/faces/getVar.jsf
      <2013-4-11 上午11时28分04秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext@2527622[app:varCatchAndDisplay module:varCatchAndDisplay-ViewController-context-root path:/varCatchAndDisplay-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
      oracle.jbo.CustomClassNotFoundException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26022. Error message parameters are {0=org.apache.myfaces.trinidad.event.SelectionListener}
           at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:121)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
           at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
           at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
           at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
           at java.lang.Class.newInstance0(Class.java:340)
           at java.lang.Class.newInstance(Class.java:308)
           at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:115)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
           at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
           Truncated. see log file for complete stacktrace
      >
      <2013-4-11 上午11时28分04秒 CST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 2013-4-11 上午11时28分04秒 CST. Notification details:
      WatchRuleType: Log
      WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
      WatchData: DATE = 2013-4-11 上午11时28分04秒 CST SERVER = DefaultServer MESSAGE = [ServletContext@2527622[app:varCatchAndDisplay module:varCatchAndDisplay-ViewController-context-root path:/varCatchAndDisplay-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
      oracle.jbo.CustomClassNotFoundException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-26022. Error message parameters are {0=org.apache.myfaces.trinidad.event.SelectionListener}
           at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:121)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
           at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
           at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
           at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
           at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1283)
           at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
           at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
           at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
           at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
           at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
           at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
           at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:112)
           at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1645)
           at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:384)
           at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:259)
           at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
           at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
           at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
           at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
           at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
           at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
           at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
           at java.lang.Class.newInstance0(Class.java:340)
           at java.lang.Class.newInstance(Class.java:308)
           at oracle.adf.model.binding.DCUtil.createNewInstance(DCUtil.java:115)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:344)
           at oracle.adf.model.binding.DCBindingContainerDef.loadControlDefs(DCBindingContainerDef.java:1661)
           at oracle.adf.model.binding.DCBindingContainerDef.loadChildrenFromXML(DCBindingContainerDef.java:1279)
           at oracle.adf.model.binding.DCDefBase.loadFromXML(DCDefBase.java:325)
           at oracle.adf.model.binding.DCDefBase.createAndLoadFromXML(DCDefBase.java:409)
           at oracle.jbo.uicli.mom.JUMetaObjectManager.createFromXML(JUMetaObjectManager.java:1283)
           at oracle.jbo.mom.PersistableDefObject.createFromXML(PersistableDefObject.java:84)
           at oracle.jbo.mom.DefinitionManager.loadDefObject(DefinitionManager.java:961)
           at oracle.jbo.mom.DefinitionManager.doFindSessionDefObject(DefinitionManager.java:1037)
           at oracle.jbo.mom.DefinitionManager.findSessionDefObject(DefinitionManager.java:705)
           at oracle.adf.model.binding.DCBindingContainerDef.findSessionDefObject(DCBindingContainerDef.java:351)
           at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:316)
           at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:112)
           at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1645)
           at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:384)
           at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:259)
           at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
           at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
           at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
           at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
           at java.security.AccessController.doPrivileged(Native Method)
           at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
           at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
           at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
           at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
           at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Neo-PC TXID = CONTEXTID = 4e666f50a13e7378:-4165eede:13df6fbc123:-8000-000000000000012e TIMESTAMP = 1365650884295
      WatchAlarmType: AutomaticReset
      WatchAlarmResetPeriod: 30000
      >
      <DiagnosticsDataExtractorImpl> <createADRIncident> 使用问题关键字 "DFW-99998 [java.lang.InstantiationException][oracle.adf.model.binding.DCUtil.createNewInstance][varCatchAndDisplay]" 控制了意外事件涌进