Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Published in Jira

Jira Cloud Performance Improvements

Hello everyone, I am a product manager in the Jira Cloud team focused on making sure our customers have a delightful experience using our products. Towards that goal, one of the areas which is extr...

175 views 2 9
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