[
https://jira.nuxeo.org/browse/NXP-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laurent Doguin resolved NXP-5397.
---------------------------------
Resolution: Fixed
No NPE when filter is null or empty.
http://hg.nuxeo.org/nuxeo/nuxeo-services/rev/985d88f110a5
> Fix NPE in when LDAP url syntax is incorrect
> --------------------------------------------
>
> Key: NXP-5397
> URL: https://jira.nuxeo.org/browse/NXP-5397
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Reporter: Laurent Doguin
> Assignee: Laurent Doguin
> Fix For: 5.4
>
>
> Here is the error
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> org.nuxeo.ecm.directory.DirectoryException. message: error during reference
> search for int1
> at
> org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:596)
> at
> org.nuxeo.ecm.directory.InverseReference.getTargetIdsForSource(InverseReference.java:98)
> at
> org.nuxeo.ecm.directory.ldap.LDAPSession.ldapResultToDocumentModel(LDAPSession.java:826)
> ... 77 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> org.nuxeo.ecm.directory.DirectoryException. message: could not parse LDAP
> filter:
> at
> org.nuxeo.ecm.directory.ldap.LDAPFilterMatcher.match(LDAPFilterMatcher.java:76)
> at
> org.nuxeo.ecm.directory.ldap.LDAPReference.getSourceIdsForTarget(LDAPReference.java:586)
> ... 79 more
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> java.lang.NullPointerException. message: null
> at
> org.nuxeo.ecm.directory.ldap.LDAPFilterMatcher.recursiveMatch(LDAPFilterMatcher.java:92)
> at
> org.nuxeo.ecm.directory.ldap.LDAPFilterMatcher.match(LDAPFilterMatcher.java:74)
> ... 80 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets