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 193545, 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 nbms-and-javadoc-6415-on-110103) VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20 OS: Linux User Comments: tboudreau: Randomly clicking with NB hanging aldobrucale: keeping ctrl-z pressed in java source file Stacktrace: java.lang.NullPointerException at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1106) at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1079) at javax.swing.text.JTextComponent.viewToModel(JTextComponent.java:1432) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation.keyPressed(HyperlinkOperation.java:385) at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249) at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
Created attachment 104704 [details] stacktrace
Created attachment 104779 [details] stacktrace In groovy file, replace a word in a literal String
Jan, can you please have a look at this? I am passing this to you since you fixed the very similar bug 193545. Thanks for looking at this one as well.
The original fix was not defensive enough, lets try this: http://hg.netbeans.org/jet-main/rev/d04fa0ce123c
Integrated into 'main-golden', will be available in build *201101090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d04fa0ce123c User: Jan Lahoda <jlahoda@netbeans.org> Log: #194025: result of j.a.Component.getMousePosition() can differ when called several times in row.