You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by "Carsten Ziegeler (JIRA)" <ws...@ws.apache.org> on 2005/11/04 11:17:23 UTC

[jira] Commented: (WSRP4J-66) Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse does not implement getOutputStream (returns null)

    [ http://issues.apache.org/jira/browse/WSRP4J-66?page=comments#action_12356762 ] 

Carsten Ziegeler commented on WSRP4J-66:
----------------------------------------

Hi, can you please add the fix as a patch here?
Thanks

> Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse does not implement getOutputStream (returns null)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: WSRP4J-66
>          URL: http://issues.apache.org/jira/browse/WSRP4J-66
>      Project: WSRP4J
>         Type: Bug
>   Components: Pluto Driver
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Vishal Goenka
>     Priority: Minor

>
> Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse extends HttpResponse and while it does implement getWriter, it does not implement the getOutputStream() method. Since this class is wrapped as the HttpResponse object when the portlet is invoked, any code that uses the getOutputStream() method gets a NullPointerException.
> I have a fix that is based on a class from the Pluto source itself. I will be happy to contribute the fix, if there is interest.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira