Login  Register

Re: getAWTgraphicsconfiguration() causes NPE error

Posted by Mr. Broccoli on Nov 04, 2021; 7:36pm
URL: https://forum.jogamp.org/getAWTgraphicsconfiguration-causes-NPE-error-tp4041439p4041448.html

Hi Phil,

I couldn't find a command to list attached jars in Netbeans, but when checking project properties, classpath is listed there. I took a snippet - see attached:
libs.PNG
Is this enough to convince you no obsolete versions are taken into account on run time?

When I swap 'fat' jar with the one you gave me a link to, the error in Netbeans changes to:
new_errors.txt
Maybe this could give you a clue you need to solve this puzzle?

Since I have Eclipse already installed, I just created a new project there and the code runs, but spews a few warnings:
eclipse_warning.PNG
Are these warnings serious (I don't know what reflective access is yet)?
If it's easier to configure it properly in Eclipse and get rid of these warnings, I can switch IDEs to make it work.

Kind regards, Mr. B.