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 166966 - AssertionError at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree
Summary: AssertionError at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
: 166922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-12 08:52 UTC by t_h
Modified: 2009-08-24 09:30 UTC (History)
20 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 152501


Attachments
stacktrace (2.90 KB, text/plain)
2009-06-12 08:52 UTC, t_h
Details
stacktrace (3.01 KB, text/plain)
2009-06-12 14:24 UTC, Vojtech Sigler
Details
stacktrace (2.90 KB, text/plain)
2009-06-13 09:04 UTC, Exceptions Reporter
Details
stacktrace (2.89 KB, text/plain)
2009-06-13 16:38 UTC, johnsonlau
Details
stacktrace (2.89 KB, text/plain)
2009-06-16 02:55 UTC, esmithbss
Details
stacktrace (2.78 KB, text/plain)
2009-06-16 02:56 UTC, esmithbss
Details
stacktrace (3.01 KB, text/plain)
2009-06-16 07:26 UTC, esmithbss
Details
stacktrace (2.78 KB, text/plain)
2009-06-16 12:39 UTC, Ivan Sidorkin
Details
stacktrace (2.89 KB, text/plain)
2009-06-16 15:03 UTC, giorgio42
Details
stacktrace (2.78 KB, text/plain)
2009-06-16 16:06 UTC, Max Sauer
Details
stacktrace (2.78 KB, text/plain)
2009-06-16 18:05 UTC, Jesse Glick
Details
stacktrace (2.90 KB, text/plain)
2009-06-18 12:26 UTC, nleck
Details
stacktrace (2.90 KB, text/plain)
2009-06-18 12:27 UTC, nleck
Details
stacktrace (2.89 KB, text/plain)
2009-06-18 15:41 UTC, Filip Zamboj
Details
stacktrace (2.78 KB, text/plain)
2009-06-18 16:17 UTC, Jiri Prox
Details
stacktrace (3.01 KB, text/plain)
2009-06-19 11:54 UTC, Filip Zamboj
Details
stacktrace (2.54 KB, text/plain)
2009-06-19 14:32 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description t_h 2009-06-12 08:52:36 UTC
Build: NetBeans IDE Dev (Build 090612)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 1 t_h 2009-06-12 08:52:45 UTC
Created attachment 83486 [details]
stacktrace
Comment 2 Vojtech Sigler 2009-06-12 14:23:52 UTC
Build: NetBeans IDE Dev (Build 200906120201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-11-generic, i386

User Comments: 
Started with clean userdir and opened a j2se and a web project (JSPExamples from here: http://qa.netbeans.org/modules/debugger/promo-h/JSPExamples.zip) at the same time - multiple select in the open project dialog.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 3 Vojtech Sigler 2009-06-12 14:24:05 UTC
Created attachment 83506 [details]
stacktrace
Comment 4 Exceptions Reporter 2009-06-13 09:04:40 UTC
Build: NetBeans IDE Dev (Build 200906130201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.7, i386

User Comments: 
first startup after install

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 5 Exceptions Reporter 2009-06-13 09:04:49 UTC
Created attachment 83532 [details]
stacktrace
Comment 6 johnsonlau 2009-06-13 16:38:43 UTC
Build: NetBeans IDE Dev (Build 200906130201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments: 
Editing a pom.xml file.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 7 johnsonlau 2009-06-13 16:38:47 UTC
Created attachment 83538 [details]
stacktrace
Comment 8 esmithbss 2009-06-16 02:55:14 UTC
Build: NetBeans IDE Dev (Build 200906150201)
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: 
Loading a Ruby On Rails project.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 9 esmithbss 2009-06-16 02:55:19 UTC
Created attachment 83608 [details]
stacktrace
Comment 10 esmithbss 2009-06-16 02:56:15 UTC
Build: NetBeans IDE Dev (Build 200906150201)
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: 
INFINITE LOOP OF ASSERTION ERRORS

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 11 esmithbss 2009-06-16 02:56:18 UTC
Created attachment 83609 [details]
stacktrace
Comment 12 esmithbss 2009-06-16 07:26:32 UTC
Build: NetBeans IDE Dev (Build 200906150201)
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: 
Assertion error following OutOfMemory Exception when loading 2 Ruby On Rails projects.	

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 13 esmithbss 2009-06-16 07:26:42 UTC
Created attachment 83612 [details]
stacktrace
Comment 14 Ivan Sidorkin 2009-06-16 12:39:30 UTC
Build: NetBeans IDE Dev (Build 200906160201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Linux, 2.6.27-14-generic, amd64

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 15 Ivan Sidorkin 2009-06-16 12:39:35 UTC
Created attachment 83625 [details]
stacktrace
Comment 16 giorgio42 2009-06-16 15:03:32 UTC
Build: NetBeans IDE Dev (Build 090616)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments: 
During project or task scanning...

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 17 giorgio42 2009-06-16 15:03:47 UTC
Created attachment 83635 [details]
stacktrace
Comment 18 Max Sauer 2009-06-16 16:06:37 UTC
Build: NetBeans IDE Dev (Build 200906141401)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.7, x86_64

User Comments: 
Opened java.editor NB module project.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 19 Max Sauer 2009-06-16 16:06:49 UTC
Created attachment 83640 [details]
stacktrace
Comment 20 Jesse Glick 2009-06-16 18:05:46 UTC
Build: NetBeans IDE Dev (Build 090615)
VM: Java HotSpot(TM) Client VM, 16.0-b03, Java(TM) SE Runtime Environment, 1.7.0-ea-b59
OS: Linux, 2.6.28-11-generic, i386

User Comments: 
Ran IDE in JDK 7. Opened mercurial module project.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:171)
Comment 21 Jesse Glick 2009-06-16 18:05:58 UTC
Created attachment 83649 [details]
stacktrace
Comment 22 Jesse Glick 2009-06-16 18:07:23 UTC
Thrown many times.
Comment 23 nleck 2009-06-18 12:26:08 UTC
Build: NetBeans IDE Dev (Build 200906180201)
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.21-170.2.56.fc10.x86_64, amd64

User Comments: 
project scan

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 24 nleck 2009-06-18 12:26:14 UTC
Created attachment 83746 [details]
stacktrace
Comment 25 nleck 2009-06-18 12:27:03 UTC
Build: NetBeans IDE Dev (Build 200906180201)
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.21-170.2.56.fc10.x86_64, amd64

User Comments: 
project scan.

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 26 nleck 2009-06-18 12:27:07 UTC
Created attachment 83747 [details]
stacktrace
Comment 27 Filip Zamboj 2009-06-18 15:41:03 UTC
Build: NetBeans IDE Dev (Build 200906180201)
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: 
scanning project


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 28 Filip Zamboj 2009-06-18 15:41:09 UTC
Created attachment 83755 [details]
stacktrace
Comment 29 Jiri Prox 2009-06-18 16:17:30 UTC
Build: NetBeans IDE Dev (Build jet-main-832-on-090618)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
AE when scanning big project

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 30 Jiri Prox 2009-06-18 16:17:40 UTC
Created attachment 83760 [details]
stacktrace
Comment 31 Marek Fukala 2009-06-18 18:19:57 UTC
Looks like the DTD reader providers are not initialized properly/at all. They should be initialized when an instance of
HtmlGSFParser is created which I belive is always before the code in the stacktraces. 

In any case I cannot reproduce this issue, does anyone have a reproducible case?
Comment 32 gunzip 2009-06-18 20:03:33 UTC
i get this *every* time netbeans is scanning *any* project (just download drupal and try).
i suggest to try this with the development snapshots of 13 or 14 june.
Comment 33 nleck 2009-06-18 23:31:57 UTC
I get this also on the ST project already sent to the nb team. Just remove the var directory to cause a full scan and
you'll get a lot of examples. 
Comment 34 _ tboudreau 2009-06-19 02:55:47 UTC
Seemed to happen pretty reliably if I generated javadoc and expanded its folder in Files, and then right clicked the index.html file while a build was running.  
Seems to happen more often when a process is writing to the output window, which I usually have in sliding mode (though I can't imagine what the process or 
output window could have to do with it).

Are you running with ergonomics enabled?  If it's an improper initialization issue, that could have something to do with it.
Comment 35 Jesse Glick 2009-06-19 03:01:51 UTC
Has happened to me and I am not using ergonomics.
Comment 36 Marek Fukala 2009-06-19 10:36:15 UTC
*** Issue 166922 has been marked as a duplicate of this issue. ***
Comment 37 Filip Zamboj 2009-06-19 11:54:48 UTC
Build: NetBeans IDE Dev (Build 200906180201)
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: 
1. run netbeans with fresh userdir
2. open php project
3. open favorites view 
4. go to the same project folder as you project is in 
5. click right on one of the folders 
6. try to create subfolder 

I got it twice in a row 

Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 38 Filip Zamboj 2009-06-19 11:54:53 UTC
Created attachment 83801 [details]
stacktrace
Comment 39 Marek Fukala 2009-06-19 12:57:15 UTC
Oops, very simple cause I guess, at least I can reproduce it this way - an incorrect public id in the doctype declaration.

fixed in web-main#edc396f8009e

reopen if still happens to you after the fix, possibly another cause.
Comment 40 nleck 2009-06-19 14:31:57 UTC
Build: NetBeans IDE Dev (Build 200906180201)
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.21-170.2.56.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:71)
        at org.netbeans.editor.ext.html.parser.SyntaxParserResult.getASTRoot(SyntaxParserResult.java:74)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.root(HtmlParserResult.java:84)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.findErrors(HtmlParserResult.java:126)
        at org.netbeans.modules.html.editor.gsf.api.HtmlParserResult.getDiagnostics(HtmlParserResult.java:114)
        at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.index(TLIndexerFactory.java:162)
Comment 41 nleck 2009-06-19 14:32:02 UTC
Created attachment 83809 [details]
stacktrace
Comment 42 Quality Engineering 2009-06-20 08:07:21 UTC
Integrated into 'main-golden', will be available in build *200906200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/edc396f8009e
User: Marek Fukala <mfukala@netbeans.org>
Log: #166966 - AssertionError at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree
Comment 43 _ tboudreau 2009-08-24 03:13:17 UTC
Just encountered this using today's core/main, which does include http://hg.netbeans.org/main/rev/edc396f8009e.  
http://statistics.netbeans.org/analytics/exception.do?id=248150

Simply did a fresh checkout of nbsrc, migrated a few changesets to the javacard modules from my laptop using 'hg serve'.

Started NB on an existing userdir, opened javacard.kit and its direct dependencies;  built simple.project.templates and
swing.validation and encountered this shortly after starting to build javacard.filemodels.

Could this be triggered by stale cache data, or should I reopen?
Comment 44 Marek Fukala 2009-08-24 09:30:45 UTC
Tim, which sources did you checkout? Definitively not latest trunk - look at the SyntaxTree class, after the change from
7/15/09 the assertion cannot happen on the line from you stacktrace.