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 167318 - ArrayIndexOutOfBoundsException: 1
Summary: ArrayIndexOutOfBoundsException: 1
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 16:06 UTC by Jiri Prox
Modified: 2009-10-23 15:05 UTC (History)
20 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152733


Attachments
stacktrace (3.08 KB, text/plain)
2009-06-18 16:06 UTC, Jiri Prox
Details
stacktrace (3.20 KB, text/plain)
2009-06-22 17:58 UTC, Exceptions Reporter
Details
stacktrace (1.74 KB, text/plain)
2009-06-23 19:42 UTC, Exceptions Reporter
Details
stacktrace (3.08 KB, text/plain)
2009-06-30 11:43 UTC, Tomas Danek
Details
stacktrace (3.20 KB, text/plain)
2009-07-10 23:36 UTC, nleck
Details
stacktrace (3.08 KB, text/plain)
2009-07-21 10:39 UTC, Tomas Danek
Details
stacktrace (3.08 KB, text/plain)
2009-07-21 10:40 UTC, Tomas Danek
Details
stacktrace (1.74 KB, text/plain)
2009-07-22 08:02 UTC, nleck
Details
stacktrace (3.08 KB, text/plain)
2009-07-24 13:03 UTC, dafreels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2009-06-18 16:06:01 UTC
Build: NetBeans IDE 6.7 (Build 200906170001)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.24-23-generic, i386

User Comments:
nbnathan: just started 6.7RC3 for first time and opened a grails project.  exception shows up while "Scanning projects..." task is running

jiriprox: AIOOBE occured when scanning big project

nbnathan: running grails application



Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
Comment 1 Jiri Prox 2009-06-18 16:06:07 UTC
Created attachment 83758 [details]
stacktrace
Comment 2 Marek Fukala 2009-06-18 16:44:23 UTC
One or more of the files contains code causing this issue. I guess you are not able to identify the file/s and attach
them here?
Comment 3 Exceptions Reporter 2009-06-19 18:52:55 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152733
Comment 4 Exceptions Reporter 2009-06-22 17:58:21 UTC
Build: NetBeans IDE 6.7 RC3 (Build 200906142201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-14-generic, amd64

User Comments: 
Importing project from eclipse workspace

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
Comment 5 Exceptions Reporter 2009-06-22 17:58:26 UTC
Created attachment 83882 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-06-22 17:58:30 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152733
Comment 7 Exceptions Reporter 2009-06-23 19:42:40 UTC
Build: NetBeans IDE 6.7 RC3 (Build 200906142201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-11-generic, amd64

User Comments: 
Just open project...

Stacktrace: 
org.netbeans.modules.parsing.spi.ParseException
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:191)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:1253)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1167)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSource(RepositoryUpdater.java:2075)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSources(RepositoryUpdater.java:1992)
Comment 8 Exceptions Reporter 2009-06-23 19:42:53 UTC
Created attachment 83955 [details]
stacktrace
Comment 9 Exceptions Reporter 2009-06-23 19:42:59 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152733
Comment 10 Exceptions Reporter 2009-06-27 13:40:21 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152733
Comment 11 Marek Fukala 2009-06-30 09:26:24 UTC
should be already fixed
Comment 12 Tomas Danek 2009-06-30 11:43:39 UTC
Build: NetBeans IDE 6.7 (Build 200906212001)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, i386

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
Comment 13 Tomas Danek 2009-06-30 11:43:44 UTC
Created attachment 84172 [details]
stacktrace
Comment 14 nleck 2009-07-10 23:36:44 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
Comment 15 nleck 2009-07-10 23:36:49 UTC
Created attachment 84620 [details]
stacktrace
Comment 16 Tomas Danek 2009-07-21 10:39:12 UTC
Build: NetBeans IDE 6.7 (Build 200906212001)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1<br/>
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)<br/>
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)<br/>
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)<br/>
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)<br/>
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)<br/>
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)<br/>
Comment 17 Tomas Danek 2009-07-21 10:39:16 UTC
Created attachment 84984 [details]
stacktrace
Comment 18 Tomas Danek 2009-07-21 10:40:12 UTC
Build: NetBeans IDE 6.7 (Build 200906212001)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1<br/>
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)<br/>
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)<br/>
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)<br/>
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)<br/>
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)<br/>
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)<br/>
Comment 19 Tomas Danek 2009-07-21 10:40:17 UTC
Created attachment 84985 [details]
stacktrace
Comment 20 nleck 2009-07-22 08:01:51 UTC
Build: NetBeans IDE 6.7.1 RC (Build 200907162301)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.24-170.2.68.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
org.netbeans.modules.parsing.spi.ParseException
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:191)
        at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:1306)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1213)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSource(RepositoryUpdater.java:2138)
        at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSources(RepositoryUpdater.java:2055)
Comment 21 nleck 2009-07-22 08:02:03 UTC
Created attachment 85048 [details]
stacktrace
Comment 22 im_dan 2009-07-23 00:23:10 UTC
This issue is not fixed, I am constantly getting this error using version 6.7 (Build 200906241340)
Comment 23 dafreels 2009-07-24 13:03:10 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
Executing a Maven build.

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1906)
        at org.netbeans.editor.ext.html.dtd.DTDParser$MultiContentNodeImpl.reduce(DTDParser.java:1861)
        at org.netbeans.editor.ext.html.parser.AstNode.reduce(AstNode.java:150)
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:129)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:92)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:81)
Comment 24 dafreels 2009-07-24 13:03:20 UTC
Created attachment 85175 [details]
stacktrace
Comment 25 Exceptions Reporter 2009-07-29 16:19:54 UTC
This issue already has 101 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=152733
Comment 26 Petr Jiricka 2009-07-29 16:57:36 UTC
Looks like this is still happening in NB 6.7.1, so it could be a patch candidate (if we have another patch).
However, I don't see any reports from 6.8 Dev builds, so perhaps this is fixed in trunk? Jindro or Jirko, can you
confirm? Thanks.
Comment 27 Marek Fukala 2009-07-30 11:32:34 UTC
As I already wrote on Jun 30th the issue is fixed in trunk.
Comment 28 Jindrich Sedek 2009-08-03 08:04:12 UTC
verified.