Exporting and Importing a rule results with java.lang.NullPointerException in RSA Identity Governance & Lifecycle
Originally Published: 2021-04-29
Article Number
Applies To
RSA Product/Service Type: All
RSA Version/Condition: 7.2.1, 7.5.0
Issue
In environment A
- Create a rule, remediation review, and ruleset
- Assign the remediation review to the rule
- Export the rule, remediation review, and ruleset
In environment B
----------------
- Import the ruleset
- Import the remediation review
- Import rule
Confirm in UI that it was imported successfully.
NOTE: The issue is seen only when each of the objects is imported individually.
Export the rule from environment B. You will see the export failing with a null pointer exception.
Below error seen in aveksaServer.log :
03/30/2021 07:01:22.101 ERROR (default task-15) [com.aveksa.server.export.ExportImportConverter] marshal
com.aveksa.server.runtime.ServerException: java.lang.NullPointerException
at com.aveksa.server.export.proxy.ExportedRule.deNormalize(ExportedRule.java:127)
at com.aveksa.server.export.proxy.ProxyObject.marshall(ProxyObject.java:62)
at com.aveksa.server.export.ExportImportConverter.marshal(ExportImportConverter.java:74)
at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
at com.thoughtworks.xstream.XStream.marshal(XStream.java:1319)
at com.thoughtworks.xstream.XStream$3.writeToStream(XStream.java:2113)
at
Cause
Resolution
- RSA Identity Governance & Lifecycle 7.2.1 P05
- RSA Identity Governance & Lifecycle 7.5.0 P01
Workaround
- Go to the Rules -> Definitions -> Click on imported Rule ->Edit..
- Without doing any updates to the rule, click OK.
- After this step, you can export the rule.
Related Articles
Add entitlements table shows inconsistent results when the Role Set Policy is set to 'Deny entitlements not matching the e… 45Number of Views After upgrading RSA Authentication manager to version 8.6, users AnyConnect are not able to authenticate 15Number of Views RSA SecurID Software Token 5.0 for Windows Quick Start 55Number of Views RSA Authentication Manager 8.x services won't start when network interface adapter eth0 is not found 262Number of Views How to obtain the version information for RSA Authentication Agent for PAM installed on Linux 410Number of Views
Don't see what you're looking for?