StackOverflowError if LDAP groups contain circular cross references
-------------------------------------------------------------------
Key: GTNPORTAL-1680
URL:
https://jira.jboss.org/browse/GTNPORTAL-1680
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
Having configured to read groups from LDAP, GateIn fails with the following error:
WARN [core.security.SetCurrentIdentityFilter] An error occured while cache user profile
javax.servlet.ServletException: java.lang.StackOverflowError
at
org.exoplatform.portal.application.PortalController.onService(PortalController.java:131)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[...]
Caused by: java.lang.StackOverflowError
at
org.exoplatform.services.organization.idm.GroupDAOImpl.getGroupId(GroupDAOImpl.java:576)
at
org.exoplatform.services.organization.idm.GroupDAOImpl.getGroupId(GroupDAOImpl.java:611)
[...]
This is caused by some groups in the LDAP structure containing a circular cross reference,
which leads to a loop in the GroupDAOImpl.getGroupId(..) method.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira