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 7.4 (Build 201310012201) VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Windows 7 User Comments: MackSix: Pressing the "Refresh for Entity Under cursor" button on the Hierarchy window. Stacktrace: java.lang.NullPointerException at org.netbeans.editor.Utilities.getDocument(Utilities.java:1203) at org.netbeans.modules.java.navigation.hierarchy.HierarchyTopComponent.actionPerformed(HierarchyTopComponent.java:277) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
Created attachment 140967 [details] stacktrace
1. Open Java File. 2. Press Alt+F12 3. Close Java File. 4. Press "Refresh for Entity Under cursor" button on the Hierarchy window. This exception is thrown. Product Version: NetBeans IDE 7.4 (Build 201310012201) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Fixed jet-main de90dc2a345e
Integrated into 'main-silver', will be available in build *201404050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/de90dc2a345e User: Tomas Zezula <tzezula@netbeans.org> Log: #236969:NullPointerException at org.netbeans.editor.Utilities.getDocument