This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE 8.0 Beta (Build 201401091443) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b63 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) Create a new JavaFX Applicaiton projec. Try to Profile it. Result, app runs and fails immediately with the following Error: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 15) Profiler Agent: Established connection with the tool Profiler Agent: Local accelerated session Error: Could not find or load main class com.javafx.main.Main Profiler Agent: Connection with agent closed Profiler Agent: Connection with agent closed Profiler Agent: Initializing... Profiler Agent: Options: >C:\Program Files (x86)\NetBeans 8.0 Beta\profiler\lib,5140,10< Profiler Agent: Initialized successfully Java Result: 1 jfxsa-profile: BUILD SUCCESSFUL (total time: 26 seconds) Related to issue 202133
When profiling an application, I am getting this error as well "Error: Could not find or load main class com.javafx.main.Main" Changed to P2 due to lack of any workaround.
(In reply to Lou Dasaro from comment #1) > When profiling an application, I am getting this error as well > "Error: Could not find or load main class com.javafx.main.Main" > > Changed to P2 due to lack of any workaround. There is a workaround: start application normally (without profiling) and attach profiler to it.
That workaround isn't suitable if you need to profile your application's startup.
fixed in http://hg.netbeans.org/profiler-main/rev/b889945e4557 in some instances the javafx profiling still does not work, but run doesn't either - see #240505
Integrated into 'main-silver', will be available in build *201401170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b889945e4557 User: Petr Cyhelsky <cyhelsky@netbeans.org> Log: #240379 - Adapt profiler to the new way of launching javafx apps
Verified working in build 201401180001