[
https://issues.jboss.org/browse/GTNPORTAL-2305?page=com.atlassian.jira.pl...
]
Vu Viet Phuong logged work on GTNPORTAL-2305:
---------------------------------------------
Author: Vu Viet Phuong
Created on: 01/Dec/11 4:37 AM
Start Date: 01/Dec/11 4:37 AM
Worklog Time Spent: 30 minutes
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes
Time Spent: 30 minutes
Worklog Id: (was: 12426175)
Possible NPE in
org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider
-----------------------------------------------------------------------------
Key: GTNPORTAL-2305
URL:
https://issues.jboss.org/browse/GTNPORTAL-2305
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: kien nguyen
Assignee: Vu Viet Phuong
Priority: Minor
Labels: portal-s65
Fix For: 3.2.0-CR01
Time Spent: 30 minutes
Remaining Estimate: 0 minutes
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira