Ah, I understand.

So you mean that the core dump is coming from a call to GetStaticMethodID with a NULL JNIEnv (equivalent to a NullPointerException), and not from FindClass returning NULL (to a ClassNotFoundException).

Could be worth exploring, yes. I imagine the OpenJFX friends will have all debugging tools in place to check this. Sending emails is not a good debugging practice, after all! :-).

Kind regards,
Antonio


On 09/04/2021 16:22, Neil C Smith wrote:
On Fri, 9 Apr 2021 at 15:17, antonio <anto...@vieiro.net> wrote:
It's probably a non-NULL value, but before using it from a native thread
one has to attach it to the JVM by law :-).

GetEnv is specified to set JNIEnv to NULL if the thread isn't attached.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to