Pluto
  1. Pluto
  2. PLUTO-351

Method removeAttribute in PortletRequestImpl causes NullPointerException in Resin 3.0.17

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.0-beta2
    • Fix Version/s: 1.1.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      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; }

        Activity

        Hide
        David DeWolf added a comment -

        This seems like a resin bug, not a pluto bug. I'd prefer not litter our codebase with appserver specific bug fixes. If you think I'm wrong, feel free to reopen.

        Show
        David DeWolf added a comment - This seems like a resin bug, not a pluto bug. I'd prefer not litter our codebase with appserver specific bug fixes. If you think I'm wrong, feel free to reopen.

          People

          • Assignee:
            David DeWolf
            Reporter:
            YIdong Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development