Login  Register

Re: MacOSX exception: BackingLayerHost w/ unknown handle

Posted by uhok on Feb 13, 2019; 7:10am
URL: https://forum.jogamp.org/MacOSX-exception-BackingLayerHost-w-unknown-handle-tp4039399p4039525.html

How would I check my Java3D version? I searched through the project and did not see the exact phrase "Java3D" anywhere.

From terminal, javac -version outputs "javac 10.0.1", so I believe that I am using JDK 10. Would switching to OpenJDK make a difference? I could also try updating to version 11, as it seems that support for JDK 10 has ended.

I added the setOnscreen(true) call as follows, and the crash still happens. I can confirm that this particular line does run, but I don't believe it has an impact as the debugger shows that within glCaps, onscreen is set to True before this line executes.

When I call setFBO followed by setOnscreen, the application crashes. The application also crashes, with the original error, if I call only setOnscreen.

if (OSType.getOSType() == OSType.MacOS)
                                {
                                        glCaps.setOnscreen(true);
                                }