[Geoserver-devel] [jira] Created: (GEOS-2220) Dispatcher generates charset releated exceptions due to lack of null checks

Dispatcher generates charset releated exceptions due to lack of null checks
---------------------------------------------------------------------------

                 Key: GEOS-2220
                 URL: http://jira.codehaus.org/browse/GEOS-2220
             Project: GeoServer
          Issue Type: Improvement
    Affects Versions: 1.7.0-RC2
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.1

For each request the dispatcher tries to set the proper charset into the response by parsing the one in the request. Most often the latter is missing, resulting in a null pointer exception per request. Filling the stack trace and catching the exception does not come for free (on the contrary, it's usually expensive)

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