Skip to content

NPE happens in Java Builder with enabled annotation-based analysis and groovy #931

@sergebg

Description

@sergebg

error.txt
NPE happens when Groovy plugin installed and annotation-based null analysis enabled.
Disabling of annotation-based null analysis everything fixes errors. (As well as Groovy plugin removal)

My project is java project with many modules. Main sources include only java. Groovy is used for testing. Tests are based on Spock framework. In these tests we have non-standard naming (from the java point of view), something like this:

def "run scenario and perform checks"() { ... }

Otherwise this project is standard maven-based project. Internal compiler error appearing in "Problems" never relates to groovy code. Usually I can see 2 or 3 errors relating java files. For the same set of modules I get the same errors.

Groovy plugin: Groovy Development Tools 3.5.0.SNAPSHOT (installed from marketplace)
The error was discovered long time ago, and can be reproduced with earlier versions of eclipse and groovy plugin.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions