Problem Note 67497: A NullPointerException error occurs when you extract and apply metadata for SAS® Model Risk Management
When you extract and apply metadata for SAS Model Risk Management, the RoleMetadata.appxml file is not created and a NullPointerException error occurs, as shown here:
Error: java.lang.NullPointerException
at com.sas.oprisk.server.migration.FilterRoleMetadata.getChildren(FilterRoleMetadata.java:194)
at com.sas.oprisk.server.migration.FilterRoleMetadata.processRole(FilterRoleMetadata.java:152)
at com.sas.oprisk.server.migration.FilterRoleMetadata.saveToXmlFile(FilterRoleMetadata.java:225)
at com.sas.oprisk.server.migration.FilterRoleMetadata.filterRoles(FilterRoleMetadata.java:94)
at com.sas.oprisk.server.migration.MigrateContents.doRun(MigrateContents.java:54)
at com.sas.oprisk.server.cli.CommandLineTool.run(CommandLineTool.java:147)
at com.sas.oprisk.server.migration.MigrateContents.main(MigrateContents.java:24)
The following command is an example of what causes this issue after being entered into the CLI:
./migrateContents.sh ./MRM_metadata.appxml ./RoleMetadata.appxml -a extractRole -c mrm
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk Governance Framework | Microsoft® Windows® for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2016 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Professional x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Linux for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
*
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: | 2021-03-10 16:10:46 |
Date Created: | 2021-02-25 08:18:54 |