Novell Home

My Favorites

Close

Please to see your favorites.

Identity Manager calling ECMA Script from Health Job causing Exception

This document (7014364) is provided subject to the disclaimer at the end of this document.

Environment


Novell Identity Manager 4.0

Situation

Calling an ECMA Script from the Driver Health Job configuration causes an exception when the health job is running.

ECMA Script:
function HealthGreen( ) {
    var s1 = "Green Health";
    return s1;
}
HealthGreen( );
When the Health Job is being processed it will result in:

3866531584 DVRS: [2013/12/12  1:11:33.963] Health Job JT:: Processing object '\SLES11IDM\system\driverset1\EntitlementDriver'
3866531584 DVRS: [2013/12/12  1:11:33.964] Health Job JT:
Job Intermediate Result -------------------
     Job:     \SLES11IDM\system\driverset1\Health Job
     Status:  Error
     Object:   \SLES11IDM\system\driverset1\EntitlementDriver
     Message: java.lang.NullPointerException

Engine Trace - normal "Generate Event" 3862320896 DVRS: [2013/12/12  1:07:04.754] Health Job JT::     evaluating state: green
3862320896 DVRS: [2013/12/12  1:07:04.754] Health Job JT::     current health state: green
3862320896 DVRS: [2013/12/12  1:07:04.754] Health Job JT::       Trying to execute generate event action
3862320896 DVRS: [2013/12/12  1:07:04.771] Health Job JT: Job Intermediate Result -------------------
     Job:     \SLES11IDM\system\driverset1\Health Job
     Status:  Success
     Object:   \SLES11IDM\system\driverset1\EntitlementDriver

Resolution

Modifying the Driver Health Configuration Action in iManager will fix the issue.


Cause

The reason is that when Designer is deploying the Health Driver configuration it will set the action DN (ECMA Script) incorrectly.

Created with iManager:
<actions>
    <execute-ecmascript resource-dn="Health.EntitlementDriver.driverset1.system"/>
</actions>

Created with Designer:
<actions>
    <execute-ecmascript resource-dn="Health.EntitlementDriver.driverset1.SLES11IDM"/>
</actions>

This have been reported to engineering.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014364
  • Creation Date:02-JAN-14
  • Modified Date:02-JAN-14
    • NetIQIdentity Manager

Did this document solve your problem? Provide Feedback