Problem Note 66159: A "BadRequestException" error occurs in SAS® Intelligent Decisioning when you publish a decision to the SAS® Micro Analytic Server
In SAS Intelligent Decisioning, you can publish a decision to the SAS Micro Analytic Server. When you do, the publish process might fail with the following error:
com.sas.mas.service.impl.JobConsumer : service [4839930c2ea4db07] Failed to process job 2b2b7a8f-7969-4a99-89b5-d98736444a92 for XXX submitted on XXX.
com.sas.commons.rest.exceptions.http.BadRequestException: Cannot create or update the module. More than one DS2 package was found in the source code.
at com.sas.mas.service.impl.DS2ModuleHandler.parse(DS2ModuleHandler.java:80)
at com.sas.mas.service.impl.ModuleManager.lambda$findAndLoadDependencies$0(ModuleManager.java:258)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at com.sas.mas.service.impl.ModuleManager.findAndLoadDependencies(ModuleManager.java:250)
at com.sas.mas.service.impl.ModuleManager.createJPAModuleInfo(ModuleManager.java:399)
To work around this problem:
- Locate the DS2 code file or files in the decision where you have ENDPACKAGE defined.
- Replace it with endpackage and save it.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS Intelligent Decisioning | Linux for x64 | 5.4 | | Viya | |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-06-30 08:40:00 |
Date Created: | 2020-06-18 15:39:33 |