Hi Clement,


It is giving below error now:



Jan 29 16:51:41 - ERROR - Fail to compute expression:

             rjs:

                var membersSrc = 
srcBean.getDatasetFirstValueById("uniqueMember");

                var membersSrcDn = membersSrc.split(',');

                var membersDstDn = [];

                for  (var i=0; i<membersSrcDn.size(); i++) {

                   var memberSrcDn = membersSrcDn.get(i);

                   var uid = memberSrcDn;

                   var destDn = ldap.search("cn=Users,dc=testrjil,dc=net", 
"(sAMAccountName=" + uid + ")");

                   if (destDn.size() == 0 || destDn.size() > 1) {

                     continue;

                   }

                   var destMemberDn = destDn.get(0) + "," +  
ldap.getContextDn();

                   membersDstDn.push(destMemberDn);

                 }

                 membersDstDn



               on id=demogrp2

Reason: javax.script.ScriptException: 
sun.org.mozilla.javascript.EvaluatorException: Java class "[Ljava.lang.String;" 
has no public instance field or method named "size". (<Unknown source>#8) in 
<Unknown source> at line number 8

Jan 29 16:51:41 - ERROR - Error while synchronizing ID {groupname=demogrp2}: 
org.lsc.exception.LscServiceException: javax.script.ScriptException: 
sun.org.mozilla.javascript.EvaluatorException: Java class "[Ljava.lang.String;" 
has no public instance field or method named "size". (<Unknown source>#8) in 
<Unknown source> at line number 8



Please suggest.



-Hardik
"Confidentiality Warning: This message and any attachments are intended only 
for the use of the intended recipient(s). 
are confidential and may be privileged. If you are not the intended recipient. 
you are hereby notified that any 
review. re-transmission. conversion to hard copy. copying. circulation or other 
use of this message and any attachments is 
strictly prohibited. If you are not the intended recipient. please notify the 
sender immediately by return email. 
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure 
no viruses are present in this email. 
The company cannot accept responsibility for any loss or damage arising from 
the use of this email or attachment."
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to