Method removeAttribute in PortletRequestImpl causes NullPointerException in 
Resin 3.0.17 
-----------------------------------------------------------------------------------------

                 Key: PLUTO-351
                 URL: https://issues.apache.org/jira/browse/PLUTO-351
             Project: Pluto
          Issue Type: Bug
    Affects Versions: 1.1.0-beta2
         Environment: Resin 3.0.17 
            Reporter: YIdong Fang


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to