What is this error?
Posted by Gabriel Landini on May 21, 2009; 12:55pm
URL: http://imagej.273.s1.nabble.com/What-is-this-error-tp3692451.html
Can somebody suggest what might be the error below?
I got this intermittently while using the Auto Local Threshold with the
Bernsen method.
It happened twice after so many images are processed, but the images seem to
be segmented correctly anyway.
Thanks
Gabriel
Exception in thread "Run$_AWT-EventQueue-0" java.lang.NullPointerException
at
java.awt.image.IndexColorModel.isCompatibleRaster(IndexColorModel.java:1324)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:610)
at
ij.process.ByteProcessor.createBufferedImage(ByteProcessor.java:103)
at ij.process.ByteProcessor.createImage(ByteProcessor.java:82)
at ij.ImagePlus.updateImage(ImagePlus.java:309)
at ij.gui.ImageCanvas.paint(ImageCanvas.java:135)
at ij.gui.ImageCanvas.update(ImageCanvas.java:122)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:43)
at sun.awt.RepaintArea.paint(RepaintArea.java:216)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:688)
at java.awt.Component.dispatchEventImpl(Component.java:4659)
at java.awt.Component.dispatchEvent(Component.java:4413)
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)
- - - - -