Keet
Advanced Member
Netherlands
Joined: Apr 8, 2022
Post Count: 1044
Status:
Offline
|
|
Re: Furniture Library Editor 2.2
|
Yesterday I changed my library editor startup script to check if the columns problem was related to the java version. I added the path to the runtime/bin directory in the Sweet Home 3D java directory to force use of the Sweeet Home 3D supplied java runtime.
Today I tried to add a model to a library with drag&drop and I got a run time error and the application quits. I removed the java path and the error is gone and everything works as it should.
I'm not sure but just setting the path might not be enough. I probably should set some environment variables for java too. It works without the path which means no problem for me but it might point to another problem. Here is the info:
This sh script works:
#!/bin/sh exec java -jar /path/to/SH3D/tools/FurnitureLibraryEditor-2.2.jar -open "$1"
And this gives the error:
#!/bin/sh exec /path/to/SH3D/SweetHome3D-7.3/runtime/bin/java -jar /path/to/SH3D/tools/FurnitureLibraryEditor-2.2.jar -open "$1"
To be clear, the library opens just fine. The error occurs when I drag&drop a new model in the editor window. By-the-way, this is the same with version 2.1.
The error I get with the path to the Sweet Home 3D java version:
com.jogamp.opengl.GLException: J3D-Renderer-1: Error making temp context(1) current: display 0x7f73b816e760, context 0x7f73b8014130, drawable X11OnscreenGLXDrawable[Realized true, Factory jogamp.opengl.x11.glx.X11GLXDrawableFactory@f3e9a2f, Handle 0x42000a4, Surface JAWTWindow[0x4ee5a2cc][JVM version: 1.8.0_202 (1.8.0 update 202) JAWT version: 0x10004, CA_LAYER: false, isLayeredSurface false, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], pixelScale 1.0x1.0, shallUseOffscreenLayer false, isOffscreenLayerSurface false, attachedSurfaceLayer 0x0, windowHandle 0x42000a4, surfaceHandle 0x42000a4, bounds [ 0 / 0 128 x 128 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], window [0/0 128x128], pixels[scale 1.0, 1.0 -> 128x128], visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type .awt, connection :0.0, unitID 0, awtDevice X11GraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[glx vid 0x28, fbc 0xaf: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], X11GraphicsConfig[dev=X11GraphicsDevice[screen=0],vis=0x28], encapsulated X11GLXGraphicsConfiguration[X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x7f73b816e760, owner true, JAWTToolkitLock[obj 0x7c4f6c2, isOwner true, <4515b9ca, 3e01bca5>[count 1, qsz 0, owner <J3D-Renderer-1>]]], idx 0], visualID 0x28, fbConfigID 0xaf, requested GLCaps[rgba 5/5/5/1, opaque, accum-rgba 0/0/0/0, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]], chosen GLCaps[glx vid 0x28, fbc 0xaf: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]], awtComponent com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128], surfaceLock <45f048cb, 1439739>[count 1, qsz 0, owner <J3D-Renderer-1>]]] at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:393) at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:794) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:677) at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:615) at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6411) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4612) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2386) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271)
DefaultRenderingErrorListener.errorOccurred: CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context graphicsDevice = X11GraphicsDevice[screen=0] canvas = com.eteks.sweethome3d.j3d.Component3DManager$ObservedCanvas3D[canvas2,0,0,128x128] X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2) X11Util: Open X11 Display Connections: 2 X11Util: Open[0]: NamedX11Display[:0.0, 0x7f73b8003280, refCount 1, unCloseable false] X11Util: Open[1]: NamedX11Display[:0.0, 0x7f73b816e760, refCount 1, unCloseable false]
----------------------------------------
Dodecagon.nl 750+ 3D models, manuals, and projects
|