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.
Summary: | AssertionError at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree | ||
---|---|---|---|
Product: | web | Reporter: | t_h <t_h> |
Component: | HTML Editor | Assignee: | Marek Fukala <mfukala> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | alexvsimon, esmithbss, fzamboj, giorgio42, gunzip, ivansidorkin, jglick, jiriprox, johnsonlau, mburgess, mkroll, msauer, mslama, nleck, pjiricka, rmartins, rros, tboudreau, tprochazka, vsigler |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=152501 | ||
Issue Type: | DEFECT | Exception Reporter: | 152501 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
t_h
2009-06-12 08:52:36 UTC
Created attachment 83486 [details]
stacktrace
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) Created attachment 83506 [details]
stacktrace
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) Created attachment 83532 [details]
stacktrace
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) Created attachment 83538 [details]
stacktrace
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) Created attachment 83608 [details]
stacktrace
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) Created attachment 83609 [details]
stacktrace
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) Created attachment 83612 [details]
stacktrace
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) Created attachment 83625 [details]
stacktrace
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) Created attachment 83635 [details]
stacktrace
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) Created attachment 83640 [details]
stacktrace
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) Created attachment 83649 [details]
stacktrace
Thrown many times. 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) Created attachment 83746 [details]
stacktrace
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) Created attachment 83747 [details]
stacktrace
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) Created attachment 83755 [details]
stacktrace
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) Created attachment 83760 [details]
stacktrace
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? 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. 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. 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. Has happened to me and I am not using ergonomics. *** Issue 166922 has been marked as a duplicate of this issue. *** 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) Created attachment 83801 [details]
stacktrace
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. 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) Created attachment 83809 [details]
stacktrace
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 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? 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. |