Receiving a "java.lang.NullPointerException" When Clicking on the SmartLink Edit Option When Already in Edit Mode (Doc ID 804234.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5 to 5.5.05.06
This problem can occur on any platform.

Symptoms

-- Problem Statement:

When attempting to use the "Edit" option from the SmartLink button from while editing an business object, the following Exception is presented:

java.lang.NullPointerException
at glog.webserver.util.Producer.getPkFromChild(Producer.java:560)
at glog.server.producer.ProducerBean.createMasterElementRemote(ProducerBean.java:56)
at
glog.server.producer.ProducerServerSideEJBWrapper.createMasterElementRemote(ProducerServerSideEJBWrapper.java:32)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at
com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43)
at
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at
com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
at
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at
com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at
com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at producer_Producer_RemoteProxy_2ch7mhp.createMasterElementRemote(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:534)

This only occurs after editing the object a second time. For example, when clicking the Edit button from the Results Page of a previous edit.

-- Steps To Reproduce (using the Business Object "BILL" as an example)

1. Navigate to Financials -> Billing Management -> Billing
2. Search for and Edit a Bill
3. Click Finished to save your changes
4. Click Edit from the Results screen
5. Click the Smart Link icon (top of page)
6. Click on the "Edit" option.

This will present the Null Pointer Exception to the screen

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