[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2440) Incorrect values of escapeXml in actionURL result in confusing NullPointerException in JBoss Portlet Container

Bernard de Terwangne (JIRA) jira-events at lists.jboss.org
Sat Aug 1 02:50:42 EDT 2009


Incorrect values of escapeXml in actionURL result in confusing NullPointerException in JBoss Portlet Container
--------------------------------------------------------------------------------------------------------------

                 Key: JBPORTAL-2440
                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2440
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: Portlet-2.0.1
         Environment: Any
            Reporter: Bernard de Terwangne
            Priority: Minor


JSR-286 states that escapeXml defaults to true. This value is almost never appropriate. If you forget to set it to false explicitly (very common mistake) you get a very confusing and little explicit NullPointerException.

I suggest to throw a more explicit exception so that developpers don't loose a lot of time wondering why their apps don't work. I can provide the fix if requested.

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

        



More information about the jboss-jira mailing list