Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-2305

Possible NPE in org.gatein.portal.wsrp.structure.MOPConsumerStructureProvider

    Details

      Description

      method

      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);
            }

      --> windowName can be null and we can have NPE with this line : windowName.endsWith("|")

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vstorm83 Vu Viet Phuong
                Reporter:
                kien_nguyen kien nguyen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m