This content has been marked as final. Show 2 replies
Sp what part of that is giving you trouble.
The error message tells us:
Caused by: java.lang.NullPointerException
that Node's constructor is throwing NPE, so I'd start by looking at where you're constructing a Node and what you're passing that might be null, or what other "global" value that the Node needs might be null.
I think if I use the junit ANT tag and call the java testcase then I get that exception.
I am using the javafx.exe tool now from Intellij IDEA to call the same test case.
I think I am unsure how to call java code that calls JavaFX code. The refliective approach is recommended though.
java.lang.NoSuchMethodException: com.pragmatic.concurrency.view.PhaseProjector.javafx$run$(com.sun.javafx.runtime.sequence.Sequence) at java.lang.Class.getMethod(Class.java:1605) at com.sun.javafx.runtime.Entry.start(Entry.java:64) at com.sun.javafx.runtime.Main.main(Main.java:80)
I was basically trying to drive a JavaFX animation based on what happens in the Java code by calling JavaFX methods. Is that possible ?
Edited by: Mohan on Aug 22, 2011 4:20 AM
I am going to ask the JavaFX 2.0 forum. So here I am marking thsi answered.