Profiling JavaFX Apps Not Working

Scott Palmer swpalmer at gmail.com
Fri Mar 11 18:28:46 UTC 2016


When I connect a profiler to my application with jvisualvm I get a constant
stream of exceptions:

Exception in thread "Thread-9" java.lang.NoClassDefFoundError:
com/sun/javafx/tk/quantum/QuantumToolkit$$Lambda$54

When I mouse over the UI, I get even more:

Exception in thread "JavaFX Application Thread"
java.lang.NoClassDefFoundError:
com/sun/javafx/tk/quantum/GlassViewEventHandler$$Lambda$523
at
com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$523/2001213433.get$Lambda(Unknown
Source)
at
com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
at com.sun.glass.ui.View.notifyMouse(View.java:937)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at
com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)

Is there a known issue with the profiler (in NetBeans and JvisualVM) and
Lambdas or something?

While the profiler is being configured there are warnings as well:

"Redefinition failed with error 62"

I can make that go away by passing -Xversify:none  which I found after a
bit of googling... but the exceptions remain.

I'm running JDK 8u72.

Regards,

Scott


More information about the openjfx-dev mailing list