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 211427 - ClassCastException: org.netbeans.modules.html.editor.lib.html4parser.XmlSTElements$OT cannot be cast to org.netbeans.modules.html.editor.lib.html4parser.AstNode
Summary: ClassCastException: org.netbeans.modules.html.editor.lib.html4parser.XmlSTEle...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 08:15 UTC by host
Modified: 2012-04-25 09:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 187162


Attachments
stacktrace (2.46 KB, text/plain)
2012-04-19 08:15 UTC, host
Details

Note You need to log in before you can comment on or make changes to this bug.
Description host 2012-04-19 08:15:03 UTC
Build: NetBeans IDE Dev (Build 201204181547)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Mac OS X

Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.html.editor.lib.html4parser.XmlSTElements$OT cannot be cast to org.netbeans.modules.html.editor.lib.html4parser.AstNode
   at org.netbeans.modules.html.editor.lib.html4parser.DefaultHtmlParser$1.getPossibleCloseTags(DefaultHtmlParser.java:124)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.getPossibleEndTags(HtmlCompletionQuery.java:682)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.getPossibleEndTags(HtmlCompletionQuery.java:675)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:467)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:140)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1343)
Comment 1 host 2012-04-19 08:15:10 UTC
Created attachment 118488 [details]
stacktrace
Comment 2 Marek Fukala 2012-04-19 13:21:00 UTC
Oops, I haven't thought about such situation. Will fix ASAP
Comment 3 Marek Fukala 2012-04-24 15:15:00 UTC
fixed in web-main#fbe51a4fce36
Comment 4 Quality Engineering 2012-04-25 09:58:00 UTC
Integrated into 'main-golden', will be available in build *201204250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fbe51a4fce36
User: Marek Fukala <mfukala@netbeans.org>
Log: #211427 - ClassCastException: org.netbeans.modules.html.editor.lib.html4parser.XmlSTElements$OT cannot be cast to org.netbeans.modules.html.editor.lib.html4parser.AstNode