Can't test RCP application [message #33922] |
Mon, 27 April 2009 18:37  |
Eclipse User |
|
|
|
I just installed SWTBot 2.0.0.204 (Eclipse + SWT features) into Eclipse
3.5M6.
If I try to run a simple test (as a SWTBot Test) I get the following error:
!SESSION 2009-04-27 15:30:52.781
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -version 3 -port 3866 -testLoaderClass
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname
org.eclipse.jdt.junit4.runtime -classNames ProjectEditorTest -application
org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
org.fhcrc.gems.client.product -testpluginname org.fhcrc.gems.client.test
Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
3866 -testLoaderClass
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname
org.eclipse.jdt.junit4.runtime -classNames ProjectEditorTest -application
org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
org.fhcrc.gems.client.product -data ../junit-workspace -dev
file:../Eclipse/.metadata/.plugins/org.eclipse.pde.core/pde- junit/dev.properties
-os win32 -ws win32 -arch x86 -testpluginname test.client
!ENTRY org.eclipse.osgi 4 0 2009-04-27 15:30:59.156
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application
"org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be found
in the registry. The applications available are:
org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error,
org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
org.eclipse.equinox.p2.metadata.repository.mirrorApplication ,
org.eclipse.help.base.infocenterApplication,
org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.legacytestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
org.eclipse.pde.junit.runtime.nonuithreadtestapplication,
org.fhcrc.gems.client.application.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
Any idea what's missing here? The active Eclipse instance is set as the
target platform, and the org.eclipse.swtbot.* plug-ins appear in the
registry.
|
|
|
Re: Can't test RCP application [message #33948 is a reply to message #33922] |
Tue, 28 April 2009 00:02   |
Eclipse User |
|
|
|
http://wiki.eclipse.org/SWTBot/Troubleshooting
-- Ketan
On 28/4/09 04:07, Eric Jain wrote:
> I just installed SWTBot 2.0.0.204 (Eclipse + SWT features) into Eclipse
> 3.5M6.
>
> If I try to run a simple test (as a SWTBot Test) I get the following error:
>
> !SESSION 2009-04-27 15:30:52.781
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -version 3 -port 3866 -testLoaderClass
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader
> -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames
> ProjectEditorTest -application
> org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
> org.fhcrc.gems.client.product -testpluginname org.fhcrc.gems.client.test
> Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
> 3866 -testLoaderClass
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader
> -loaderpluginname org.eclipse.jdt.junit4.runtime -classNames
> ProjectEditorTest -application
> org.eclipse.swtbot.eclipse.core.swtbottestapplication -product
> org.fhcrc.gems.client.product -data ../junit-workspace -dev
> file:../Eclipse/.metadata/.plugins/org.eclipse.pde.core/pde- junit/dev.properties
> -os win32 -ws win32 -arch x86 -testpluginname test.client
>
> !ENTRY org.eclipse.osgi 4 0 2009-04-27 15:30:59.156
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application
> "org.eclipse.swtbot.eclipse.core.swtbottestapplication" could not be
> found in the registry. The applications available are:
> org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error,
> org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
> org.eclipse.equinox.p2.metadata.repository.mirrorApplication ,
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.pde.junit.runtime.uitestapplication,
> org.eclipse.pde.junit.runtime.legacytestapplication,
> org.eclipse.pde.junit.runtime.coretestapplication,
> org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
> org.eclipse.pde.junit.runtime.nonuithreadtestapplication,
> org.fhcrc.gems.client.application.
> at
> org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:242)
>
> at
> org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> 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:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
>
> Any idea what's missing here? The active Eclipse instance is set as the
> target platform, and the org.eclipse.swtbot.* plug-ins appear in the
> registry.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04519 seconds