Hi All,

I am getting an exception on role assignment to a user using a
subscriber channel trigger from loopback driver. I am using 4.5 Identity
Manager.The exception is
Message: Code(-9010) An exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 2

Please find the detail log

<source>
<product edition="Advanced" version="4.5.0.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<trigger
event-id="trigger-jobeleteTerminateUsers#20150219122818#0#0"
source="DeleteTerminateUsers">
<operation-data source="DeleteTerminateUsers"/>
</trigger>
</input>
</nds>
[02/19/15 06:28:18.712]:looopback.log ST:Subscriber processing trigger
for .
[02/19/15 06:28:18.712]:looopback.log ST:Submitting unknown event to
subscriber shim.
[02/19/15 06:28:18.712]:looopback.log ST:Applying command transformation
policies.
[02/19/15 06:28:18.712]:looopback.log ST:Applying policy:
%+C%14Cbwwpolicy-BWWIDM-LB-sub-ctp%-C.
[02/19/15 06:28:18.713]:looopback.log ST: Applying to trigger #1.
[02/19/15 06:28:18.713]:looopback.log ST: Evaluating selection
criteria for rule 'Set Resource for Employees'.
[02/19/15 06:28:18.713]:looopback.log ST: (if-xpath true
"self::trigger[@source='AssignRoleToUsers']") = TRUE.
[02/19/15 06:28:18.713]:looopback.log ST: Rule selected.
[02/19/15 06:28:18.713]:looopback.log ST: Applying rule 'Set Role for
Employees'.
[02/19/15 06:28:18.713]:looopback.log ST: Action:
do-add-role(id="$UserAppAdmin$",role-id="CN=BWLD_Scout_Provisioning,CN=Level20,CN=RoleD efs,CN=RoleConfig,CN=AppCo
nfig,CN=UserApplication,CN=driverset1,O=system",ti me-out="0",url="$UAProvURL$",arg-password(token-named-password("uaadminPassword")),arg-dn("CN=T0001001"+",OU=Employees
,O=BWW")).
[02/19/15 06:28:18.713]:looopback.log ST: Expanded variable
reference '$UAProvURL$' to 'http://idm.bwldstg.com:8180/IDMProv'.
[02/19/15 06:28:18.714]:looopback.log ST: Expanded variable
reference '$UserAppAdmin$' to 'cn=uaadmin,ou=SA,o=BWW'.
[02/19/15 06:28:18.714]:looopback.log ST:
arg-password(token-named-password("uaadminPassword"))
[02/19/15 06:28:18.714]:looopback.log ST:
token-named-password("uaadminPassword")
[02/19/15 06:28:18.714]:looopback.log ST: Retrieving password
value for named password 'uaadminPassword'.
[02/19/15 06:28:18.715]:looopback.log ST: Token Value: "--
suppressed --".
[02/19/15 06:28:18.715]:looopback.log ST: Arg Value: "--
suppressed --".
[02/19/15 06:28:18.715]:looopback.log ST:
arg-dn("CN=T0001001"+",OU=Employees,O=BWW")
[02/19/15 06:28:18.715]:looopback.log ST:
token-text("CN=T0001001")
[02/19/15 06:28:18.715]:looopback.log ST:
token-text(",OU=Employees,O=BWW")
[02/19/15 06:28:18.715]:looopback.log ST: Arg Value:
"CN=T0001001,OU=Employees,O=BWW".
[02/19/15 06:28:18.716]:looopback.log ST:Processing returned document.
[02/19/15 06:28:18.716]:looopback.log ST:Processing operation <status>
for .
[02/19/15 06:28:18.716]:looopback.log ST:
DirXML Log Event -------------------
Driver: \BWLD-IDV-STG\system\driverset1\Loopback Driver
Channel: Subscriber
Status: Error
Message: Code(-9010) An exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 2
at
com.novell.nds.dirxml.engine.rules.DoAddRole.apply (DoAddRole.java:179)
at
com.novell.nds.dirxml.engine.rules.ActionSet.apply (ActionSet.java:180)
at
com.novell.nds.dirxml.engine.rules.DirXMLScriptPro cessor.applyRules(DirXMLScriptProcessor.java:307)
at
com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:398)
at
com.novell.nds.dirxml.engine.Subscriber.execute(Su bscriber.java:285)
at
com.novell.nds.dirxml.engine.Subscriber$CustomOpPr ocessor.process(Subscriber.java:1287)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nt(Subscriber.java:1132)
at
com.novell.nds.dirxml.engine.Subscriber.processEve nts(Subscriber.java:949)
at
com.novell.nds.dirxml.engine.Driver.submitTransact ion(Driver.java:764)
at
com.novell.nds.dirxml.engine.DriverEntry.submitTra nsaction(DriverEntry.java:1128)
at
com.novell.nds.dirxml.engine.DriverEntry.processCa chedTransaction(DriverEntry.java:1012)
at
com.novell.nds.dirxml.engine.DriverEntry.eventLoop (DriverEntry.java:820)
at
com.novell.nds.dirxml.engine.DriverEntry.run(Drive rEntry.java:597)
at java.lang.Thread.run(Thread.java:745)


Thanks in Advance for your suggestion.


--
joydeep9j
------------------------------------------------------------------------
joydeep9j's Profile: https://forums.netiq.com/member.php?userid=4754
View this thread: https://forums.netiq.com/showthread.php?t=52905