This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256403 - NoSuchMethodError: org.netbeans.modules.cnd.testrunner.spi.TestRecognizerHandler.<init>(Ljava/lang/String;Z)V
Summary: NoSuchMethodError: org.netbeans.modules.cnd.testrunner.spi.TestRecognizerHand...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: UnitTest Support (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-06 10:04 UTC by Exceptions Reporter
Modified: 2016-07-19 12:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221002


Attachments
stacktrace (1.20 KB, text/plain)
2015-11-06 10:04 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-11-06 10:04:28 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: Can not run GoogleTest




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.cnd.testrunner.spi.TestRecognizerHandler.<init>(Ljava/lang/String;Z)V
   at bv.offa.netbeans.cnd.unittest.cpputest.CppUTestTestHandler.<init>(CppUTestTestHandler.java:46)
   at bv.offa.netbeans.cnd.unittest.cpputest.CppUTestTestHandlerFactory.createHandlers(CppUTestTestHandlerFactory.java:54)
   at org.netbeans.modules.cnd.testrunner.ui.TestRunnerLineConvertor.<init>(TestRunnerLineConvertor.java:72)
   at org.netbeans.modules.cnd.testrunner.TestRunnerActionHandler.createTestRunnerConvertor(TestRunnerActionHandler.java:262)
   at org.netbeans.modules.cnd.testrunner.TestRunnerActionHandler._execute(TestRunnerActionHandler.java:204)
   at org.netbeans.modules.cnd.testrunner.TestRunnerActionHandler.execute(TestRunnerActionHandler.java:134)
Comment 1 Exceptions Reporter 2015-11-06 10:04:29 UTC
Created attachment 157182 [details]
stacktrace
Comment 2 Alexander Simon 2015-11-06 12:24:41 UTC
The module bv.offa.netbeans.cnd.unittest [0.7.0 0.7.0-Beta 201509091232]
is not compatible with org.netbeans.modules.cnd.testrunner.
SPI was changed while fixing the bug #246649.

Recompile the module bv.offa.netbeans.cnd.unittest.
Comment 4 etrof 2016-03-19 20:22:52 UTC
Is this still an issue? If so, please test again with recent v0.7.1

It's already available through plugin portal; update will be available after verification (~ 2 - 3 days).
Comment 5 ilia 2016-07-19 12:27:10 UTC
As was noted in Comment #2 the plugin needs to be recompiled.
I took a look at 0.7.2 - should be compatible with a new API.

Closing as WORKSFORME.