incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-469) ResponseWriter.writeText() can throw NPE if text is null - protect against this
Date Thu, 26 Apr 2007 19:06:15 GMT
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
            Priority: Minor


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.


Mime
View raw message