Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-351

Method removeAttribute in PortletRequestImpl causes NullPointerException in Resin 3.0.17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.0-beta2
    • 1.1.3
    • None
    • None
    • Resin 3.0.17

    Description

      Method removeAttribute in PortletRequestImpl causes NullPointerException in Resin 3.0.17.

      Fix,make the following changes to org.apache.pluto.internal.impl.PortletRequesetImpl:

      private HttpServletRequest requestLocal;

      public PortletRequestImpl(PortletContainer container,
      InternalPortletWindow internalPortletWindow,
      HttpServletRequest servletRequest)

      { super(servletRequest); this.requestLocal=servletRequest; this.container = container; this.internalPortletWindow = internalPortletWindow; this.portalContext = container.getRequiredContainerServices().getPortalContext(); }

      public HttpServletRequest getHttpServletRequest()

      { return requestLocal; }

      Attachments

        Activity

          People

            ddewolf David H. DeWolf
            fangyidong YIdong Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: