]
Boleslaw Dawidowicz resolved GTNPORTAL-1677.
--------------------------------------------
Resolution: Done
NullPointerException with LDAP in GroupDAOImpl.findGroups
---------------------------------------------------------
Key: GTNPORTAL-1677
URL:
https://jira.jboss.org/browse/GTNPORTAL-1677
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Boleslaw Dawidowicz
Assignee: Boleslaw Dawidowicz
Fix For: 3.2.0-GA
After configuring GateIn with LDAP, configuring portlets in edit mode fails with a
NullPointerException:
Caused by: java.lang.NullPointerException
at
org.exoplatform.services.organization.idm.GroupDAOImpl.findGroups(GroupDAOImpl.java:364)
at
org.exoplatform.webui.organization.UIGroupMembershipSelector.<init>(UIGroupMembershipSelector.java:68)
... 76 more
This is caused by a failing null check in the findGroups method. If parent is null and id
is not null a NPE is thrown:
if ((parent == null && id == null) || (id != null &&
id.equals(parent.getId())))
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: