You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2007/04/27 18:29:15 UTC

[jira] Resolved: (ADFFACES-469) ResponseWriter.writeText() can throw NPE if text is null - protect against this

     [ https://issues.apache.org/jira/browse/ADFFACES-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved ADFFACES-469.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-incubating-core-SNAPSHOT
         Assignee: Adam Winer

Fixed.

> ResponseWriter.writeText() can throw NPE if text is null - protect against this
> -------------------------------------------------------------------------------
>
>                 Key: ADFFACES-469
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-469
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Adam Winer
>         Assigned To: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>
> ReponseWriter.writeText() is spec'd to throw a null pointer exception if writeText()
> is null.  A lame spec, but there we are.  The Trinidad ResponseWriters don't do this
> (they ignore nulls) so our Renderer code regularly calls writeText() with null.
> The Renderers should be rewritten to not call writeText() with null, and at a
> minimum the RenderKitTestCase should use a ResponseWriter that verifies
> this.

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