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
{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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira