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 20121226-8667dcae06d4) VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Linux User Comments: marfous: pressed CTRL + SHIFT + C (toggle comment action) inside empty .tpl file Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.smarty.editor.actions.ToggleBlockCommentAction.actionPerformed(ToggleBlockCommentAction.java:98) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1639) at javax.swing.JComponent.processKeyBinding(JComponent.java:2851) at javax.swing.JComponent.processKeyBindings(JComponent.java:2886) at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
Created attachment 129799 [details] stacktrace
Fixed in web-main #b4f7b5e65eea.
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b4f7b5e65eea User: Martin Fousek <marfous@netbeans.org> Log: #224353 - NullPointerException at org.netbeans.modules.php.smarty.editor.actions.ToggleBlockCommentAction.actionPerformed
verified Product Version: NetBeans IDE Dev (Build 201301040001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17 System: Linux version 3.2.0-35-generic running on amd64; UTF-8; en_US (nb)