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 194338 - AssertionError: Expecting JsParseResult, but have org.netbeans.modules.web.core.syntax.gsf.JspParserResult@16770ea
Summary: AssertionError: Expecting JsParseResult, but have org.netbeans.modules.web.co...
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 08:26 UTC by bitray
Modified: 2012-09-18 13:17 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149982


Attachments
stacktrace (2.11 KB, text/plain)
2011-01-14 08:26 UTC, bitray
Details
stacktrace (2.50 KB, text/plain)
2011-06-26 18:04 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bitray 2011-01-14 08:26:34 UTC
Build: NetBeans IDE Dev (Build 201012150001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

User Comments:
GUEST: just typing code

bitray: it happened when i was coding
ps:javascript

GUEST: Writing a PHP instruction inside HTML code

GUEST: Insert <?PHP ?> section into JavaScript code in php file

GUEST: Navigating in JSP file (actually - in JavaScript snipplet) with Ctrl+Left/Right keys.




Stacktrace: 
java.lang.AssertionError: Expecting JsParseResult, but have org.netbeans.modules.web.core.syntax.gsf.JspParserResult@16770ea
   at org.netbeans.modules.javascript.editing.AstUtilities.getParseResult(AstUtilities.java:167)
   at org.netbeans.modules.javascript.editing.JsCodeCompletion.document(JsCodeCompletion.java:2001)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:110)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.create(GsfCompletionDoc.java:120)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveDocumentation(GsfCompletionProvider.java:548)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.access$600(GsfCompletionProvider.java:246)
Comment 1 bitray 2011-01-14 08:26:38 UTC
Created attachment 104985 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-06-26 18:04:45 UTC
Created attachment 109117 [details]
stacktrace

editing html file
Comment 3 Petr Hejl 2012-09-18 13:17:59 UTC
This code won't be used in 7.3.