Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-185

Portlet 2.0 Bridge NPE in restore resource request if scope isn't in Map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • Impl
    • None

    Description

      In handling a resource request we reacquire the bridge request scope. If we find the scopeId to use but the scope has since been removed from the ScopeMap (or never put there in the first place) you get an NPE. This happen because the code (getResourceRequestScopeId() in BridgeImpl) dereferences the (Map) object pulled from the scopeMap using the scopeId key without checking first if this object is null (wasn't found).

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: