SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 54324: A null-pointer exception occurs when you edit a risk from an assessment in SAS® Enterprise GRC

DetailsHotfixAboutRate It

In SAS Enterprise GRC, you might receive a null-pointer exception similar to the following when you edit a risk from an assessment after you apply the fifth maintenance level for SAS Enterprise GRC 5.1_M5:

Caused by: java.lang.NullPointerException at com.sas.oprisk.monitor.web.csa.riskInstance.RecommendationTableAction.getQueryObjects (RecommendationTableAction.java:104) at com.sas.oprisk.monitor.web.table.CustomTableAction.doQuery (CustomTableAction.java:191) at com.sas.oprisk.monitor.web.table.CustomTableAction.setTableComponentParams (CustomTableAction.java:405) at com.sas.oprisk.monitor.web.table.CustomTableAction.doExecute(CustomTableAction.java

Another indication of this problem is a missing scroll bar. Or, the page-down feature fails to work when you edit the assessment.

You might also have an exception similar to the following in your SAS Enterprise GRC log:

Caused by: toString(getLocationWithUniformDimensionNode(TEMP.context, TEMP.riskType)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error evaluating function with name "GETLOCATIONWITHUNIFORMDIMENSIONNODE" at position 9. Exception: com.sas.solutions.cpb.runtime.EvaluationException: com.sas.oprisk.framework.server.persistence.UniqueKeyViolationException: An object with that ID already exists: ORA-00001: unique constraint (GRC.DIM_PT_AK1) violated at com.sas.solutions.cpb.expr.ExpressionEvaluator.visit (ExpressionEvaluator.java:395) at com.sas.solutions.cpb.expr.ASTNode$ASTFunctionCallNode.accept (ASTNode.java:612) at com.sas.solutions.cpb.expr.ExpressionEvaluator.visit (ExpressionEvaluator.java:377) at com.sas.solutions.cpb.expr.ASTNode$ASTFunctionCallNode.accept (ASTNode.java:612) at com.sas.solutions.cpb.expr.ExpressionEvaluator.evaluate (ExpressionEvaluator.java:83) at com.sas.solutions.cpb.expr.ExpressionEvaluator.evaluate (ExpressionEvaluator.java:77) at com.sas.solutions.cpb.expr.Expression.evaluate(Expression.java:249)

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 Enterprise GRCMicrosoft® Windows® for x645.1_M59.3 TS1M2
Microsoft Windows 8 Enterprise 32-bit5.1_M59.3 TS1M2
Microsoft Windows 8 Enterprise x645.1_M59.3 TS1M2
Microsoft Windows 8 Pro 32-bit5.1_M59.3 TS1M2
Microsoft Windows 8 Pro x645.1_M59.3 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit5.1_M59.3 TS1M2
Microsoft Windows 8.1 Enterprise x645.1_M59.3 TS1M2
Microsoft Windows 8.1 Pro5.1_M59.3 TS1M2
Microsoft Windows 8.1 Pro 32-bit5.1_M59.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition5.1_M59.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition5.1_M59.3 TS1M2
Microsoft Windows Server 2003 Standard Edition5.1_M59.3 TS1M2
Microsoft Windows Server 2003 for x645.1_M59.3 TS1M2
Microsoft Windows Server 20085.1_M59.3 TS1M2
Microsoft Windows Server 2008 R25.1_M59.3 TS1M2
Microsoft Windows Server 2008 for x645.1_M59.3 TS1M2
Microsoft Windows Server 2012 Datacenter5.1_M59.3 TS1M2
Microsoft Windows Server 2012 R2 Datacenter5.1_M59.3 TS1M2
Microsoft Windows Server 2012 R2 Std5.1_M59.3 TS1M2
Microsoft Windows Server 2012 Std5.1_M59.3 TS1M2
Microsoft Windows XP Professional5.1_M59.3 TS1M2
Windows 7 Enterprise 32 bit5.1_M59.3 TS1M2
Windows 7 Enterprise x645.1_M59.3 TS1M2
Windows 7 Home Premium 32 bit5.1_M59.3 TS1M2
Windows 7 Home Premium x645.1_M59.3 TS1M2
Windows 7 Professional 32 bit5.1_M59.3 TS1M2
Windows 7 Professional x645.1_M59.3 TS1M2
Windows 7 Ultimate 32 bit5.1_M59.3 TS1M2
Windows 7 Ultimate x645.1_M59.3 TS1M2
Windows Vista5.1_M59.3 TS1M2
Windows Vista for x645.1_M59.3 TS1M2
64-bit Enabled AIX5.1_M59.3 TS1M2
64-bit Enabled Solaris5.1_M59.3 TS1M2
HP-UX IPF5.1_M59.3 TS1M2
Linux for x645.1_M59.3 TS1M2
Solaris for x645.1_M59.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.