Peppe,

do you have GDAL installed on that machine? is it by any chance detected by OJ 
Plus? you can see that during start in the log.

..ede

On 14.10.2016 16:16, Giuseppe Aruta wrote:
> Hi Ede
>>maybe a bug in the updated ImageIO-Ext.. did you intend to use _this_ reader?
> Do you mean if I use ImageIO-Ext for extra reader? No. I only tested thye bug 
> on opening a GeoTIF image (one band) using Sextante Raster reader. I attached 
> the file at the end of this mail.
> 
> Peppe
> 
> 2016-10-14 16:06 GMT+02:00 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>>:
> 
>     maybe a bug in the updated ImageIO-Ext.. did you intend to use _this_ 
> reader?
> 
>     i can't see that the class in the stack was changed recently though
>       
> https://github.com/geosolutions-it/imageio-ext/tree/master/plugin/tiff/src/main/java/it/geosolutions/imageio/plugins/tiff
>  
> <https://github.com/geosolutions-it/imageio-ext/tree/master/plugin/tiff/src/main/java/it/geosolutions/imageio/plugins/tiff>
> 
>     the ImageIO-Ext TIFF reader is packaged in Core, so the error should be 
> the same there. Can you send the triggering image?
> 
>     ..ede
> 
>     On 14.10.2016 15:53, Giuseppe Aruta wrote:
>     > 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