Closed toshovski closed 9 years ago
That NPE occurs if you execute a test's launch config in an Eclipse that does not have the plugin org.eclipse.jdt.junit4.runtime.patch installed when the launch config was created by an Eclipse that did actually have org.eclipse.jdt.junit4.runtime.patch installed.
Workaround: Install org.eclipse.jdt.junit4.runtime.patch via the Xpect update site or delete+recreate your launch configuration.
org.eclipse.jdt.junit4.runtime.patch is required in Eclipse < Mars to execute all Xpect tests from a single file from the JUnit view.
In Eclipse Mars, that patch is not needed anymore: http://blog.moritz.eysholdt.de/2014/11/new-eclipse-junit-feature-run-subtrees.html
Thank you. I'll try the patch tomorrow.
I recieve an Null Pointer Exception when I try to run my tests. I have the latest version of xpect installed. Any idea how to fix that?