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 web-main-10157-on-20130325) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Linux User Comments: vriha: What caused it: - start IDE with fresh userdir - create a new HTML5 project - open index.html - run index.html Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.inspect.ui.DomTCController.updateDomTC0(DomTCController.java:216) at org.netbeans.modules.web.inspect.ui.DomTCController.access$100(DomTCController.java:64) at org.netbeans.modules.web.inspect.ui.DomTCController$2.run(DomTCController.java:189) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103)
Created attachment 133017 [details] stacktrace
P2 at least. It happens every time editor with running file gets focus: - run index.html - click somewhere in Projects window - click in editor => NPE
The file doesn't have to be running at all. I'm sorry, this is P1, it makes work with HTML files very difficult, almost every click outside of editor and then focusing editor back again causes this.
The exception shows that DomTree TopComponentGroup was not found. The root of this problem is an unfortunate typo. The declared group name is DomTC (instead of DomTree). I missed this problem because I always reused a user-dir that had the right group declared (from some previous experiments). I am sorry for that.
Fixed by http://hg.netbeans.org/web-main/rev/de2a8c96470a
Thanks a lot for quick fix Product Version: NetBeans IDE Dev (Build web-main-10163-on-20130325) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)