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 6.7 Beta (Build 200904242137) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows XP, 5.1, x86 User Comments: silhanek: I looked up sources (by find in all open projects) containing specified string to change this string. When I could edit source file this exception appeared. Project is a directory with Suite and modules at the same level (modules are not in the suite project directory) and this edited file is in directory spec that is not oficial directory of any project. GUEST: editing a YML file, double clicking on a word (identifier) to select it, then it happened Stacktrace: java.lang.NullPointerException at org.netbeans.editor.BaseCaret.mouseClicked(BaseCaret.java:1239) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252) at java.awt.Component.processMouseEvent(Component.java:6137) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899)
Created attachment 83524 [details] stacktrace
Looks like the particular editor kit (for YML) is missing selectWordAction. I've added a check for that. http://hg.netbeans.org/jet-main/rev/87a785bfe59c
Integrated into 'main-golden', will be available in build *200906161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/87a785bfe59c User: Miloslav Metelka <mmetelka@netbeans.org> Log: #167015 - NullPointerException at org.netbeans.editor.BaseCaret.mouseClicked.
Hi, can I try it in 6.7 RC3 release? I have small notebook and disk to try build full NetBeans from mercurial main gold.
No, it's in trunk. You can download builds from here: --- http://bits.netbeans.org/download/trunk/nightly/latest/
DONE, it works OK in this build. Thanks. Milos
Marking as verified based on reporter's feedback.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/d9c6f64f1d03
v. in 6.7.1