2 Replies Latest reply: Jan 29, 2013 4:01 PM by 987930 RSS

    NullPointerException thrown in human task details page

    929640
      I am getting a NPE when the task details page is rendered. Of course the task details with the task header, actions.. is rendered properly but there is this NPE thrown to UI.
      the following is the error.

      230e2ece:1382be8db99:-8000-000000000000218e,0] [APP: OcOrdersApprovalsUi#V2.0] Failed to register config mbean for OcOrdersApprovalsUi.
      [2012-06-27T01:59:14.954-07:00] [AdminServer] [ERROR] [] [oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 10faae0fe88db3af:-230e2ece:1382be8db99:-8000-000000000000218e,0] [APP: OcOrdersApprovalsUi#V2.0] [[
      java.lang.Exception: java.lang.NullPointerException
      at oracle.adf.share.jndi.MDSBackingStore.obtainMetadataObject(MDSBackingStore.java:530)
      at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:572)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:192)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:183)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:174)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:166)
      at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:131)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)

      Caused by: java.lang.NullPointerException
      at oracle.mds.internal.persistence.NamespaceRulesImpl.<init>(NamespaceRulesImpl.java:123)
      at oracle.mds.internal.persistence.NamespaceRules.getNamespaceRulesObj(NamespaceRules.java:72)
      at oracle.mds.internal.util.ChangeUtil.convertToMOEvents(ChangeUtil.java:134)
      at oracle.mds.internal.notifications.EventNotificationManager.handleChanges(EventNotificationManager.java:490)
      at oracle.mds.internal.notifications.EventNotificationManager.handlePChanges(EventNotificationManager.java:291)
      at oracle.mds.core.MOState.signalStale(MOState.java:1185)
      at oracle.mds.core.MOState.signalStale(MOState.java:644)
      at oracle.mds.core.MOState.checkStalenessDocFromBuilder(MOState.java:739)
      at oracle.mds.core.MOState.getIsStaleLastModified(MOState.java:559)
      at oracle.mds.core.MOContent.getIsStaleLastModified(MOContent.java:277)
      at oracle.mds.core.ChainedMOContent.getIsStaleLastModified(ChainedMOContent.java:142)
      at oracle.mds.core.MetadataObject.isStale(MetadataObject.java:823)
      at oracle.adf.share.jndi.MDSBackingStore.obtainMetadataObject(MDSBackingStore.java:517)
      at oracle.adf.share.jndi.MDSBackingStore.getMOBean(MDSBackingStore.java:572)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.init(RuntimeMXBeanImpl.java:192)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:182)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:173)
      at oracle.adf.mbean.share.config.RuntimeMXBeanImpl.<init>(RuntimeMXBeanImpl.java:165)
      at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:130)
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

      Edited by: MSK on Jun 27, 2012 4:45 PM