Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use 3d viewer from intellij #216

Closed
constantinpape opened this issue Mar 15, 2021 · 2 comments
Closed

Can't use 3d viewer from intellij #216

constantinpape opened this issue Mar 15, 2021 · 2 comments

Comments

@constantinpape
Copy link
Contributor

I can't use the 3d viewer from intellij; it fails with

3D [dev] 1.6.0-scijava-2-pre11-daily-experimental daily

Exception in thread "Thread-14" java.lang.UnsatisfiedLinkError: Can't load library: /home/pape/Work/mobie/mobie-viewer-fiji/natives/linux-amd64//libgluegen-rt.so
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1820)
	at java.lang.Runtime.load0(Runtime.java:810)
	at java.lang.System.load(System.java:1088)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:624)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:63)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:487)
	at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:421)
	at com.jogamp.common.os.Platform$1.run(Platform.java:317)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.common.os.Platform.<clinit>(Platform.java:287)
	at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:147)
	at jogamp.opengl.ThreadingImpl$1.run(ThreadingImpl.java:83)
	at jogamp.opengl.ThreadingImpl$1.run(ThreadingImpl.java:66)
	at java.security.AccessController.doPrivileged(Native Method)
	at jogamp.opengl.ThreadingImpl.<clinit>(ThreadingImpl.java:66)
	at com.jogamp.opengl.Threading.disableSingleThreading(Threading.java:164)
	at org.scijava.java3d.JoglPipeline.initialize(JoglPipeline.java:130)
	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 de.embl.cba.tables.view.Segments3dView.initUniverseAndListener(Segments3dView.java:593)
	at de.embl.cba.tables.view.Segments3dView.updateSelectedSegments(Segments3dView.java:269)
	at de.embl.cba.tables.view.Segments3dView.updateView(Segments3dView.java:246)
	at de.embl.cba.tables.view.Segments3dView.showSelectedSegments(Segments3dView.java:483)
	at de.embl.cba.mobie.ui.SourcesDisplayManager.updateSegments3dView(SourcesDisplayManager.java:90)
	at de.embl.cba.mobie.ui.UserInterfaceComponentsProvider$2.lambda$actionPerformed$0(UserInterfaceComponentsProvider.java:329)
	at java.lang.Thread.run(Thread.java:748)
@tischi
Copy link
Contributor

tischi commented Mar 15, 2021

No idea, maybe ask on the forum or here: https://gitter.im/fiji/fiji

@constantinpape
Copy link
Contributor Author

I can't reproduce this now because I get the same error as in #410:

com.jogamp.opengl.GLException: Not a GL2 implementation
	at jogamp.opengl.es1.GLES1Impl.getGL2(GLES1Impl.java:4929)
	at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6429)
	at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:4602)
	at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:2376)
	at org.scijava.java3d.Renderer.doWork(Renderer.java:881)
	at org.scijava.java3d.J3dThread.run(J3dThread.java:271)
J3dI18N: Error looking up: Renderer7
Exception occurred in RenderingErrorListener:
java.lang.RuntimeException
	at ij3d.ImageWindow3D$ErrorListener.errorOccurred(ImageWindow3D.java:351)
	at org.scijava.java3d.VirtualUniverse.notifyRenderingErrorListeners(VirtualUniverse.java:1198)
	at org.scijava.java3d.NotificationThread.processNotifications(NotificationThread.java:86)
	at org.scijava.java3d.NotificationThread.run(NotificationThread.java:104)

@tischi tischi closed this as completed Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants