I'm working now in Javafx in Maven and I'm using jfoenix dependency and it seems quite problematic. the NPE issue. I tried to research about it and I can't find a solution. I will provide the errors below..
java.lang.reflect.InaccessibleObjectException: Unable to make boolean java.lang.reflect.AccessibleObject.setAccessible0(boolean) accessible: module java.base does not "opens java.lang.reflect" to unnamed module @742b8504
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because "field" is null
Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.Node.getLayoutBounds()" because "this.textNode" is null
I've seen a query related to this, [from this question][1]
that's it, I'm using JDK 16, JFX 17 and Netbeans IDE 12.5, Scene Builder 11 and Jfoenix 9.0.10