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.
Created attachment 143601 [details] Messages log Selected Scene.fxml node in project view. Invoked popup menu and selected "Make controller". Exception occurs (exception reporter is down just now). Happens whether building on JDK 7 or 8. JavaFX appears to have been previously activated during project creation, as reported by the Plugins wizard. Marked as P1, primarily because it is an exception. Tested using: Product Version: NetBeans IDE Dev (Build 201401040002) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b63 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121 System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
Created attachment 143602 [details] UI Gestures log
Hi Lou, I am not getting the exception when I click "Make controller" action. It works for me in both cases: when project is built using JDK 7 and/or 8. Product Version: NetBeans IDE Dev (Build 201401060002) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b65 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122 Please try to reproduce it once again with clean userdir. If it will still occur, please post more detailed steps to reproduce (maybe I'm missing something). Thanks!
Hi Roman, Build 201401040002 had some rough edges that I think were fixed by/before Build 201401060002, which I just retested with, and can't get to break in this scenario. Sorry for the trouble. Therefore, I have verified this bug as worksforme.
Whoa, I spoke too soon. This occurs when IDE is running on JDK 8 and Compile is set to JDK 7. See Bug 240052 and Exception Report 193847.
*** Bug 240052 has been marked as a duplicate of this bug. ***
Lou, could you try to reproduce this with clean user and cache directories? Either by deleting these two folders: User Directory = C:\Users\Lu\AppData\Roaming\NetBeans\dev Cache Directory = C:\Users\Lu\AppData\Local\NetBeans\Cache\devor by running NetBeans with --userdir
Sorry for messed text formatting, I've copied the values of your directories from attached messages.log. They should be: User Directory=C:\Users\Lu\AppData\Roaming\NetBeans\dev Cache Directory= C:\Users\Lu\AppData\Local\NetBeans\Cache\dev
Created attachment 143686 [details] stacktrace Invoked "Make Controller" on a Maven JavaFX project with IDE running on JDK 8 and Project options->Compile set to JDK 7
Created attachment 143689 [details] Test case to reproduce Maven JavaFX Make Controller exception See attached test case to reproduce Maven JavaFX Make Controller exception using: Product Version: NetBeans IDE Dev (Build 201401070002) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b63 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b121 System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb) AND JavaFX Scene Builder 2.0 (Developer Preview) Version: 2.0-b09
Hi Lou, now I am able to reproduce the problem. Key information was "Maven JavaFX Project". The root cause is same like in bug #239673 and bug #240097. jfxrt.jar from JDK 8 on which IDE is running is on bootclasspath.
I am marking this as a duplicate of the bug #239673, since the root cause is the same in both. *** This bug has been marked as a duplicate of bug 239673 ***