Hi all,

I think I spotted a bug in org.geotools.process.vector.VectorToRasterProcess

It contains a line like this:
SimpleFeature feature = features.features().next();
so the iterator which is returned by features.features() is never closed.

When my feature collection is backed by a  shp file, this results in
these warnings:

Nov 07, 2013 9:40:05 AM org.geotools.data.shapefile.files.ShpFiles
logCurrentLockers
SEVERE: The following locker still has a lock: read on file.shp by
org.geotools.data.shapefile.shp.ShapefileReader
Nov 07, 2013 9:40:05 AM org.geotools.data.shapefile.files.ShpFiles
logCurrentLockers
SEVERE: The following locker still has a lock: read on file.shx by
org.geotools.data.shapefile.shp.IndexFile
Nov 07, 2013 9:40:05 AM org.geotools.data.shapefile.files.ShpFiles
logCurrentLockers
SEVERE: The following locker still has a lock: read on file.dbf by
org.geotools.data.shapefile.dbf.DbaseFileReader

can the iterator be closed after using it?

thanks,
Jeroen

PS: the geotools site tells me to log a bug in JIRA, but how do I obtain
a login?

--
Jeroen Dries
TAP - Centre for Remote Sensing and Earth Observation Processes
VITO NV | Boeretang 200 | 2400 Mol
tel. +32 14 33 55 11 | [email protected]
[http://www.vito.be/e-maildisclaimer/vito.png]

VITO Disclaimer: http://www.vito.be/e-maildisclaimer

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to