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 165377 - AssertionError: Unexpected tag type: ENDTAG
Summary: AssertionError: Unexpected tag type: ENDTAG
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 09:21 UTC by ki4ngel
Modified: 2009-06-03 14:31 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151335


Attachments
stacktrace (1.15 KB, text/plain)
2009-05-18 09:22 UTC, ki4ngel
Details
stacktrace (1.15 KB, text/plain)
2009-05-18 09:23 UTC, ki4ngel
Details
stacktrace (1.15 KB, text/plain)
2009-05-18 16:56 UTC, gholmer
Details
stacktrace (1.97 KB, text/plain)
2009-05-19 14:38 UTC, goeh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ki4ngel 2009-05-18 09:21:55 UTC
Build: NetBeans IDE Dev (Build 200905171401)
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

Stacktrace: 
java.lang.AssertionError: Unexpected tag type: ENDTAG
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:227)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:93)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:82)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:113)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:74)
        at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198)
Comment 1 ki4ngel 2009-05-18 09:22:05 UTC
Created attachment 82287 [details]
stacktrace
Comment 2 ki4ngel 2009-05-18 09:23:02 UTC
Build: NetBeans IDE Dev (Build 200905171401)
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: 


Stacktrace: 
java.lang.AssertionError: Unexpected tag type: ENDTAG
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:227)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:93)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:82)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:113)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:74)
        at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198)
Comment 3 ki4ngel 2009-05-18 09:23:11 UTC
Created attachment 82288 [details]
stacktrace
Comment 4 gholmer 2009-05-18 16:56:24 UTC
Build: NetBeans IDE Dev (Build 200905180201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.24-24-generic, i386

User Comments: 
This error just appeared and re-appears immediately it is closed, over and over. Had to restart NetBeans.

Stacktrace: 
java.lang.AssertionError: Unexpected tag type: ENDTAG
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:227)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:93)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:82)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:113)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:74)
        at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198)
Comment 5 gholmer 2009-05-18 16:56:31 UTC
Created attachment 82331 [details]
stacktrace
Comment 6 Marek Fukala 2009-05-18 17:03:01 UTC
I'll fix it asap.
Comment 7 goeh 2009-05-19 14:38:04 UTC
Build: NetBeans IDE Dev (Build 200905180201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
Copied 10 lines of html from one place in a .gsp to another place in same gsp.

Stacktrace: 
java.lang.AssertionError: Unexpected tag type: ENDTAG
        at org.netbeans.editor.ext.html.parser.SyntaxTree.makeTree(SyntaxTree.java:227)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.root(HtmlParserResult.java:93)
        at org.netbeans.modules.html.editor.gsf.HtmlParserResult.<init>(HtmlParserResult.java:82)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:113)
        at org.netbeans.modules.html.editor.gsf.HtmlGSFParser.parse(HtmlGSFParser.java:74)
        at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198)
Comment 8 goeh 2009-05-19 14:38:08 UTC
Created attachment 82398 [details]
stacktrace
Comment 9 Marek Fukala 2009-05-20 12:07:43 UTC
changeset:   132065:884910712c24
user:        Marek Fukala <mfukala@netbeans.org>
date:        Wed May 20 13:02:58 2009 +0200
summary:     #165377, 165396, 165475, 165143, 163271, 163242 - fixed a bunch of problems related to the HTML
validator/AST provider
Comment 10 Quality Engineering 2009-05-21 08:15:14 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/884910712c24
User: Marek Fukala <mfukala@netbeans.org>
Log: #165377, 165396, 165475, 165143, 163271, 163242 - fixed a bunch of problems related to the HTML validator/AST provider
Comment 11 dtrenz 2009-05-27 16:26:35 UTC
Running NetBeans IDE Dev (Build 200905201401) w/ all updates installed and still getting this error when I view 
certain PHP files.
Comment 12 Petr Jiricka 2009-05-28 08:58:42 UTC
The build you are using does not contain the fix yet. See the message above, you need build 200905210201 or newer from 
http://bits.netbeans.org/dev/nightly/. Your build (200905201401) is older. 

I am marking as fixed again, please reopen if you can reproduce this with a later build.