Bug 408999 - [JUnit] org.eclipse.jdt.junit.core continuously throws exceptions in the log when running cucumber tests.
Summary: [JUnit] org.eclipse.jdt.junit.core continuously throws exceptions in the log ...
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2013-05-24 10:31 EDT by daniel mouritsen CLA
Modified: 2018-08-24 11:08 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daniel mouritsen CLA 2013-05-24 10:31:50 EDT
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.
Comment 1 Jeroen Lankheet CLA 2016-02-09 03:28:21 EST
Same for Eclipse Mars (4.5.1), Eclipse Orbit 4.12.0.v201504281640
Almost 3 years old now. Could someone please look at it?
Comment 2 Lars Vogel CLA 2016-02-09 04:11:04 EST
AFAIK JUnit belongs to JDT UI
Comment 3 Dani Megert CLA 2016-02-09 08:23:31 EST
(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.
Comment 4 kiran kumar CLA 2018-08-17 08:42:44 EDT
same issue for eclipse indigo Version: Indigo Service Release 2
Build id: 20120216-1857. please help me how to resolve that issue.
Comment 5 Dani Megert CLA 2018-08-17 08:49:02 EDT
(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.
Comment 6 kiran kumar CLA 2018-08-20 14:53:07 EDT
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.
Comment 7 Dani Megert CLA 2018-08-24 11:08:48 EDT
(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/