It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Transform error during compilation of grails controller Edited

I am using grails 2.5.5 with Java 8.

I am using the open clover plugin v4.3.1 and when I run

grailsw test-app :unit -clover.on -clover.view

I get this compilation error. There is no information on line number or method. I don't know how to even attempt to fix this. It works if i exclude this file but this controller has a lot of meat to be left uncovered. I think the function name mentioned is a closure but how to figure it out. Any help is appreciated.

A transform used a generics containing ClassNode java.util.List <E e
xtends java.lang.Object> for the method public static java.util.List $CLV_safeEval_java_util_List$(java.util.List expr, java.lang.Integer index) { ... } directly. You are not supposed t
o do this. Please create a new ClassNode referring to the old ClassNode and use the new ClassNode instead of the old one. Otherwise the compiler will create wrong descriptors and a poten
tial NullPointerException in TypeResolver in the OpenJDK. If this is not your own doing, please report this bug to the writer of the transform.

1 answer

0 votes

Please raise a bug on https://bitbucket.org/openclover/clover/issues and provide a test case. This seems to be a problem with Clover's extension for Groovy compiler.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

The control freak's guide: using Trello to plan a relocation

My partner and I were planning this relocation for years. It was our shared dream to try and live in another country. As children of immigrants, we already have experienced this once, but this still ...

380 views 8 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you