Community
Participate
Working Groups
When running cucumber tests, I get the following exception logged every time a test is executed. java.lang.Exception: Unexpected TestElement type for testId '3': TestSuite: Scenario: Create new client : Completed - OK (1) at org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.logUnexpectedTest(TestRunSession.java:741) at org.eclipse.jdt.internal.junit.model.TestRunSession$TestSessionNotifier.testEnded(TestRunSession.java:680) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$4.run(RemoteTestRunnerClient.java:511) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.notifyTestEnded(RemoteTestRunnerClient.java:508) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.access$7(RemoteTestRunnerClient.java:503) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$DefaultProcessingState.readMessage(RemoteTestRunnerClient.java:90) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.receiveMessage(RemoteTestRunnerClient.java:374) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient.access$27(RemoteTestRunnerClient.java:373) at org.eclipse.jdt.internal.junit.model.RemoteTestRunnerClient$ServerConnection.run(RemoteTestRunnerClient.java:271) To verify the bug, I have done a brand new install of eclipse to see if the problem persisted, which it did.
Same for Eclipse Mars (4.5.1), Eclipse Orbit 4.12.0.v201504281640 Almost 3 years old now. Could someone please look at it?
AFAIK JUnit belongs to JDT UI
(In reply to Jeroen Lankheet from comment #1) > Same for Eclipse Mars (4.5.1), Eclipse Orbit 4.12.0.v201504281640 > Almost 3 years old now. Could someone please look at it? Please provide steps to reproduce the problem.
same issue for eclipse indigo Version: Indigo Service Release 2 Build id: 20120216-1857. please help me how to resolve that issue.
(In reply to kiran kumar from comment #4) > same issue for eclipse indigo Version: Indigo Service Release 2 > Build id: 20120216-1857. please help me how to resolve that issue. Indigo is no longer supported. As mentioned two years ago, we need steps to reproduce this. Closing for now, as it works for me.
same issue for eclipse indigo Version: Indigo Service Release 2 Build id: 20120216-1857. please help me how to resolve that issue. please help, which eclipse IDE version is better for developing java/j2ee/cucumber application.
(In reply to kiran kumar from comment #6) > please help, which eclipse IDE version is better for developing > java/j2ee/cucumber application. https://www.eclipse.org/downloads/