Bug 793311 (JBEPP-395) - GTNPORTAL-1362 gatein-jcr and gatein-idm Independence issue - drpping gatein-jcr db brings NPE error when accessing admin portlets.
Summary: GTNPORTAL-1362 gatein-jcr and gatein-idm Independence issue - drpping gatein...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-395
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: 5.0.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.0.GA
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-19 20:51 UTC by Gary Hu
Modified: 2012-01-12 09:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-12 09:53:23 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-395 0 Major Closed GTNPORTAL-1362 gatein-jcr and gatein-idm Independence issue - drpping gatein-jcr db brings NPE error when accessing adm... 2012-12-13 01:47:27 UTC

Description Gary Hu 2010-07-19 20:51:17 UTC
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000003hTGw
project_key: JBEPP

We are running into a situation where the Independence of gatein-jcr and gatein-idm dbs is concerned.

Here is how to reproduce the issue:

1) set up gatein-jcr and gatein-idm using mysql dbs.

2) start the server and create a new user via the UI.

3) stop the server and drop the gatein-jcr db.

4) delete the data/tmp/work folders and restart the server.

5) it's ok to login into the portal using the newly created user account. but if accessing the admin portlets, for example, the OrganizationPortlet, an NPE exception is thrown.

ERROR [org.exoplatform.webui.application.portlet.PortletApplicationController] (http-0.0.0.0-8080-2) Error while rendering the porlet
org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=24],data= boolean userCouldEditPage = uicomponent.hasEditPermissionOnPage();] for template app:/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
at org.exoplatform.groovyscript.GroovyScript.buildRuntimeException(GroovyScript.java:162)
       ...
Caused by: java.lang.NullPointerException
at org.exoplatform.toolbar.webui.component.UIAdminToolbarPortlet.hasEditPermissionOnPage(UIAdmi
        ...

Debugging the code shows that the call
       UIPageBody pageBody = uiWorkingWS.findFirstComponentOfType(UIPageBody.class);
always returns null.

Comment 1 Gary Hu 2010-07-19 20:51:43 UTC
Link: Added: This issue depends GTNPORTAL-1362


Comment 2 Martin Weiler 2010-09-13 12:08:04 UTC
Security: Removed: RHT+eXo Added: Public


Comment 3 Martin Weiler 2010-09-13 12:08:39 UTC
Help Desk Ticket Reference: Removed: https://access.redhat.com/issue-tracker/1151743 Added: https://na7.salesforce.com/500A0000003hTGw


Comment 5 Jared MORGAN 2011-11-18 00:52:16 UTC
Release Notes Docs Status: Added: Not Yet Documented


Comment 6 hfnukal@redhat.com 2012-01-10 16:53:20 UTC
Labels: Added: EPP_5_2_1_Candidate


Comment 8 Thomas Heute 2012-01-12 09:53:23 UTC
Labels: Removed: EPP_5_2_1_Candidate 



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