With the introduction of SimplifyingFilterVisitor for StreamingRenderer on
trunk, rasters with a rastersymbolizer no longer work due to a NPE
---------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOT-2543
URL: http://jira.codehaus.org/browse/GEOT-2543
Project: GeoTools
Issue Type: Bug
Components: core render
Affects Versions: 2.6-M1
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.6-M2
Rendering a raster with a rastersymbolizer on 2.5.x is fine, but on trunk fails
with an NPE at StreamingRenderer line 905: {{Filter simplified =
(Filter)query.getFilter().accept(simplifier, null);}}
Reason being the query filter is null as the result of line 858: {{filter =
createBBoxFilters(schema, attributes, envelope);}}
So the issue is actually about respecting the Query contract, where filter
should be Filter.INCLUDE instead of null.
If not told otherwise, I will just fix by checking the query is not being set a
null filter, but Filter.INCLUDE.
--
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
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel