]
Chris Laprun resolved GTNWSRP-237.
----------------------------------
Fix Version/s: 2.1.1-GA
Resolution: Done
Potential NPE in
org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider
------------------------------------------------------------------------------
Key: GTNWSRP-237
URL:
https://issues.jboss.org/browse/GTNWSRP-237
Project: GateIn WSRP
Issue Type: Bug
Reporter: Minh Hoang TO
Assignee: Chris Laprun
Fix For: 2.1.1-GA
{code}
public void addWindow(String windowName, String uuid)
{
// add suffix in case we have several windows with the same name in the page
if (childrenWindows.containsKey(windowName))
{
if (windowName.endsWith("|"))
{
windowName += "|";
}
else
{
windowName += windowName + " |";
}
}
childrenWindows.put(windowName, uuid);
}
{code}
There is NPE at windowName.endsWith("|") in case saved page contains two
non-titled portlet windows referring to the same portlet object.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: