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

Does the Atlassian Clover for IDEA support IntelliJ 13?

When I added the Atlassian Clover for IDEA plugin to a fresh IntelliJ 13 install my project will not build with clover enabled and has the following error on every class:

package com_cenqua_clover does not exist.

Anyone else running into this or is this a problem in just my environment?

1 answer

1 accepted

0 votes
Answer accepted

Yes, there are few compatibility issues related with the latest IDEA13. See:

https://jira.atlassian.com/browse/CLOV-1395

Update: I'm working on it and I expect to release Clover 3.2.1 with a hot fix in January.

Problem:

Clover 3.2.0 under IDEA13 throws "NoSuchMethodError" when trying to load a license key from a file ('About Clover' window > 'License' button > 'Load' button).

Workaround:

Copy a license key to the clipboard and use the 'Paste' button.

Problem:

Compilation of code instrumented by Clover 3.2.0 under IDEA13 fails with an error message "package com_cenqua_clover does not exist". This is caused by a fact that the Clover JAR file is not found (the "Clover IDEA Plugin" in Project Structure > Global Libraries) in the external build process. This is releated with a bug http://youtrack.jetbrains.com/issue/IDEA-118928.

Workaround:

Copy the Clover JAR to a location outside the IDEA's plugin directory (typically ~\.IntelliJIdea\config\plugins). Add this JAR as a dependency to your module(s).

For example:

Open the Project Structure dialog. Go to the "Platform Settings > Global Libraries". Find the "Clover IDEA Plugin" global library on the list and copy the path to JAR (e.g. "c:\Users\Alice\.IntellijIDEA\config\plugins\clover-idea-3.2.0.jar"). Copy this JAR to another location (e.g. "C:\MyLibraries\clover-idea-3.2.0.jar"). Define new global library (e.g. "Clover IDEA Plugin 2"). Add this library as dependency to your modules.

Tip: do not modify exisiting "Clover IDEA Plugin" - if you change a path, it will be reset by Clover.

Problem:

Whenever a run configuration (for instance for JUnits) is edited, new NullPointerException entries will appear in the Event Log view. For example:

null
java.lang.NullPointerException
	at com.cenqua.clover.idea.junit.config.OptimizedConfigurationSettingsPanel.resetEditorFrom(OptimizedConfigurationSettingsPanel.java:63)
 

or

null
java.lang.NullPointerException
	at com.cenqua.clover.idea.junit.config.OptimizedConfigurationSettingsPanel.applyEditorTo(OptimizedConfigurationSettingsPanel.java:76)

This is related with Clover's test optimization feature.

Workaround:

Not possible. Test optimization with Clover 3.2.0 and IDEA13 will not work. Please wait for a Clover 3.2.1 bug fix release.

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...

146 views 1 8
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