Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 292315

Summary: [context] task context tests fail with Invalid project specified error
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P2 CC: mrqberrt, nicolas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2009-10-14 16:49:44 EDT
Steps:
1. Restart
2. Activate task with clean context
3. Run Task Context Test

A message dialog appears that says Invalid project specified.

I have also seen this appear in the console in other scenarios:

java.lang.IllegalArgumentException: Error: parameter '-classNames' or '-className' not specified
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.defaultInit(RemoteTestRunner.java:300)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.init(RemoteTestRunner.java:212)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Comment 1 Nicolas Marchildon CLA 2011-08-30 11:55:32 EDT
I had to add my project to the Run Configuration classpath, in User Entries, as well as all the jars it depends on.
Comment 2 Mike Bradley CLA 2015-10-12 13:51:29 EDT
I get this same message and cannot run any Task Context Test run configuration.

Updating Run Configuration classpath does not help.
Comment 3 Mike Bradley CLA 2015-10-12 13:54:44 EDT
In 2009, in this thread https://www.eclipse.org/forums/index.php/t/15305/
it was mentioned that this does not support junit 4. Perhaps this is the reason for my failures.
Comment 4 Sam Davis CLA 2015-10-20 16:10:33 EDT
Marking as duplicate.

*** This bug has been marked as a duplicate of bug 220682 ***