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 161660 - AssertionError: Expecting JsParseResult, but have org.netbeans.modules.php.editor.parser.PHPParseResult@85800f
Summary: AssertionError: Expecting JsParseResult, but have org.netbeans.modules.php.ed...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 11:46 UTC by ki4ngel
Modified: 2009-08-18 09:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148375


Attachments
stacktrace (1.70 KB, text/plain)
2009-04-01 11:46 UTC, ki4ngel
Details
stacktrace (1.70 KB, text/plain)
2009-05-07 13:03 UTC, rmatous
Details
stacktrace (1.70 KB, text/plain)
2009-05-18 02:12 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ki4ngel 2009-04-01 11:46:23 UTC
Build: NetBeans IDE Dev (Build 200903310200)
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.php.editor.parser.PHPParseResult@85800f
        at org.netbeans.modules.javascript.editing.AstUtilities.getParseResult(AstUtilities.java:159)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.visit(JsRefactoringPlugin.java:236)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.run(JsRefactoringPlugin.java:228)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:165)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:137)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:188)
Comment 1 ki4ngel 2009-04-01 11:46:32 UTC
Created attachment 79215 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-04-30 01:32:26 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=148375
Comment 3 rmatous 2009-05-07 13:03:08 UTC
Build: NetBeans IDE Dev (Build 090507)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Linux, 2.6.24-24-generic, i386

User Comments: 


Stacktrace: 
java.lang.AssertionError: Expecting JsParseResult, but have org.netbeans.modules.php.editor.parser.PHPParseResult@1f1265b
        at org.netbeans.modules.javascript.editing.AstUtilities.getParseResult(AstUtilities.java:163)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.visit(JsRefactoringPlugin.java:236)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.run(JsRefactoringPlugin.java:228)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:165)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:137)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
Comment 4 rmatous 2009-05-07 13:03:18 UTC
Created attachment 81727 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-05-18 02:12:50 UTC
Build: NetBeans IDE Dev (Build 200905160201)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError: Expecting JsParseResult, but have org.netbeans.modules.php.editor.parser.PHPParseResult@176b0ad
        at org.netbeans.modules.javascript.editing.AstUtilities.getParseResult(AstUtilities.java:163)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.visit(JsRefactoringPlugin.java:236)
        at org.netbeans.modules.refactoring.javascript.plugins.JsRefactoringPlugin$TransformTask.run(JsRefactoringPlugin.java:228)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:165)
        at org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:137)
        at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:189)
Comment 6 Exceptions Reporter 2009-05-18 02:12:54 UTC
Created attachment 82274 [details]
stacktrace
Comment 7 Marek Fukala 2009-08-18 09:31:29 UTC
these kinds of problems have been already fixed in parsing api.