SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 43135: NullPointerException might be thrown when clicking on the Optimization Results tab

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Pack OptimizationMicrosoft Windows Server 20082.2_M13.29.2 TS2M39.3 TS1M1
64-bit Enabled AIX2.2_M13.29.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition2.2_M13.29.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition2.2_M13.29.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition2.2_M13.29.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x642.2_M13.29.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x642.2_M13.29.2 TS2M39.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.