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.
Summary: | NullPointerException at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl$5.run | ||
---|---|---|---|
Product: | debugger | Reporter: | Jindrich Sedek <jsedek> |
Component: | Java | Assignee: | Daniel Prusa <dprusa> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 162027 |
Attachments: | stacktrace |
Description
Jindrich Sedek
2009-11-16 03:26:00 UTC
Created attachment 91071 [details]
stacktrace
This is a regression caused by http://hg.netbeans.org/main-silver?cmd=changeset;node=16b5c55166cb We have to fix it in 6.8, the NPE could be thrown often and be quite annoying. The fix is not difficult, methods in EditorContextImpl should check whether a given file object is a java source. This issue already has 6 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=162027 Fixed in changeset 153771:236e034e97bd http://hg.netbeans.org/main/rev/236e034e97bd Integrated into 'main-golden', will be available in build *200911170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/236e034e97bd User: Daniel Prusa <dprusa@netbeans.org> Log: #176875, #176887: Check if the passed file object is Java source. Fix reviewed, also verified in trunk that no exception is thrown. verified. NetBeans IDE Dev (Build 200911171401) |