Bug 793556 (JBEPP-635) - StackOverflowError if LDAP groups contain circular cross references
Summary: StackOverflowError if LDAP groups contain circular cross references
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-635
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.0.1.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.CR01
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-15 13:37 UTC by Martin Weiler
Modified: 2012-02-28 16:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-25 08:29:44 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-635 0 None None None Never

Description Martin Weiler 2010-11-15 13:37:20 UTC
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000004TRXx
project_key: JBEPP

Having configured to read groups from LDAP, EPP 5.0.1.GA fails to start 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.

Comment 1 boleslaw.dawidowicz 2010-11-22 20:25:11 UTC
Sync of https://jira.jboss.org/browse/GTNPORTAL-1680

Comment 2 boleslaw.dawidowicz 2010-11-23 10:46:04 UTC
Fix need to be merged from gatein trunk: 
http://fisheye.jboss.org/changelog/gatein/portal/trunk?cs=5214

Comment 3 Thomas Heute 2010-11-25 08:21:32 UTC
Link: Added: This issue is related to GTNPORTAL-1680



Note You need to log in before you can comment on or make changes to this bug.