Exception when selecting Vista window decoration
------------------------------------------------
Key: GTNPORTAL-694
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-694
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-CR01
Reporter: Wesley Hales
Assignee: Truong Le
* Note - This works normally after the exception occured and I logged back in.
Sign In -> Edit Page (Home) -> Add any portlet -> select edit properties of new
portlet window -> Decoration Themes -> Select Vista -> Save & Close ->
Save the page
Then the error popup and stacktrace below occured for me...
[STDOUT] Creating a new session of the 'sample-ext'
21:30:35,585 INFO [portal:PortalSessionListener] portal' portal
21:33:25,744 ERROR [portal:UIPortalApplication] Error during the processAction phase
java.lang.NullPointerException
at
org.exoplatform.portal.webui.portal.UIPortalComponent.getTemplate(UIPortalComponent.java:64)
at
org.exoplatform.portal.webui.util.PortalDataMapper.toContainer(PortalDataMapper.java:112)
at
org.exoplatform.portal.webui.util.PortalDataMapper.toPageModel(PortalDataMapper.java:180)
at
org.exoplatform.portal.webui.util.PortalDataMapper.buildModelObject(PortalDataMapper.java:77)
at org.exoplatform.portal.webui.
Going back to the page and trying to do the same steps again, I get....
[ChromatticSessionImpl] Attempt to insert context
EntityContext[state=ObjectStatus[status=TRANSIENT],mapper=EntityMapper[class=class
org.gatein.mop.core.api.workspace.UIWindowImpl,typeName=mop:uiwindow]] as an existing
child with name mop:70067cdf-79dd-484b-8132-d4cec25cb9ac child of node
/production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:homepage/mop:rootcomponent
21:34:58,595 ERROR [portal:UIPortalApplication] Error during the processAction phase
org.chromattic.api.DuplicateNameException: Attempt to insert context
EntityContext[state=ObjectStatus[status=TRANSIENT],mapper=EntityMapper[class=class
org.gatein.mop.core.api.workspace.UIWindowImpl,typeName=mop:uiwindow]] as an existing
child with name mop:70067cdf-79dd-484b-8132-d4cec25cb9ac child of node
/production/mop:workspace/mop:portalsites/mop:classic/mop:rootpage/mop:children/mop:pages/mop:children/mop:homepage/mop:rootcomponent
at org.chromattic.core.DomainSessionImpl._persist(DomainSessionImpl.java:199)
at org.chromattic.core.DomainSessionImpl._persist(DomainSessionImpl.java:170)
at org.chromattic.core.DomainSession.persist(DomainSession.java:351)
at org.chromattic.core.EntityContext.addChild(EntityContext.java:187)
at
org.chromattic.core.mapper.onetomany.hierarchical.AnyChildMap.put(AnyChildMap.java:85)
at
org.chromattic.core.mapper.onetomany.hierarchical.AnyChildMap.put(AnyChildMap.java:31)
at org.gatein.mop.core.api.wo
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira