JUnit Plugin tests, E3.0 release [message #256683] |
Tue, 29 June 2004 10:39 |
Eclipse User |
|
|
|
Originally posted by: stoerzer.fmi.uni-passau.de
Hi everybody!
I found some postings related to this topic before, but none helped.
When running a JUnit Plugin Test, the test classes are not found and
execution of some runnable fails with a NullPointerException.
The affected plugin is a new E3 plugin, but depends on some older (still
using the deprecated ctors) plugnis. I am using WinXP. My tests are in a
seperate source folder. The JUnit plugin (org.junit) is a plugin
dependency, and these classes are found (at least Eclipse does not
complain), so I currently have no idea how to fix this.
Thanks for any hints!
Regards,
Max
Class not found org.eclipse.JUnitCIA.batch.TestTSParsing
Class not found org.eclipse.JUnitCIA.batch.TestPackageCollector
Unhandled event loop exception
Reason:
Failed to execute runnable (java.lang.NullPointerException)
*** SWT nested exception
Reason:
java.lang.NullPointerException
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2691)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:161)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:25)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:3096)
at
org.eclipse.ui.internal.testing.WorkbenchTestable.runTest(Wo rkbenchTestable.java:83)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication.run Tests(UITestApplication.java:90)
at
org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:56)
at java.lang.Thread.run(Unknown Source)
|
|
|
Powered by
FUDForum. Page generated in 0.02976 seconds