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 135660 - NoSuchMethodException when debugging project
Summary: NoSuchMethodException when debugging project
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 09:13 UTC by Alexandr Scherbatiy
Modified: 2008-06-23 10:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Ide log file (49.54 KB, text/plain)
2008-05-23 09:16 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-05-23 09:13:18 UTC
Steps to reproduce:
- Create a JavaFX project
- Create a JavaFX main file:
--------------------------------------
var a = 10;
var b = 20;
var c = a + b;
var d = a - b;
--------------------------------------
- Add Breakpoints for each line
- Press Debug Main Project button
- Press Continue (F5) button

  The exception pops up:


java.lang.NoSuchMethodException:
org.netbeans.modules.debugger.javafx.projects.EditorContextImpl.parseExpression(java.lang.String, java.lang.String, int,
com.sun.source.util.TreePathScanner, java.lang.Object, org.netbeans.spi.debugger.javafx.SourcePathProvider)
	at java.lang.Class.getMethod(Class.java:1605)
	at org.netbeans.modules.debugger.javafx.EditorContextBridge.parseExpression(EditorContextBridge.java:126)
	at org.netbeans.modules.debugger.javafx.expr.TreeEvaluator.evaluate(TreeEvaluator.java:121)
	at org.netbeans.modules.debugger.javafx.JavaFXDebuggerImpl.evaluateIn(JavaFXDebuggerImpl.java:724)
	at org.netbeans.modules.debugger.javafx.JavaFXDebuggerImpl.evaluateIn(JavaFXDebuggerImpl.java:628)
Comment 1 Alexandr Scherbatiy 2008-05-23 09:16:05 UTC
Created attachment 61806 [details]
Ide log file
Comment 2 Alexey Butenko 2008-06-10 11:44:36 UTC
fixed
Comment 3 Alexandr Scherbatiy 2008-06-23 10:18:46 UTC
verified