Null Pointer When Editing Logic Configuration - Unknown service: ejb.LogicConfig (Doc ID 729526.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5 and later   [Release: 5.5 and later ]
Information in this document applies to any platform.
Checked for relevance on 09-Mar-2010

Symptoms

-- Problem Statement:

After upgrading to 5.5 CU5 from a previous 5.5 CU version on an OTM installation using WebSphere as
the Application Server, the following error is encountered when trying to edit and save a Logic Configuration ID.

java.lang.NullPointerException
at glog.util.remote.BeanBaseInvoker.invoke(BeanBaseInvoker.java(Compiled Code))
at glog.util.remote.EntityBeanHomeInvoker.findByPrimaryKey(EntityBeanHomeInvoker.java(CompiledCode))
at glog.util.genericcontainer.BeanDataSessionBean.readBeanData(BeanDataSessionBean.java:32)
at
glog.util.genericcontainer.BeanDataSessionServerSideEJBWrapper.readBeanData(BeanDataSessionServerSideEJBWrapper.java:34)
at
glog.util.genericcontainer.EJSRemoteStatelessBeanDataSessionHome_9e5a3106.readBeanData(UnknownSource)
at glog.util.genericcontainer._BeanDataSession_Stub.readBeanData(_BeanDataSession_Stub.java:262)
at glog.util.genericcontainer.gen.BeanDataSessionSkel.readBeanData(BeanDataSessionSkel.java:54)
at glog.util.genericcontainer.gen.BeanDataSessionSkel.exec(BeanDataSessionSkel.java:32)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java(Inlined Compiled Code))
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java(Compiled Code))
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java(CompiledCode))
at glog.server.wrapper.EJSRemoteStatelessWrapperSessionHome_d7ca019c.execDispatch(UnknownSource)
at glog.server.wrapper._WrapperSession_Stub.execDispatch(_WrapperSession_Stub.java:271)
at glog.webserver.wrapper.BaseWrapper.execDispatch(BaseWrapper.java:100)
at
glog.util.genericcontainer.gen.BeanDataSessionWrapper.readBeanData(BeanDataSessionWrapper.java:40)
at
glog.webserver.update.GenericContainerXMLUpdate.fetchBeanData(GenericContainerXMLUpdate.java:254)
at glog.webserver.update.GenericContainerXMLUpdate.modify(GenericContainerXMLUpdate.java:209)
at glog.webserver.update.GenericContainerXMLUpdate.process(GenericContainerXMLUpdate.java:128)
at glog.server.xmlupdate.XMLUpdateSessionBean.updateAndTrack(XMLUpdateSessionBean.java(CompiledCode))
at
glog.server.xmlupdate.XMLUpdateSessionServerSideEJBWrapper.updateAndTrack(XMLUpdateSessionServerSideEJBWrapper.java(CompiledCode))
at glog.server.xmlupdate.EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b.updateAndTrack(UnknownSource)
at
glog.server.xmlupdate._EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.updateAndTrack__glog_webserver_util_XMLContainer__CORBA_WStringValue__CORBA_WStringValue__glog_webserver_umt_UserPreference__
glog_server_wrapper_WrapperEventInfo__glog_util_persistence_PersistenceHandler(_EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.java:376)
at
glog.server.xmlupdate._EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie._invoke(_EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.java:132)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java(Compiled Code))
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java(Compiled Code))
at com.ibm.rmi.iiop.ORB.process(ORB.java(Compiled Code))
at com.ibm.CORBA.iiop.ORB.process(ORB.java(Compiled Code))
at com.ibm.rmi.iiop.Connection.doWork(Connection.java(Compiled Code))
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java(Compiled Code))
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

In reviewing the logs, the following error can be found:

Exception Unknown service: ejb.LogicConfig
javax.naming.NameNotFoundException: Context:
pl1ua120Node01Cell/nodes/pl1ua120Node01/servers/server1, name: ejb.LogicConfig: First component in
name ejb.LogicConfig not found. [Root exception is
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]

