Index -1 out of bounds for length 1 ( in jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory)
I found the solution from Mr. Jzy3d with stated the following:
"As discussed on JOGL bugtracker, it can be workaround using the following VM options"
Tbh iam not very familiar.
We are using BlueJ.
i added in the bluej.defs the lines Jzy3d mentioned.
Maybe i dont understand, but where do i add the VM options for startup?
Those lines i added into the bluej.defs doesnt worked :-(.
At first, use the very latest release candidate to be sure that you benefit of the bug fix in WindowsAWTWGLGraphicsConfigurationFactory. Changing the case of exceptions doesn't help...
The answer is in the documentation, set the bluej.vm.args property in the bluej.defs file but that's what you already do.
Those options are necessary since Java 9 in order to access some classes by reflection normally inaccessible when you don't "break" the modularization.
I advise you to run your source code without using an IDE as a first step to ensure that the suggested solution works even without putting the IDE into the equation to solve and when it works, try again inside your favorite IDE.
P.S: I'm not a native speaker, I do my best. Please avoid abusing of abbreviations.