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 262826 - AssertionError: Expecting GroovyParseResult, but have null
Summary: AssertionError: Expecting GroovyParseResult, but have null
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: bruno.flavio
Depends on:
Reported: 2016-07-15 13:19 UTC by FrantaM
Modified: 2016-07-19 11:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225257

stacktrace (4.24 KB, text/plain)
2016-07-15 13:19 UTC, FrantaM

Note You need to log in before you can comment on or make changes to this bug.
Description FrantaM 2016-07-15 13:19:17 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-521-on-20160622)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b18, Java(TM) SE Runtime Environment, 1.8.0_66-b18
OS: Windows 10

User Comments:
FrantaM: ctrl+shift+i in build.gradle

java.lang.AssertionError: Expecting GroovyParseResult, but have null
   at org.netbeans.modules.groovy.editor.api.ASTUtils.getParseResult(
   at org.netbeans.modules.groovy.editor.actions.FixImportsAction$
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(
   at org.netbeans.modules.parsing.api.ParserManager$
   at org.netbeans.modules.parsing.api.ParserManager$
   at org.netbeans.modules.parsing.impl.TaskProcessor$
Comment 1 FrantaM 2016-07-15 13:19:18 UTC
Created attachment 160404 [details]
Comment 2 bruno.flavio 2016-07-19 11:09:21 UTC

Thank you for submitting this bug report.

Although I was unable to reproduce the issue with a clean install, it does occur when the Gradle Support plugin is installed. Is this your case as well?

Comment 3 FrantaM 2016-07-19 11:15:34 UTC