javax.naming.NameNotFoundException: Context:
pl1ua120Node01Cell/nodes/pl1ua120Node01/servers/server1, name: ejb.LogicConfig: First component in
name ejb.LogicConfig not found. Root exception is
org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at
com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:543)
at
com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2213)
at com.ibm.WsnOptimizedNaming._NamingContextStub.resolve_complete_info(Unknown Source)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:4043)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1746)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1707)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1412)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1290)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:145)
at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
at glog.util.remote.NamingDirectory.lookupContext(NamingDirectory.java(Compiled Code))
at glog.util.remote.NamingDirectory.lookup(NamingDirectory.java(Compiled Code))
at glog.util.remote.EntityBeanHomeInvoker.<init>(EntityBeanHomeInvoker.java(Compiled Code))
at glog.util.genericcontainer.BeanDataSessionBean.readBeanData(BeanDataSessionBean.java:31)
at
glog.util.genericcontainer.BeanDataSessionServerSideEJBWrapper.readBeanData(BeanDataSessionServerSideEJBWrapper.java:34)
at
glog.util.genericcontainer.EJSRemoteStatelessBeanDataSessionHome_9e5a3106.readBeanData(UnknownSource)
at glog.util.genericcontainer._BeanDataSession_Stub.readBeanData(_BeanDataSession_Stub.java:262)
at glog.util.genericcontainer.gen.BeanDataSessionSkel.readBeanData(BeanDataSessionSkel.java:54)
at glog.util.genericcontainer.gen.BeanDataSessionSkel.exec(BeanDataSessionSkel.java:32)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java(Inlined Compiled Code))
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java(Compiled Code))
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java(CompiledCode))
at glog.server.wrapper.EJSRemoteStatelessWrapperSessionHome_d7ca019c.execDispatch(UnknownSource)
at glog.server.wrapper._WrapperSession_Stub.execDispatch(_WrapperSession_Stub.java:271)
at glog.webserver.wrapper.BaseWrapper.execDispatch(BaseWrapper.java:100)
at
glog.util.genericcontainer.gen.BeanDataSessionWrapper.readBeanData(BeanDataSessionWrapper.java:40)
at
glog.webserver.update.GenericContainerXMLUpdate.fetchBeanData(GenericContainerXMLUpdate.java:254)
at glog.webserver.update.GenericContainerXMLUpdate.modify(GenericContainerXMLUpdate.java:209)
at glog.webserver.update.GenericContainerXMLUpdate.process(GenericContainerXMLUpdate.java:128)
at glog.server.xmlupdate.XMLUpdateSessionBean.updateAndTrack(XMLUpdateSessionBean.java(CompiledCode))
at
glog.server.xmlupdate.XMLUpdateSessionServerSideEJBWrapper.updateAndTrack(XMLUpdateSessionServerSideEJBWrapper.java(CompiledCode))
at glog.server.xmlupdate.EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b.updateAndTrack(UnknownSource)
at
glog.server.xmlupdate._EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.updateAndTrack__glog_webserver_util_XMLContainer__CORBA_WStringValue__CORBA_WStringValue__glog_webserver_umt_UserPreference__
glog_server_wrapper_WrapperEventInfo__glog_util_persistence_PersistenceHandler(_EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.java:376)
at
glog.server.xmlupdate._EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie._invoke(_EJSRemoteStatelessXMLUpdateSessionHome_8179fa5b_Tie.java:132)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java(Compiled Code))
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java(Compiled Code))
at com.ibm.rmi.iiop.ORB.process(ORB.java(Compiled Code))
at com.ibm.CORBA.iiop.ORB.process(ORB.java(Compiled Code))
at com.ibm.rmi.iiop.Connection.doWork(Connection.java(Compiled Code))
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java(Compiled Code))
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

-- Steps To Reproduce:
1. Navigate to Transportation Planning and Execution -> Power Data -> Planning -> Logic Configuration.
2. Search for and edit any record.
3. Click Finished.

The error will be displayed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms