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.
Build: NetBeans IDE Dev (Build 201012150001) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: stosh: editing java code. cutting and pasting methods, 4 at a time. Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.<init>(TreePath.java:89) at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:412) at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:352) at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:150) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:322) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:676)
Created attachment 104453 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=175299
Created attachment 104487 [details] stacktrace save code
Created attachment 104490 [details] stacktrace
Created attachment 104515 [details] stacktrace Selecting text in a partially written abstrract class
Created attachment 104532 [details] stacktrace Highlighted a method parameter in the editor.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=175299
Created attachment 104536 [details] stacktrace Pasting a method from one class to another class.
Created attachment 104537 [details] stacktrace Editing a newly pasted method within a class.
Created attachment 104553 [details] stacktrace ctrl-C with some text selected (java source)
Created attachment 104568 [details] stacktrace Highlighting text within a Java file for deletion.
Created attachment 104591 [details] stacktrace I was editing source file; exceptin occurred thrice
Created attachment 104592 [details] stacktrace Here is the code I edited: void DirectoryStorage(Collection<Entry> newEntries) { synchronized (this) { this.entries.clear(); for (Entry entry : newEntries) { entries.put(entry.name, entry); } } } Each time I copy "Collection<Entry> newEntries" into clipboard, I get an exception
http://hg.netbeans.org/main-silver/rev/fb1527b233ab
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fb1527b233ab User: Jan Lahoda <jlahoda@netbeans.org> Log: #193775: preventing NPE.