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.

Bug 159428

Summary: Unable to stop a debugger with Run in Browser execution model
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: DebuggerAssignee: Michal Skvor <misk>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE screen-shot
IDE log file

Description Alexandr Scherbatiy 2009-03-02 11:54:59 UTC
Release651 -> JavaFX_NB_651_Plugin: #15

  Product Version         = NetBeans IDE 6.5.1 (Build 200902261801)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_12-ea; Java HotSpot(TM) Client VM 11.2-b01; Sun Microsystems Inc.


Steps to reproduce:

- Create a JavaFX Script file:
--------------------------------------------
var a = 10;
var b = 20;
--------------------------------------------
- Set breakpoints for the 'a' and 'b' variables
- Select the Browser execution model for the project
- Debug the project
  Debugger starts but Finish Debugger Session, Continue and other button are disabled.



java.lang.NullPointerException: null AnnotationType for:FieldBreakpoint_broken
	at org.netbeans.editor.AnnotationTypes.getType(AnnotationTypes.java:324)
	at org.netbeans.editor.AnnotationDesc.updateAnnotationType(AnnotationDesc.java:180)
	at org.netbeans.editor.AnnotationDesc.isVisible(AnnotationDesc.java:123)
	at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:297)
	at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:221)
	at org.openide.text.NbDocument$2.run(NbDocument.java:470)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Alexandr Scherbatiy 2009-03-02 11:58:50 UTC
Created attachment 77553 [details]
IDE screen-shot
Comment 2 Alexandr Scherbatiy 2009-03-02 11:59:28 UTC
Created attachment 77555 [details]
IDE log file
Comment 3 Adam Sotona 2009-03-06 11:12:36 UTC
The buttons are disabled because the debugger did not stop on any breakpoint.
Current implementation of debugger is sometimes unstable and it needs to be synchronized with NB debugger team
improvements into 6.7 release.
Decreasing priority to P3.  
Comment 4 David Strupl 2011-05-16 13:49:16 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.