Issue Type: Improvement Improvement
Affects Versions: 2.7.5
Assignee: Jody Garnett
Attachments: geotools-tecgraf.2.7.x.external_graphics_null_location.patch
Components: main
Created: 27/Jun/12 3:42 PM
Description:

In some situations (including when copying a Style using DuplicatingStyleVisitor), this call may end up happening with a null location. The first thing the method does is to call location.toString().
Instead of simply throwing a simple NPE, it is suggested that an IllegalArgumentException be thrown with a little bit of an explanation.
Patch included.

Project: GeoTools
Priority: Major Major
Reporter: Milton Jonathan
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to