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 188477 - NullPointerException at org.netbeans.modules.javafx.debugger.models.ScriptClass.getType
Summary: NullPointerException at org.netbeans.modules.javafx.debugger.models.ScriptCla...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-07-08 09:08 UTC by Alexandr Scherbatiy
Modified: 2010-07-13 14:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171253


Attachments
stacktrace (4.01 KB, text/plain)
2010-07-08 09:08 UTC, Alexandr Scherbatiy
Details
stacktrace (3.85 KB, text/plain)
2010-07-08 13:44 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-07-08 09:08:04 UTC
Build: NetBeans IDE Dev (Build 201007080001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
sunflower: JavaFX Composer FXJDI Build #49 (Jul 8, 2010 7:48:33 AM)
Steps to reproduce:
- copy the code to the editor:
--------------------------------
function f() {
    println("A");
}

f();
--------------------------------

- Set a breakpoint to the last line
- Debug the project
- Press F7 (Step Into)
- Press Ctrl+F7 (Step Out)
- Press Ctrl+F7 (Step Out) again
The InvocationEvent java class opens.
The exception pops up.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javafx.debugger.models.ScriptClass.getType(ScriptClass.java:37)
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getFilter(VariablesTreeModelFilter.java:548)
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getDisplayName(VariablesTreeModelFilter.java:336)
   at org.netbeans.spi.viewmodel.Models$CompoundNodeModel.getDisplayName(Models.java:945)
   at org.netbeans.modules.debugger.jpda.models.LabelVarsFilter.getDisplayName(LabelVarsFilter.java:179)
   at org.netbeans.spi.viewmodel.Models$CompoundNodeModel.getDisplayName(Models.java:945)
Comment 1 Alexandr Scherbatiy 2010-07-08 09:08:08 UTC
Created attachment 100685 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-07-08 13:44:40 UTC
Created attachment 100696 [details]
stacktrace
Comment 3 Michal Skvor 2010-07-12 13:05:33 UTC
Fixed.
Comment 4 Andrei Chistiakov 2010-07-13 14:09:49 UTC
Verified with NetBeans IDE 6.9.1 Dev (Build 201007112301)