Bug in HSB stack to RGB conversion?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in HSB stack to RGB conversion?

Gabriel Landini
When I convert an HSB stack into a RGB Color image, the image cannot
"unzoomed" anymore (or closed).

opensuse linux 12.2 (64bit)
IJ 1.47d15 Oracle Java 1.6.0_35 or in OpenJDK 1.7.0_07

The console shows the messages below when trying to unzoom with the mangifying
lens tool.

Cheers
Gabriel

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at ij.gui.ImageCanvas.zoomOut(ImageCanvas.java:761)
        at ij.gui.ImageCanvas.mousePressed(ImageCanvas.java:993)
        at java.awt.Component.processMouseEvent(Component.java:6502)
        at java.awt.Component.processEvent(Component.java:6270)
        at java.awt.Component.dispatchEventImpl(Component.java:4861)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:682)
        at java.awt.EventQueue$3.run(EventQueue.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:696)
        at java.awt.EventQueue$4.run(EventQueue.java:694)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Bug in HSB stack to RGB conversion?

Rasband, Wayne (NIH/NIMH) [E]
On Sep 24, 2012, at 6:23 AM, Gabriel Landini wrote:

> When I convert an HSB stack into a RGB Color image, the image cannot
> "unzoomed" anymore (or closed).
>
> opensuse linux 12.2 (64bit)
> IJ 1.47d15 Oracle Java 1.6.0_35 or in OpenJDK 1.7.0_07
>
> The console shows the messages below when trying to unzoom with the mangifying
> lens tool.

This v1.47d regression is fixed in the latest daily build (1.47d16).

-wayne


> Cheers
> Gabriel
>
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>        at ij.gui.ImageCanvas.zoomOut(ImageCanvas.java:761)
>        at ij.gui.ImageCanvas.mousePressed(ImageCanvas.java:993)
>        at java.awt.Component.processMouseEvent(Component.java:6502)
>        at java.awt.Component.processEvent(Component.java:6270)
>        at java.awt.Component.dispatchEventImpl(Component.java:4861)
>        at java.awt.Component.dispatchEvent(Component.java:4687)
>        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
>        at java.awt.EventQueue.access$200(EventQueue.java:103)
>        at java.awt.EventQueue$3.run(EventQueue.java:682)
>        at java.awt.EventQueue$3.run(EventQueue.java:680)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>        at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
>        at java.awt.EventQueue$4.run(EventQueue.java:696)
>        at java.awt.EventQueue$4.run(EventQueue.java:694)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
>        at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
>        at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
>        at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html