Hi, I'm trying to retrieve some values with a Query from the request form. I get the error "Script error in idvault.globalQuery()" in the form.
I'm using the following syntax:

var resultado = IDVault.globalQuery(null, "usuarioPorRecurso", {"parametro":"someString"});

The entity I'm using:






The Query:



In the catalina.out I'm getting:

2017-07-27 15:56:02,426 [ERROR] VirtualDataAccess [RBPM] Ldap error querying for results. Error: javax.naming.directory.InvalidAttributeValueExcept ion: [LDAP: error code 21 - NDS error: no additional information available (-306)]; remaining name 'OU=users,O=data'
javax.naming.directory.InvalidAttributeValueExcept ion: [LDAP: error code 21 - NDS error: no additional information available (-306)]; remaining name 'OU=users,O=data'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3149)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:3082)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2888)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 846)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 69)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:392)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:358)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:341)
at sun.reflect.GeneratedMethodAccessor963.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invokeMethod(EboLdapContextProx yHandler.java:145)
at com.sssw.fw.directory.realm.impl.jndildap.EboLdapC ontextProxyHandler.invoke(EboLdapContextProxyHandl er.java:86)
at com.sun.proxy.$Proxy154.search(Unknown Source)
at com.novell.srvprv.impl.vdata.model.VirtualDataAcce ss.getSearchResults(VirtualDataAccess.java:2324)
at com.novell.srvprv.impl.vdata.model.VirtualDataAcce ss.getEntityResultList(VirtualDataAccess.java:608)
at com.novell.srvprv.impl.vdata.model.VirtualDataMode l.getEntityResultList(VirtualDataModel.java:411)
at com.novell.srvprv.impl.servlet.service.GlobalQuery .execute(GlobalQuery.java:186)
at com.novell.ajax.juice.AjaxServiceHandlerMgr.handle Request(AjaxServiceHandlerMgr.java:88)
at com.novell.ajax.juice.servlet.UIQueryServlet.doPos t(UIQueryServlet.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:661)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:742)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at com.novell.soa.common.i18n.BestLocaleServletFilter .doFilter(BestLocaleServletFilter.java:241)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at com.novell.common.AntiCsrfServletFilter.doFilter(A ntiCsrfServletFilter.java:197)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at com.novell.afw.portal.i18n.CharacterEncodingFilter .doFilter(CharacterEncodingFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at com.novell.common.CrossScriptingFilter.doFilter(Cr ossScriptingFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at com.novell.common.HttpSecurityHeadersFilter.doFilt er(HttpSecurityHeadersFilter.java:132)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:80)
at org.apache.catalina.valves.AbstractAccessLogValve. invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(H ttp11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(A bstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandl er.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProce ssor.doRun(NioEndpoint.java:1455)
at org.apache.tomcat.util.net.SocketProcessorBase.run (SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)


I have migrated from 4.5 to 4.6, so dont know if I'm missing something or if something has changed with the new update. If I try the same Query replacing nrfAssignedResources for CN/GivenName/Surname I dont have any issues. But when I change it for nrfAssignedResources, i get the error.