Peppe, that's should have been just a compile time dependency, but erronously is packaged now in PLUS. check your snapshots lib/ folder and remove 'imageio-ext-tiff-1.1.16.jar' . that should work.
will fix it soonish.. ede On 29.01.2018 13:04, Giuseppe Aruta wrote: > Hi Ede, > I did some test on older OJ build and I can confirm that the problem starts > from OpenJUMP-20171129-r5596-PLUS, at least for me. > see also you note: https://sourceforge.net/p/jump-pilot/code/5596/ > > I suspect a problem somewhere on class > org.openjump.core.rasterimage.RasterImageIO. > Can you revert this depency? I seems to me the easest way to check (and > possible solve) the problem for next real. > Peppe > > 2018-01-29 11:28 GMT+01:00 Giuseppe Aruta <giuseppe.ar...@gmail.com > <mailto:giuseppe.ar...@gmail.com>>: > > Hi Ede > > >will add imageio-ext-tiff to the maven pom.xml, in case you really need > it in the future. > > Sorry for the late answer, I found a critical problem ( case test OJ > 678-5679 and newer 5696. Only with PLUS version on loading TIF monoband > raster as Sexante raster. This problem might be related to the object of this > post > > OJ CORE: the file is correctly loaded and displayed on the view. > RasterProperties and Raster>Statistic plugins works and shows corrdct > min/max/nodata etc values. > > OJ PLUS: the file is loaded but not displayed on the view. > RasterProperties doesn't show correct data (number of band =0 while should > be 1). > > I recompiled OJ.jar from svn having the same problem. > > I cannot understand the reason: I wonder if the problem can be connected > to a conflict between different TIF libraries ( imageio-ext-tiff vs class > used by RasterImageLayer to load tiff > (org.openjump.core.rasterimage.TiffUtils based on JAI)). > > I attached to this mail a test TIF monoband file. > > I ask you if you can give a look. > > Thanks > > Peppe > > > > > > 2017-11-29 11:23 GMT+01:00 <edgar.sol...@web.de > <mailto:edgar.sol...@web.de>>: > > On 29.11.2017 10:07, Giuseppe Aruta wrote: > > It is working. > > good to hear > > > I used an imageIO-ext method; > > it.geosolutions.imageio.plugins.tiff.TIFFImageWriteParam > > instead of imageIO method: > > javax.imageio.ImageWriteParam > > yeah, but not really needed, as this was your only dependency to the > imageio-ext-tiff package and the same functionality is provided by imageio > already. > > > I wonder why it had problems to recompile on svn when I need > ImageIo-ext classes to recompile my version of OJ on Eclipse > > (I can see that other OJ imagery classes need those libs) > > imageio-ext jars are split into > lib/imageio-ext/ > lib/plus/imageio-ext/ > . > > only the first is needed. it holds the compile time dependencies and > plugins offered in CORE. > compile time needed currently are only > gdal-2.1.0.jar > imageio-ext-gdalframework-1.1.16.jar > imageio-ext-streams-1.1.16.jar > imageio-ext-geocore-1.1.16.jar > imageio-ext-utilities-1.1.16.jar > > the others > imageio-ext-arcgrid-1.1.16.jar > imageio-ext-tiff-1.1.13.jar > are optional format plugins. why arc-grid ended up there i do not > recall. tiff was a choice i think. > > will add imageio-ext-tiff to the maven pom.xml, in case you really > need it in the future. > > > Thanks Ede > > no problemo.. ede > > > > > Peppe > > > > 2017-11-28 21:54 GMT+01:00 <edgar.sol...@web.de > <mailto:edgar.sol...@web.de> <mailto:edgar.sol...@web.de > <mailto:edgar.sol...@web.de>>>: > > > > should be fixed by r5594.. please check. > > > > also @Peppe, can you test that whatever your code does still > works? i just blindly removed the dependency and took care it still compiles. > > > > ..ede > > > > On 11/28/2017 21:32, Rahkonen Jukka (MML) wrote: > > > Hi, > > > > > > There are no builds since 5588 > https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/ > <https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/> > <https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/ > <https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/>>. > Seems to be problems with some image stuff > > > > > > ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile > (default-compile) on project OpenJUMP: Compilation failure: Compilation > failure: > > > [ERROR] > /srv/www/vhosts/host/oj-svn/src/com/vividsolutions/jump/workbench/ui/plugin/imagery/ImageryUtils.java:[3,44] > package it.geosolutions.imageio.plugins.tiff does not exist > > > [ERROR] > /srv/www/vhosts/host/oj-svn/src/com/vividsolutions/jump/workbench/ui/plugin/imagery/ImageryUtils.java:[65,13] > cannot find symbol > > > [ERROR] symbol: class TIFFImageWriteParam > > > [ERROR] location: class > com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageryUtils > > > [ERROR] > /srv/www/vhosts/host/oj-svn/src/com/vividsolutions/jump/workbench/ui/plugin/imagery/ImageryUtils.java:[65,50] > cannot find symbol > > > [ERROR] symbol: class TIFFImageWriteParam > > > [ERROR] location: class > com.vividsolutions.jump.workbench.ui.plugin.imagery.ImageryUtils > > > [ERROR] -> [Help 1] > > > [ERROR] > > > [ERROR] To see the full stack trace of the errors, re-run > Maven with the -e switch. > > > [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > > > [ERROR] > > > [ERROR] For more information about the errors and possible > solutions, please read the following articles: > > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException> > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > <http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>> > > > > > > -Jukka Rahkonen- > > > > ------------------------------------------------------------------------------ > > > Check out the vibrant tech community on one of the world's > most > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > <mailto:Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net>> > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>> > > > > > > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > <mailto:Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net>> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>> > > > > > > > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > > > > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > <mailto:Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel