[gatein-issues] [JBoss JIRA] (GTNPORTAL-2459) Possible NPE in org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider
kien nguyen (JIRA)
jira-events at lists.jboss.org
Tue Jun 5 04:48:19 EDT 2012
[ https://issues.jboss.org/browse/GTNPORTAL-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list