Exporting and Importing a rule results with java.lang.NullPointerException in RSA Identity Governance & Lifecycle
2 years ago
Originally Published: 2021-04-29
Article Number
000043154
Applies To
RSA Product Set: RSA Identity Governance & Lifecycle
RSA Product/Service Type: All
RSA Version/Condition: 7.2.1, 7.5.0
 
Issue
Exporting a rule results in failure. This issue occurs in the following use case:
 

In environment A

  1. Create a rule, remediation review, and ruleset
  2. Assign the remediation review to the rule
  3. Export the rule, remediation review, and ruleset

In environment B
----------------

  1. Import the ruleset
  2. Import the remediation review
  3. 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
This is a known issue reported in engineering ticket ACM-110444.
Resolution
This issue is resolved in the following RSA Identity Governance & Lifecycle patch levels: 
  • RSA Identity Governance & Lifecycle 7.2.1 P05
  • RSA Identity Governance & Lifecycle 7.5.0 P01
Workaround
These steps need to be followed after you have imported the rule in Environment B.
  • 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.