]
kien nguyen deleted GTNPORTAL-2459:
-----------------------------------
Possible NPE in
org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider
-----------------------------------------------------------------------------
Key: GTNPORTAL-2459
URL:
https://issues.jboss.org/browse/GTNPORTAL-2459
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: kien nguyen
Assignee: kien nguyen
method
{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}
--> windowName can be null and we can have NPE with this line :
windowName.endsWith("|")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: