Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JUnit Plugin Test No-Longer runs in M7
JUnit Plugin Test No-Longer runs in M7 [message #285534] Wed, 18 May 2005 14:41 Go to next message
Eclipse UserFriend
Originally posted by: alfiewong.gmail.com

After migrating from M6 to M7 my JUnit Plugin test no longer run. I get
the following error everytime I run a Plugin test.

org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NoClassDefFoundError:
org/eclipse/jdt/internal/junit/runner/RemoteTestRunner)
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:97)
at
org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:56)
at java.lang.Thread.run(Unknown Source)

I'm not sure why this occurs but any help would be appreciated. All I did
to migrate over was point M7 to my M6 workspace.
Re: JUnit Plugin Test No-Longer runs in M7 [message #285546 is a reply to message #285534] Wed, 18 May 2005 17:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ya_xiang.hotmail.com

Hi,
junit plugin-test works well.
what you need just is a clean eclipse.

Regards.

xiangya.
"Alfred Wong" <alfiewong@gmail.com> ????
news:ef38c15e6c9b726a8a7544b27d015d9b$1@www.eclipse.org...
> After migrating from M6 to M7 my JUnit Plugin test no longer run. I get
> the following error everytime I run a Plugin test.
>
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NoClassDefFoundError:
> org/eclipse/jdt/internal/junit/runner/RemoteTestRunner)
> 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(UITestAppl
ication.java:97)
> at
>
org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.ja
va:56)
> at java.lang.Thread.run(Unknown Source)
>
> I'm not sure why this occurs but any help would be appreciated. All I did
> to migrate over was point M7 to my M6 workspace.
>
Re: JUnit Plugin Test No-Longer runs in M7 [message #285552 is a reply to message #285546] Thu, 19 May 2005 01:28 Go to previous messageGo to next message
Ingo Maier is currently offline Ingo MaierFriend
Messages: 25
Registered: July 2009
Junior Member
Hi,

I have a similar problem in M7:

!ENTRY org.eclipse.osgi 2005-05-18 21:11:37.445
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException[1]:
java.lang.NoClassDefFoundError: org/eclipse/ui/testing/ITestHarness
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.defineClass(DefaultClassLoader.java:322)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:223)
at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findClassImpl(DefaultClassLoader.java:305)
at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findClass(DefaultClassLoader.java:197)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:179)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:137)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:118)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:74)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1259)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:371)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)


In M6, it worked. I have cleared and reimported all eclipse plugins.
Problem is still there. I once had a similar problem, the cause was a
missing runtime plugin. But this time I am a bit puzzled.

I added org.eclipse.ui.workbench containing ITestHarness which was not
found to my plugin dependencies (just a shot in the dark) and included
it in the runtime config but no success.

Any ideas?
Ingo

xiangya wrote:
> Hi,
> junit plugin-test works well.
> what you need just is a clean eclipse.
>
> Regards.
>
> xiangya.
> "Alfred Wong" <alfiewong@gmail.com> ????
> news:ef38c15e6c9b726a8a7544b27d015d9b$1@www.eclipse.org...
>
>>After migrating from M6 to M7 my JUnit Plugin test no longer run. I get
>>the following error everytime I run a Plugin test.
>>
>>org.eclipse.swt.SWTException: Failed to execute runnable
>>(java.lang.NoClassDefFoundError:
>>org/eclipse/jdt/internal/junit/runner/RemoteTestRunner)
>>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(UITestAppl
> ication.java:97)
>
>>at
>>
>
> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.ja
> va:56)
>
>>at java.lang.Thread.run(Unknown Source)
>>
>>I'm not sure why this occurs but any help would be appreciated. All I did
>>to migrate over was point M7 to my M6 workspace.
>>
>
>
>
Re: JUnit Plugin Test No-Longer runs in M7 [message #286068 is a reply to message #285534] Wed, 01 June 2005 18:18 Go to previous message
Eclipse UserFriend
Originally posted by: alfiewong.gmail.com

Did anybody get this working?

Thanks,
Alfred

Alfred Wong wrote:
> After migrating from M6 to M7 my JUnit Plugin test no longer run. I get
> the following error everytime I run a Plugin test.
>
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NoClassDefFoundError:
> org/eclipse/jdt/internal/junit/runner/RemoteTestRunner)
> 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:97)
>
> at
> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:56)
>
> at java.lang.Thread.run(Unknown Source)
>
> I'm not sure why this occurs but any help would be appreciated. All I
> did to migrate over was point M7 to my M6 workspace.
>
Previous Topic:Welcome page introContent
Next Topic:Ant extension
Goto Forum:
  


Current Time: Wed Jul 03 10:25:13 GMT 2024

Powered by FUDForum. Page generated in 0.03515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top