MetaBufferEstimator can throw NPE
---------------------------------

                 Key: GEOT-1267
                 URL: http://jira.codehaus.org/browse/GEOT-1267
             Project: GeoTools
          Issue Type: Bug
          Components: core render
    Affects Versions: 2.4.M3, 2.3.1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.4.0, 2.3.2


This happened to me once but could not reproduce it, anyways the NPE was here:
Literal lw = (Literal) stroke.getWidth();
                    int iw = (int) Math.ceil(((Number) lw.evaluate(null, 
Double.class))

I guess, have a look at the rendering code and what happens when a null width 
is used... does it fall back on defaults?
Also, have a look at the other symbolizers as well

-- 
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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to