[gatein-issues] [JBoss JIRA] Resolved: (GTNPORTAL-1677) NullPointerException with LDAP in GroupDAOImpl.findGroups
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Mon Nov 22 14:39:53 EST 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list