i checked with your example 'skeenah_dem_10m.tif' . seems like the devs changed 
something between 0.1.13(Nov15) and 0.1.14(Jun16)
  https://github.com/geosolutions-it/imageio-ext/commits/master/plugin/tiff
that breaks reading that file. we can of course easily downgrade this 
ImageIO-Ext plugin back to 0.1.13 , but i see no reason to downgrade each and 
every ImageIO-Ext component because of this bug.

Peppe: can i use your file and send it to the ImageIO-Ext devs, in case i 
figure out how to file a bug with them?

..ede

PS: in between they released a new version 0.1.16, which does not work w/ your 
file as well ;)
 
On 15.10.2016 08:14, Giuseppe Aruta wrote:
> Hi Ede
> I prefer we roll back to previous imageio-ext libraries. This will give us 
> time to investigate and test this bug in  case we want to come out with a new 
> real. of Openjump in the next months.
> Best regards
> Peppe
> 
> 
> Il 14/Ott/2016 17:27, <edgar.sol...@web.de <mailto:edgar.sol...@web.de>> ha 
> scritto:
> 
>     it should not be missing. i used the more recent java bindings from 
> gdal-2.1.0.jar instead.
>       
> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/imageio-ext/
>  
> <https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/imageio-ext/>
> 
>     but heck, we can of course roll that back to the original bindings 
> released together w/ ImageIO-Ext. :)
> 
>     ..ede
> 
>     On 14.10.2016 16:02, Giuseppe Aruta wrote:
>     > To be more accurate, on 5050 we substituted imageio-ext libraries.
>     > From version 5051 there is a file missing 
> (imageio-ext-gdal-bindings-1.9.2.jar) in OJ/LIB folder,
>     > Coping/pasting this file from 5048 to newer version apparently solves 
> the bug
>     > Peppe
>     >
>     > 2016-10-14 15:53 GMT+02:00 Giuseppe Aruta <giuseppe.ar...@gmail.com 
> <mailto:giuseppe.ar...@gmail.com> <mailto:giuseppe.ar...@gmail.com 
> <mailto:giuseppe.ar...@gmail.com>>>:
>     >
>     >     The problem came out from  5051. A former version (5048) is not 
> affected.
>     >     And it doesn't affect CORE versions, only  PLUS ones.
>     >     Peppe
>     >
>     >
>     >     2016-10-13 19:58 GMT+02:00 Michaël Michaud 
> <m.michael.mich...@orange.fr <mailto:m.michael.mich...@orange.fr> 
> <mailto:m.michael.mich...@orange.fr <mailto:m.michael.mich...@orange.fr>>>:
>     >
>     >         Hi Peppe,
>     >
>     >         If you could find more precisely the OJ version where this 
> regression appreared, we could now if we introduced
>     >
>     >         this regression with a code modification or with a library 
> update.
>     >
>     >         Michaël
>     >
>     >
>     >         Le 13/10/2016 à 19:35, Giuseppe Aruta a écrit :
>     >>
>     >>         How to reproduce it
>     >>         - open an .asc file
>     >>         - draw a fence on it to define a smaller area
>     >>         - select "cut image by fence" on raster layer tree menu
>     >>
>     >>         If I load a sex range layer, this is shown as icon on layer 
> tree but not in the view.
>     >>         Best regards
>     >>         Peppe
>     >>
>     >>         ---------- Messaggio inoltrato ----------
>     >>         Da: "Giuseppe Aruta" <giuseppe.ar...@gmail.com 
> <mailto:giuseppe.ar...@gmail.com> <mailto:giuseppe.ar...@gmail.com 
> <mailto:giuseppe.ar...@gmail.com>>>
>     >>         Data: 13/Ott/2016 18:50
>     >>         Oggetto: Error on Sextante Raster Layer on OJ NB
>     >>         A: "OpenJump develop and use" 
> <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>>>
>     >>         Cc:
>     >>
>     >>         Hi,
>     >>         I have this error on loading  TIF file on OpenJUMP NB 5072 and 
> 5973
>     >>
>     >>         java.lang.ClassCastException: [B cannot be cast to 
> [Ljava.lang.String;
>     >>             at 
> it.geosolutions.imageio.plugins.tiff.TIFFField.getAsString(TIFFField.java:1164)
>     >>             at it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl> 
> <http://it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl>>ugins.tiff.TIFFImageReader.initializeFromMetadata(TIFFImageReader.java:1275)
>     >>             at it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl> 
> <http://it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl>>ugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:820)
>     >>             at it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl> 
> <http://it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl>>ugins.tiff.TIFFImageReader.seekToImage(TIFFImageReader.java:777)
>     >>             at it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl> 
> <http://it.geosolutions.imageioimpl.pl 
> <http://it.geosolutions.imageioimpl.pl>>ugins.tiff.TIFFImageReader.getWidth(TIFFImageReader.java:1035)
>     >>             at 
> org.openjump.core.rasterimage.OverviewsUtils.addOverviews(OverviewsUtils.java:65)
>     >>             at 
> org.openjump.core.rasterimage.OverviewsUtils.getOverviews(OverviewsUtils.java:45)
>     >>             at 
> org.openjump.core.rasterimage.RasterImageIO.loadImage(RasterImageIO.java:143)
>     >>             at org.openjump.core.ui.plugin.la 
> <http://org.openjump.core.ui.plugin.la> 
> <http://org.openjump.core.ui.plugin.la 
> <http://org.openjump.core.ui.plugin.la>>yer.pirolraster.ExtractSelectedPartOfImage.execute(ExtractSelectedPartOfImage.java:182)
>     >>             at 
> com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.ac <http://1.ac> 
> <http://1.ac>tionPerformed(AbstractPlugIn.java:340)
>     >>             at javax.swing.AbstractButton.fireActionPerformed(Unknown 
> Source)
>     >>             at 
> javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>     >>             at 
> javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>     >>             at javax.swing.DefaultButtonModel.setPressed(Unknown 
> Source)
>     >>             at javax.swing.AbstractButton.doClick(Unknown Source)
>     >>             at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown 
> Source)
>     >>             at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
>     >>             at java.awt.Component.processMouseEvent(Unknown Source)
>     >>             at javax.swing.JComponent.processMouseEvent(Unknown Source)
>     >>             at java.awt.Component.processEvent(Unknown Source)
>     >>             at java.awt.Container.processEvent(Unknown Source)
>     >>             at java.awt.Component.dispatchEventImpl(Unknown Source)
>     >>             at java.awt.Container.dispatchEventImpl(Unknown Source)
>     >>             at java.awt.Component.dispatchEvent(Unknown Source)
>     >>             at 
> java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     >>             at 
> java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     >>             at java.awt.LightweightDispatcher.dispatchEvent(Unknown 
> Source)
>     >>             at java.awt.Container.dispatchEventImpl(Unknown Source)
>     >>             at java.awt.Window.dispatchEventImpl(Unknown Source)
>     >>             at java.awt.Component.dispatchEvent(Unknown Source)
>     >>             at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
>     >>             at java.awt.EventQueue.access$500(Unknown Source)
>     >>             at java.awt.EventQueue$3.run(Unknown Source)
>     >>             at java.awt.EventQueue$3.run(Unknown Source)
>     >>             at java.security.AccessController.doPrivileged(Native 
> Method)
>     >>             at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>  Source)
>     >>             at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>  Source)
>     >>             at java.awt.EventQueue$4.run(Unknown Source)
>     >>             at java.awt.EventQueue$4.run(Unknown Source)
>     >>             at java.security.AccessController.doPrivileged(Native 
> Method)
>     >>             at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
>  Source)
>     >>             at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     >>             at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     >>             at 
> java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     >>             at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     >>             at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     >>             at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     >>             at java.awt.EventDispatchThread.run(Unknown Source)
>     >>
>     >>         No problem on older OJ NB (like 4951)
>     >>
>     >>         Peppe
>     >>
>     >>
>     >>         
> ------------------------------------------------------------------------------
>     >>         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

Reply via email to