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 162397 - AssertionError: Expecting JsParseResult, but have org.netbeans.modules.html.editor.gsf.HtmlParserResult@e926dc
Summary: AssertionError: Expecting JsParseResult, but have org.netbeans.modules.html.e...
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Pisl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 14:04 UTC by ki4ngel
Modified: 2009-10-08 15:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149300


Attachments
stacktrace (2.02 KB, text/plain)
2009-04-10 14:04 UTC, ki4ngel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ki4ngel 2009-04-10 14:04:48 UTC
Build: NetBeans IDE Dev (Build 200904091401)
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.6, i386

Stacktrace: 
java.lang.AssertionError: Expecting JsParseResult, but have org.netbeans.modules.html.editor.gsf.HtmlParserResult@e926dc
        at org.netbeans.modules.javascript.editing.AstUtilities.getParseResult(AstUtilities.java:159)
        at org.netbeans.modules.javascript.editing.AstUtilities.getForeignNode(AstUtilities.java:183)
        at org.netbeans.modules.javascript.editing.ElementUtilities.getNode(ElementUtilities.java:340)
        at org.netbeans.modules.javascript.editing.ElementUtilities.getComments(ElementUtilities.java:110)
        at org.netbeans.modules.javascript.editing.JsCodeCompletion.document(JsCodeCompletion.java:2047)
        at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:107)
Comment 1 ki4ngel 2009-04-10 14:04:58 UTC
Created attachment 79888 [details]
stacktrace
Comment 2 martin_zmrhal 2009-07-01 13:29:25 UTC
Please add steps to reproduce.
Comment 3 Petr Pisl 2009-10-08 15:05:54 UTC
I'm not able to reproduce this. The code now looks different, so the stacktrace doesn't match it. 
Comment 4 Petr Pisl 2009-10-08 15:06:47 UTC
Close it as works for me. Please reopen this, if you will see it again.