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 201003240200) VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Linux User Comments: jasondonmoyer: deleted a line of text in the java editor while a build was running in the background Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.lib2.view.EditorBoxView.getViewIndexChecked(EditorBoxView.java:389) at org.netbeans.modules.editor.lib2.view.EditorView.getViewIndex(EditorView.java:372) at javax.swing.text.View.getToolTipText(View.java:1010) at javax.swing.text.View.getToolTipText(View.java:1016) at javax.swing.text.View.getToolTipText(View.java:1016) at javax.swing.plaf.basic.BasicTextUI.getToolTipText(BasicTextUI.java:1228)
Created attachment 95685 [details] stacktrace
Created attachment 95778 [details] stacktrace
*** Bug 182664 has been marked as a duplicate of this bug. ***
Created attachment 95809 [details] stacktrace Debugged Mobile Application. Execution stopped at breakpoint and the exception was thrown
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=166894
Created attachment 95924 [details] stacktrace Editing, moving cursor... (can't remember the exact last key pressed)
Created attachment 95984 [details] stacktrace
Created attachment 96003 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=166894
Created attachment 96074 [details] stacktrace
Created attachment 96076 [details] stacktrace
Created attachment 96091 [details] stacktrace Copied a section of code from a separate application to the clipboard. Refocussed on NetBeans Began scrolling up in the editor using the mouse wheel to locate the paste location.
Created attachment 96125 [details] stacktrace Scrolling down in the editor window of a ruby (.rb) file using the mouse roller.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=166894
Created attachment 96150 [details] stacktrace Navigating in Java-File while "Checking for external changes".
Created attachment 96155 [details] stacktrace
Created attachment 96156 [details] stacktrace
Created attachment 96266 [details] stacktrace
Created attachment 96269 [details] stacktrace
Created attachment 96275 [details] stacktrace
Created attachment 96292 [details] stacktrace Selected a few characters of Java source code and hit CTRL-C to copy it
Dozens of Ruby and PHP unit tests are also failing due to this, so a timely fix would be appreciated..
Created attachment 96312 [details] stacktrace
Created attachment 96314 [details] stacktrace Doubleclicked on the JButton in the JFrame form and the exception appeared...
Created attachment 96351 [details] stacktrace
Created attachment 96367 [details] stacktrace pasting text in the java editor
Created attachment 96434 [details] stacktrace
Created attachment 96435 [details] stacktrace Exception while Slowness-Detection
Created attachment 96470 [details] stacktrace
Created attachment 96521 [details] stacktrace
Created attachment 96528 [details] stacktrace
Created attachment 96548 [details] stacktrace CTRL + click on a method (jumps to a PHP class)
Created attachment 96556 [details] stacktrace Using the <Home> key to move to the front of the editable line within an editor window.
Created attachment 96572 [details] stacktrace Doubleclicked on a JTextfield in my JFrame and the exception appeared after the java src editor displayed.
Reproduced in NetBeans IDE Dev (Build 201004020200) http://statistics.netbeans.org/analytics/exception.do?id=364783
Created attachment 96593 [details] stacktrace
Created attachment 96596 [details] stacktrace
Created attachment 96604 [details] stacktrace
Created attachment 96610 [details] stacktrace
Created attachment 96628 [details] stacktrace Switched from an XSD file to a Java Test Source file
This bug already has 100 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=166894
Mea culpa: yes, there were missing overridable methods.
Created attachment 96718 [details] stacktrace Addeed a new function and gave it format selecting the function body and pressing Shift+Alt+F
Created attachment 96719 [details] stacktrace when putting the mouse over a supposed error. Oddly, the eror was not actually an error (it was supposed to be a "The class is neither abstract nor implements inherited methods", give or take)
Created attachment 96720 [details] stacktrace
The problem is (children==null) on in EditorBoxView: return children.getViewIndexAtPoint(this, x, y, alloc); This should only happen due to an inconsistency in view building which should already be fixed by issue #182504 that I've committed today. I've added a condition to integrity checks for both null-ness and emptiness of children in EBV in terms of #182504: @Override public String findIntegrityError() { if (children != null) { if (children.size() == 0) { return "children.size()==0"; } } else { return "children==null"; } return null; } In order to distinguish pre/post-182504 case I've added a check: http://hg.netbeans.org/jet-main/rev/a6ba839cbd1d
Integrated into 'main-golden', will be available in build *201004070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a6ba839cbd1d User: Miloslav Metelka <mmetelka@netbeans.org> Log: #182672 - NullPointerException at org.netbeans.modules.editor.lib2.view.EditorBoxView.getViewIndexChecked - added check for non-null children of EditorBoxView.