[gatein-issues] [JBoss JIRA] (GTNPORTAL-2305) Possible NPE in org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider

Vu Viet Phuong (Assigned) (JIRA) jira-events at lists.jboss.org
Wed Nov 30 22:53:40 EST 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vu Viet Phuong reassigned GTNPORTAL-2305:
-----------------------------------------

    Assignee: Vu Viet Phuong

    
> 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
>
>
> 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