When creating a project using SAS Contextual Analysis, the following error might be displayed:
When you click Details, messages such as these might be displayed:
The following lines in the SASTextAnalyticsServicesX.Y.log file correspond to this error:
Lines like these are displayed in the SASTextAnalyticsAPIX.Y.log file:
2017-08-06 16:32:08,476 [tomcat-http--19] ERROR [unknown] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SASTextAnalyticsAPI].[SASTextAnalyticsAPI] - Servlet.service() for servlet [SASTextAnalyticsAPI] in context with path [/SASTextAnalyticsAPI] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
at com.sas.ta.service.impl.ProjectServiceImpl.existsWithName(ProjectServiceImpl.java:142)
The problem occurs when these conditions are true:
To confirm whether the conditions are true, take either of these actions:
To work around this issue, change one of the following:
Click the Hot Fix tab in this note to access the hot fix for this issue.
Example:
The Abstract60k library is defined in the /Shared Data/SCASubData metadata folder:
The above errors occur for the sasdemo user. The sasdemo user is not a member of any specific group other than SASUSERS, so the effective permission to the Abstract60k library is determined by the SASUSERS group. In this example, the SASUSERS group has ReadMetadata permission to the Abstract60k library:
However, SASUSERS is denied ReadMetadata permission to the /Shared Data/SCASubData metadata folder:
The SCASubUsers group has ReadMetadata permission to the /Shared Data/SCASubData metadata folder. Only members of this group should have access to the Abstract60k library and the associated metadata folder.
Thus, the sasdemo user is able to read the Abstract60k library but is unable to access the associated /Shared Data/SCASubData metadata location. This discrepancy occurs when libraries that are defined in metadata meet these criteria.
To work around the issue in this example, change one of the following:
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Contextual Analysis | Microsoft® Windows® for x64 | 14.1_M1 | 9.4 TS1M3 | ||
64-bit Enabled AIX | 14.1_M1 | 9.4 TS1M3 | ||||
64-bit Enabled HP-UX | 14.1_M1 | 9.4 TS1M3 | ||||
64-bit Enabled Solaris | 14.1_M1 | 9.4 TS1M3 | ||||
HP-UX | 14.1_M1 | 9.4 TS1M3 | ||||
Linux for x64 | 14.1_M1 | 9.4 TS1M3 | ||||
Solaris for x64 | 14.1_M1 | 9.4 TS1M3 |
A fix for this issue for SAS Contextual Analysis 14.3 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/C4A.html#61970A fix for this issue for SAS Contextual Analysis 14.2 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/C3X.html#61970Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-04-25 08:11:21 |
Date Created: | 2018-03-13 16:20:19 |