-
Bug
-
Resolution: Answered
-
Medium
-
2.5.1
-
None
-
None
One of my modules with (luckily) only a few unit tests started giving this error on every unit test:
java.lang.NoSuchFieldError: E
at com.vcommerce.storefront.rightnow.RightNowLocatorTester.setUp(RightNowLocatorTester.java:19)
The line number appears to always be the Junit setUp() method.
In addition, two unit tests in the same test case throw this:
java.lang.NoSuchMethodError: com_cenqua_clover.CoverageRecorder.globalSliceStart(Ljava/lang/Class;I)V
at com.vcommerce.storefront.integrations.webloyalty.WLEncryptionTester.testEncryption(WLEncryptionTester.java:20)
I can't find any differences between this module's build.xml and the other 10 that work fine. The only modification I've made to the build.xml along with the upgrade was to add:
<taskdef resource="cloverjunitlib.xml" classpath="${clover.jar}"/>
... as recommended for Ant 1.7.
[CLOV-672] Errors in Bamboo build after upgrading from Clover 2.4.0 to 2.5.1
Workflow | Original: New Clover Workflow [ 897549 ] | New: New Clover Workflow - Restricted [ 1474281 ] |
Workflow | Original: Clover Workflow [ 895130 ] | New: New Clover Workflow [ 897549 ] |
Workflow | Original: reviewflow [ 180604 ] | New: Clover Workflow [ 895130 ] |
Fix Version/s | New: won't fix [ 38394 ] |
Resolution | New: Answered [ 9 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
It seems to have been resolved long time ago, closing.