ImageJ

All tags

Solved: ImageJ / Fiji error: "IllegalArgumentException: adding a container to a container on a different GraphicsDevice"

For my master thesis I am experimenting with ImageJ / Fiji. While working with some image registration algorithms I happend to run in a strange bug I couldn’t explain to me: (Fiji Is Just) ImageJ 2.0.0-rc-49/1.51c; Java 1.8.0_66 [64-bit]; Windows 10 10.0; 476MB of 9115MB (5%) java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice at java.awt.Component.checkGD(Component.java:1185) at java.awt.Container.addImpl(Container.java:1093) at java.awt.Container.add(Container.java:417) at ij.gui.ImageWindow.add(ImageWindow.java:516) at ij.gui.ImageWindow.<init>(ImageWindow.java:88) at ij.gui.StackWindow.<init>(StackWindow.java:28) at ij.