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 152859 - StringIndexOutOfBoundsException: String index out of range: 0
Summary: StringIndexOutOfBoundsException: String index out of range: 0
Status: CLOSED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 11:35 UTC by Marian Mirilovic
Modified: 2010-04-22 10:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 102772


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-11-10 11:35:24 UTC
15 duplicates so far ... last 7 reported in 3 days 

Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386
User comments: 
STACKTRACE: (first 10 lines)
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:558)
        at org.netbeans.modules.javascript.editing.FunctionAstElement.getKind(FunctionAstElement.java:139)
        at org.netbeans.modules.javascript.editing.JsAnalyzer$AnalysisResult.visit(JsAnalyzer.java:394)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:77)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
        at org.netbeans.modules.javascript.editing.ParseTreeWalker.walk(ParseTreeWalker.java:82)
Comment 1 Marek Fukala 2009-04-30 13:30:17 UTC
fixed in web-main#20f89fc55d3b
Comment 2 Marian Mirilovic 2010-04-22 10:34:17 UTC
v/c