Bug #3205
opengdalTranslate actor crashes on bad format and won't work with all gdal formats
0%
Description
Niels Hoffman reports that the gdalTranslate actor will not work with all of the current formats supported by gdal_translate. I think this is a problem with the dll or so that we have pre-compiled. We may need to recompile the jni java classes against the newer gdal libraries and include a new dll/so.
Updated by Tom Parris over 14 years ago
We're having a similar problem on the 2.0.0 trunk. This is a trivial workflow that attempts to convert an ERDAS IMG file to Arc Info ASCII Grid on Windows XP (32 bit).
[run] Opened file:/Y:/Kepler/Workflows/GDAL_Translate_test.xml in 18407 ms.
[run] Size Statistics for .GDAL_Translate_test
[run] AtomicEntities: 6
[run] CompositeEntities: 0
[run] Relations: 4
[run] Attributes: 88
[run] Atomic Actor Names and Counts:
[run] ptolemy.actor.lib.gui.Display 4
[run] org.ecoinformatics.seek.gis.gdal.GDALTranslateActor 1
[run] ptolemy.actor.lib.StringConst 1
[run]
[run] Composite Entity Depths and Counts:
[run]
[run] Opened Y:\Kepler\Workflows\GDAL_Translate_test.xml in 18968 ms.
[run] Input file size is 720, 360
[run] 0...10...20...30...40...50...60...70...80...90...java.lang.NullPointerException
[run] 8688 ms. Memory: 66708K Free: 16133K (24%)