Nsight Graphics 2021.2.1 not working with Java/JOGL

This latest version of Nsight Graphics seems to be broken when used with Java/JOGL. If I run version 2020.4 (or any previous version), everything works fine. But if I run version 2021.2.1, I get the following error message:

“Unable to create temp OpenGL context for device context”

I have always specified the path to java.exe as the executable, the working directory as the location from where I wish to run the java command, and the following command line arguments:
“-Dsun.java2d.d3d=false” “-Dsun.java2d.uiScale=1” “code.Code”

Any ideas for things to try?

Thank you for using Nsight Graphics. I’m sorry you ran into this issue with Nsight Graphics not working with Java OpenGL. I will create a bug for the issue you identified. Would you be ok to share a repro with me at dwoods@nvidia.com?