hansenjn / CiliaQ

An ImageJ plugin to quantify ciliary shape, length, and fluorescence.
GNU General Public License v3.0
7 stars 3 forks source link

Volatile Offscreen Buffer Error during 3D visualization #5

Open hansenjn opened 4 years ago

hansenjn commented 4 years ago

When running CiliaQ on a Mac OS it stops working during generation of 3D visualizations - but just randomly for some images and not specific for any images (repeating analysis of the same image runs without errors).

The following error is output: (Fiji Is Just) ImageJ 2.0.0-rc-69/1.52p; Java 1.8.0_202 [64-bit]; Mac OS X 10.15.5; 766MB of 3582MB (21%) java.lang.NullPointerException at javax.swing.RepaintManager.getVolatileOffscreenBuffer(RepaintManager.java:1030) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1489) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent.paint(JComponent.java:1042) at ciliaQ_jnh.volumeViewer3D.ImageRegion.getImage(ImageRegion.java:215) at ciliaQ_jnh.volumeViewer3D.Volume_Viewer.get3DVisualization(Volume_Viewer.java:218) at ciliaQ_jnh.Visualizer3D.get3DVisualization(Visualizer3D.java:151) at ciliaQ_jnh.CiliaQMain.saveSkeletonOverviewImageNonTimeLapse(CiliaQMain.java:3326) at ciliaQ_jnh.CiliaQMain.analyzeCiliaIn3DAndSaveResults(CiliaQMain.java:2375) at ciliaQ_jnh.CiliaQMain.run(CiliaQMain.java:437) at ij.IJ.runUserPlugIn(IJ.java:230) at ij.IJ.runPlugIn(IJ.java:193) at ij.Executer.runCommand(Executer.java:137) at ij.Executer.run(Executer.java:66) at java.lang.Thread.run(Thread.java:748)