Problem Note 43135: NullPointerException might be thrown when clicking on the Optimization Results tab
In SAS® Pack Optimization, a null pointer exception might be thrown when clicking on the Optimization Results tab if all of the following conditions are true:
- There is a multi-delivery pack recommendation request.
- Optimization recommends the same pack configuration in more than one delivery.
- The pack is not used in all deliveries.
Error message similar to the following might be displayed in the distudio.log:
java.lang.NullPointerException
at com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl.getModelMemberPacks(PKOPurchaseOrderServiceImpl.java:13539)
at com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl.getPacks(PKOPurchaseOrderServiceImpl.java:13625)
at com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl.fillInOuterPacks(PKOPurchaseOrderServiceImpl.java:11612)
at com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl.getPackTotals(PKOPurchaseOrderServiceImpl.java:11570)
at com.sas.solutions.di.server.pko.purchaseorder.PKOPurchaseOrderServiceImpl.getPackTotals(PKOPurchaseOrderServiceImpl.java:11630)
at sun.reflect.GeneratedMethodAccessor957.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy193.getPackTotals(Unknown Source)
at sun.reflect.GeneratedMethodAccessor967.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
......
There is no workaround for this issue.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Pack Optimization | Microsoft Windows Server 2008 | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
64-bit Enabled AIX | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Standard Edition | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Enterprise Edition | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Datacenter Edition | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 for x64 | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2008 for x64 | 2.2_M1 | 3.2 | 9.2 TS2M3 | 9.3 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
NullPointerException might be thrown when clicking on the Optimization Results tab.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2012-11-14 11:18:39 |
Date Created: | 2011-05-02 16:04:02 |