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.
Build: NetBeans IDE Dev (Build 200911160201) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP, 5.1, x86 User Comments: ca-nb: - tried to set a breakpoint in Java FX source by clicking on the field with line numbers in source editor Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javafx.debugger.Context.getCurrentLineNumber(Context.java:80) at org.netbeans.modules.javafx.debugger.actions.JavaFXToggleActionProvider.doAction(JavaFXToggleActionProvider.java:52) at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Created attachment 91097 [details] stacktrace
Build 200911160201 NetBeans Full bundle. Windows XP version 5.1 - Install NetBeans - Create a JavaFX Script project - Set a breakpoint to the main file The exception pops up.
Created attachment 91165 [details] stacktrace
Isn't this also ergonomics, Alexander?
Probably yes. Because after activating the Java module the issue is not reproduced.
No, not ergonomics. It is caused by javafx debugger module missing some dependency on something. It is not java.editor, but I'm not sure what module is it yet.
There was missing dependency on org.netbeans.modules.debugger.jpda.projects, which provides EditorContext. http://hg.netbeans.org/javafx/rev/0776a3653334
verified in Build 200911200201