[JPP-Devel] [jump-pilot:bugs] #175 Bug random behavior of Save Image to Raster
- **status**: open --> closed-fixed - **Comment**: It is already solved. Fixed --- ** [bugs:#175] Bug random behavior of Save Image to Raster** **Status:** closed-fixed **Milestone:** OJ_1.16 **Labels:** General / Other **Created:** Wed Feb 09, 2011 07:32 AM UTC by Anonymous **Last Updated:** Sun Sep 13, 2020 06:33 PM UTC **Owner:** nobody in Sextante popup menu there is a "Save raster to image" tool. This tool has a random strange behaviour: 1\) using on any color image, It works fine and the saved file can be reopen with no problems. 2\) using on a TIF file black and white file, where white is a NO-DATA area. it saves the file as a negative. When I try to reload the saved file, it is not displayed. 3\) Using on a grid file \(tested on TIF or ASC\). The file is saved with 0 byte dimension and It shows this error message: \- ava.lang.NullPointerException at org.libtiff.jai.util.PropertyUtil.getString\(PropertyUtil.java:54\) at org.libtiff.jai.util.JaiI18N.getString\(JaiI18N.java:28\) at org.libtiff.jai.codecimpl.XTIFFImageEncoder.getImageFields\(XTIFFImageEncoder.java:246\) at org.libtiff.jai.codecimpl.XTIFFImageEncoder.encode\(XTIFFImageEncoder.java:142\) at org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.execute\(SaveRasterImageAsImagePlugIn.java:135\) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed\(AbstractPlugIn.java:130\) at javax.swing.AbstractButton.fireActionPerformed\(AbstractButton.java:1995\) at javax.swing.AbstractButton$Handler.actionPerformed\(AbstractButton.java:2318\) at javax.swing.DefaultButtonModel.fireActionPerformed\(DefaultButtonModel.java:387\) at javax.swing.DefaultButtonModel.setPressed\(DefaultButtonModel.java:242\) at javax.swing.AbstractButton.doClick\(AbstractButton.java:357\) at javax.swing.plaf.basic.BasicMenuItemUI.doClick\(BasicMenuItemUI.java:1223\) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased\(BasicMenuItemUI.java:1264\) at java.awt.Component.processMouseEvent\(Component.java:6267\) at javax.swing.JComponent.processMouseEvent\(JComponent.java:3267\) at java.awt.Component.processEvent\(Component.java:6032\) at java.awt.Container.processEvent\(Container.java:2041\) at java.awt.Component.dispatchEventImpl\(Component.java:4630\) at java.awt.Container.dispatchEventImpl\(Container.java:2099\) at java.awt.Component.dispatchEvent\(Component.java:4460\) at java.awt.LightweightDispatcher.retargetMouseEvent\(Container.java:4577\) at java.awt.LightweightDispatcher.processMouseEvent\(Container.java:4238\) at java.awt.LightweightDispatcher.dispatchEvent\(Container.java:4168\) at java.awt.Container.dispatchEventImpl\(Container.java:2085\) at java.awt.Window.dispatchEventImpl\(Window.java:2478\) at java.awt.Component.dispatchEvent\(Component.java:4460\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:599\) at java.awt.EventDispatchThread.pumpOneEventForFilters\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForFilter\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:174\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:169\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:161\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:122\) --- Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [jump-pilot:bugs] #175 Bug random behavior of Save Image to Raster
- **Operating System**: --> not specified - **Milestone**: --> OJ_1.16 - **Comment**: Peppe, could you test this please? ..thx ede --- ** [bugs:#175] Bug random behavior of Save Image to Raster** **Status:** open **Milestone:** OJ_1.16 **Labels:** General / Other **Created:** Wed Feb 09, 2011 07:32 AM UTC by Anonymous **Last Updated:** Wed Feb 09, 2011 07:32 AM UTC **Owner:** nobody in Sextante popup menu there is a "Save raster to image" tool. This tool has a random strange behaviour: 1\) using on any color image, It works fine and the saved file can be reopen with no problems. 2\) using on a TIF file black and white file, where white is a NO-DATA area. it saves the file as a negative. When I try to reload the saved file, it is not displayed. 3\) Using on a grid file \(tested on TIF or ASC\). The file is saved with 0 byte dimension and It shows this error message: \- ava.lang.NullPointerException at org.libtiff.jai.util.PropertyUtil.getString\(PropertyUtil.java:54\) at org.libtiff.jai.util.JaiI18N.getString\(JaiI18N.java:28\) at org.libtiff.jai.codecimpl.XTIFFImageEncoder.getImageFields\(XTIFFImageEncoder.java:246\) at org.libtiff.jai.codecimpl.XTIFFImageEncoder.encode\(XTIFFImageEncoder.java:142\) at org.openjump.core.ui.plugin.layer.pirolraster.SaveRasterImageAsImagePlugIn.execute\(SaveRasterImageAsImagePlugIn.java:135\) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed\(AbstractPlugIn.java:130\) at javax.swing.AbstractButton.fireActionPerformed\(AbstractButton.java:1995\) at javax.swing.AbstractButton$Handler.actionPerformed\(AbstractButton.java:2318\) at javax.swing.DefaultButtonModel.fireActionPerformed\(DefaultButtonModel.java:387\) at javax.swing.DefaultButtonModel.setPressed\(DefaultButtonModel.java:242\) at javax.swing.AbstractButton.doClick\(AbstractButton.java:357\) at javax.swing.plaf.basic.BasicMenuItemUI.doClick\(BasicMenuItemUI.java:1223\) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased\(BasicMenuItemUI.java:1264\) at java.awt.Component.processMouseEvent\(Component.java:6267\) at javax.swing.JComponent.processMouseEvent\(JComponent.java:3267\) at java.awt.Component.processEvent\(Component.java:6032\) at java.awt.Container.processEvent\(Container.java:2041\) at java.awt.Component.dispatchEventImpl\(Component.java:4630\) at java.awt.Container.dispatchEventImpl\(Container.java:2099\) at java.awt.Component.dispatchEvent\(Component.java:4460\) at java.awt.LightweightDispatcher.retargetMouseEvent\(Container.java:4577\) at java.awt.LightweightDispatcher.processMouseEvent\(Container.java:4238\) at java.awt.LightweightDispatcher.dispatchEvent\(Container.java:4168\) at java.awt.Container.dispatchEventImpl\(Container.java:2085\) at java.awt.Window.dispatchEventImpl\(Window.java:2478\) at java.awt.Component.dispatchEvent\(Component.java:4460\) at java.awt.EventQueue.dispatchEvent\(EventQueue.java:599\) at java.awt.EventDispatchThread.pumpOneEventForFilters\(EventDispatchThread.java:269\) at java.awt.EventDispatchThread.pumpEventsForFilter\(EventDispatchThread.java:184\) at java.awt.EventDispatchThread.pumpEventsForHierarchy\(EventDispatchThread.java:174\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:169\) at java.awt.EventDispatchThread.pumpEvents\(EventDispatchThread.java:161\) at java.awt.EventDispatchThread.run\(EventDispatchThread.java:122\) --- Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel