3D Viewer stopped working

3d-viewer
Tags: #<Tag:0x00007fd5487df080>

#1

Hi, I’ve been using ImageJ 1.51s with 3D Viewer for some time now. After some system updates, I can’t start the plugin anymore. The following error message is shown in the log:

java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped 
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1954)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216)
at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1021)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1050)
at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:803)
at org.scijava.java3d.JoglPipeline.initialize(JoglPipeline.java:132)
at org.scijava.java3d.Pipeline.createPipeline(Pipeline.java:92)
at org.scijava.java3d.MasterControl.loadLibraries(MasterControl.java:837)
at org.scijava.java3d.VirtualUniverse.<clinit>(VirtualUniverse.java:274)
at ij3d.ImageJ3DViewer.run(ImageJ3DViewer.java:60)
at ij3d.ImageJ_3D_Viewer.run(ImageJ_3D_Viewer.java:37)
at ij.IJ.runUserPlugIn(IJ.java:221)
at ij.IJ.runPlugIn(IJ.java:185)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:745)

I have read in other threads about newer Java versions causing problems with 3D Viewer. Typing java -version in a terminal gives me:

openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

#2

Just to make sure: is this the java version that ImageJ actually uses?

What is the version reported by ImageJ itself when clicking the status bar?


#3

Hi Jan, in the status bar it says Java 1.8.0_66 [64-bit]. So is this actually Java 8? These version numbers confuse me…