SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50369: Publishing a model to a metadata folder returns "Java exception: java.lang.NullPointerException"

DetailsHotfixAboutRate It

In SAS® Model Manager, if you try to publish a model to a metadata folder, then the following Java error might be displayed:

java.lang.NullPointerException 
  at com.sas.modelmanager.impl.ModelManagementDelegate.checkDuplicateMiningResult
    (ModelManagementDelegate.java:1312) 
  at com.sas.modelmanager.impl.ModelManagementDelegate.checkDuplicateMiningResult
    (ModelManagementDelegate.java:1345) 
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
    (DelegatingMethodAccessorImpl.jav a:25) 
  at java.lang.reflect.Method.invoke(Method.java:597) 
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
    (AopUtils .java:309) 
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (Ref lectiveMethodInvocation.java:183) 
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
    (ReflectiveM ethodInvocation.java:150)

The problem occurs if the metadata folder already contains data mining results from SAS® Enterprise Miner™.

A workaround is to create a new metadata folder that contains only models that are published by SAS Model Manager.

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 Model ManagerMicrosoft Windows Server 2008 for x6412.112.1_M19.3 TS1M29.3 TS1M2
Microsoft Windows Server 2008 R2 for x6412.112.1_M19.3 TS1M29.3 TS1M2
Microsoft Windows Server 200812.112.1_M19.3 TS1M29.3 TS1M2
Microsoft® Windows® for x6412.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Enterprise 32 bit12.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Enterprise x6412.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Home Premium 32 bit12.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Home Premium x6412.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Professional 32 bit12.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Professional x6412.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Ultimate 32 bit12.112.1_M19.3 TS1M29.3 TS1M2
Windows 7 Ultimate x6412.112.1_M19.3 TS1M29.3 TS1M2
64-bit Enabled AIX12.112.1_M19.3 TS1M29.3 TS1M2
64-bit Enabled Solaris12.112.1_M19.3 TS1M29.3 TS1M2
HP-UX IPF12.112.1_M19.3 TS1M29.3 TS1M2
Linux for x6412.112.1_M19.3 TS1M29.3 TS1M2
Solaris for x6412.112.1_M19.3 TS1M29.3 TS1M2
* 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.