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 116657 - java.lang.NoSuchMethodException: org.netbeans.modules.debugger.jpda.SourcePath$CompoundContextProvider.getProjectSourceRoots()
Summary: java.lang.NoSuchMethodException: org.netbeans.modules.debugger.jpda.SourcePat...
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-25 12:21 UTC by Jiri Skrivanek
Modified: 2007-09-26 07:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 5149


Attachments
stacktrace (1.25 KB, text/plain)
2007-09-25 12:21 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-09-25 12:21:00 UTC
Build: NetBeans IDE Dev (Build 200709250552)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b02
OS: Windows XP, 5.1, x86

User Comments: 
It is similar to issue 115016 but this use case used to work before so it is a regression. To reproduce:

- create a new java project
- add some code into main method in Main.java
- toggle breakpoint in main method
- start debugger and wait until debugger stops at breakpoint
- create a new web application
- toggle breakpoint in index.jsp and NoSuchMethodException is thrown.
Comment 1 Jiri Skrivanek 2007-09-25 12:21:07 UTC
Created attachment 49443 [details]
stacktrace
Comment 2 Martin Entlicher 2007-09-25 14:49:22 UTC
I've reproduced it. It's not reproducible in Java-only IDE.
Comment 3 Martin Entlicher 2007-09-25 15:49:53 UTC
Fixed in trunk:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/SourcePath.java,v  <--  SourcePath.java
new revision: 1.11; previous revision: 1.10
Comment 4 Jiri Skrivanek 2007-09-26 07:48:56 UTC
Verified.