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.

Bug 224353 - NullPointerException at org.netbeans.modules.php.smarty.editor.actions.ToggleBlockCommentAction.actionPerformed
Summary: NullPointerException at org.netbeans.modules.php.smarty.editor.actions.Toggle...
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-01 19:44 UTC by Martin Fousek
Modified: 2013-01-04 10:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 197052


Attachments
stacktrace (2.12 KB, text/plain)
2013-01-01 19:44 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-01-01 19:44:51 UTC
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)
Comment 1 Martin Fousek 2013-01-01 19:44:53 UTC
Created attachment 129799 [details]
stacktrace
Comment 2 Martin Fousek 2013-01-03 07:11:50 UTC
Fixed in web-main #b4f7b5e65eea.
Comment 3 Quality Engineering 2013-01-04 02:31:36 UTC
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
Comment 4 Martin Kanak 2013-01-04 10:27:00 UTC
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)