"java.lang.NullPointerException" Exception Trying to Allocate a Voucher (Doc ID 1451020.1)

Last updated on SEPTEMBER 02, 2014

Applies to:

Oracle Freight Payment, Billing, and Claims - Version 5.5.06 to 6.1.7 [Release 5.5 to 6.1]
Information in this document applies to any platform.

Symptoms

 Attempting to Allocate a voucher results in the following Exception:

java.lang.NullPointerException
at glog.business.allocation.CostDetail.getKey(CostDetail.java:171)
at glog.business.allocation.metric.weight.calculateBaseOrderCosts(weight.java:90)
at glog.business.allocation.metric.weight.calculateOrderCosts(weight.java:54)
at glog.business.allocation.metric.weight.calculateCosts(weight.java:42)
at glog.business.allocation.Allocation.performAllocation(Allocation.java:1276)
at glog.business.allocation.Allocation.performAllocation(Allocation.java:1164)
at glog.business.allocation.Allocation.doAllocateVoucher(Allocation.java:263)
at glog.business.allocation.AllocationExecutor.allocateVoucher(AllocationExecutor.java:498)
at glog.business.allocation.AllocationSessionBean.allocateVoucher(AllocationSessionBean.java:106)
at glog.business.allocation.AllocationSessionServerSideEJBWrapper.allocateVoucher(AllocationSessionServerSideEJBWrapper.java:100)
at glog.business.allocation.AllocationSessionHome_af67ov_EOImpl.allocateVoucher(AllocationSessionHome_af67ov_EOImpl.java:208)
at glog.business.allocation.gen.AllocationSessionSkel.allocateVoucher(AllocationSessionSkel.java:127)
at glog.business.allocation.gen.AllocationSessionSkel.exec(AllocationSessionSkel.java:42)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:57)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:42)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:46)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

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