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.
This bug was originally marked as duplicate of bug 170487, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 091201-a62c1eb4c864) VM: OpenJDK 64-Bit Server VM, 14.0-b08, OpenJDK Runtime Environment, 1.6.0_0-b14 OS: Linux, 2.6.28-16-generic, amd64 User Comments: ivansidorkin: Create Java Application in Main.java add new line to body of main method type 'sout' and press tab so it will be expanded to System.out.println(""); move cursor to the EOL start to delete line using BackSpace button Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate(AnnotationHolder.java:410) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:99) at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:260) at org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1626) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:925) at org.netbeans.editor.BaseKit$DeleteCharAction$1.run(BaseKit.java:1535)
Created attachment 91921 [details] stacktrace
Created attachment 91922 [details] stacktrace
Created attachment 91923 [details] stacktrace
Fixed, thanks for your report. --- http://hg.netbeans.org/jet-main/rev/2a1b2829b1c3
Max, should it be fixed in 6.8 as well?
No, the defect is a result of my yesterday's commit in trunk branch -- the issue is not present in 6.8.
Created attachment 91933 [details] stacktrace
*** Bug 177921 has been marked as a duplicate of this bug. ***
*** Bug 177915 has been marked as a duplicate of this bug. ***
*** Bug 170487 has been marked as a duplicate of this bug. ***
*** Bug 177933 has been marked as a duplicate of this bug. ***
*** Bug 177947 has been marked as a duplicate of this bug. ***
*** Bug 177958 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *200912020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2a1b2829b1c3 User: Max Sauer <msauer@netbeans.org> Log: #177914: Minor chnage
*** Bug 178038 has been marked as a duplicate of this bug. ***
*** Bug 177923 has been marked as a duplicate of this bug. ***
verified
*** Bug 179674 has been marked as a duplicate of this bug. ***
The P1 Bug 179674 has been marked as duplicate of this one. So increasing the priority to P1 and marking as 68patch1-candidate.
The fix has been ported into the release68_fixes repository. http://hg.netbeans.org/release68_fixes/rev/a6be8406043e
Created attachment 93569 [details] stacktrace
Created attachment 95552 [details] stacktrace
Created attachment 96600 [details] stacktrace
Created attachment 96602 [details] stacktrace