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 223211 - NullPointerException at org.netbeans.modules.javascript2.editor.formatter.FormatTokenStream.getCoveringToken
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.formatter.For...
Status: RESOLVED DUPLICATE of bug 218651
Alias: None
Product: javascript
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 21:59 UTC by David Botterill
Modified: 2012-12-04 09:51 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196042


Attachments
stacktrace (2.62 KB, text/plain)
2012-12-03 21:59 UTC, David Botterill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Botterill 2012-12-03 21:59:15 UTC
This bug was originally marked as duplicate of bug 218651, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01-434, Java(TM) SE Runtime Environment, 1.6.0_37-b06-434-11M3909
OS: Mac OS X

User Comments:
GUEST: Formatted the source using the menu command 

Source --> Format

GUEST: Tried to  Right-Click->Format  jQuery Javascript code

obaviere: alt Shift 'f' in the editor

GUEST: pressed alt+shift+f

GUEST: Source -> Format

GUEST: Indenting code (Ctrl+Shift+F)

GUEST: Automatica alignment of source code

sunbiz: formatting a JSP page which has JavaScript in it added with the <!-- style notation for IE etc //-->

GUEST: trying to format selected code

GUEST: Problema ocorrido ao usar a combina
Comment 1 David Botterill 2012-12-03 21:59:20 UTC
Created attachment 128804 [details]
stacktrace
Comment 2 Petr Hejl 2012-12-04 09:51:43 UTC
Fixed on 2012-09-21. No report form beta2 (where it should be fixed).

*** This bug has been marked as a duplicate of bug 218651 ***