Login  Register

Re: NullPointerException from native method

Posted by gouessej on Apr 12, 2023; 11:04am
URL: https://forum.jogamp.org/NullPointerException-from-native-method-tp4042433p4042434.html

Hello

Please use the version 2.4.0, it's available in our own Maven repository:
https://jogamp.org/deployment/maven/org/jogamp/jocl/jocl-main/2.4.0/

Maybe this Maven example can help:
https://gouessej.wordpress.com/2014/11/22/ardor3d-est-mort-vive-jogamps-ardor3d-continuation-ardor3d-is-dead-long-life-to-jogamps-ardor3d-continuation/#maven

I'm not an expert of JOCL but if you find something wrong, we'll ask you to use the latest version anyway first.

By the way, we don't support Optimus and similar technologies. If your laptop can switch between GPUs at runtime, it will cause problems. It might be the root cause.
Julien Gouesse | Personal blog | Website