SWTBot fails with"swtbottestapplication" could not be found in the registry [message #33316] |
Thu, 23 April 2009 22:56  |
Eclipse User |
|
|
|
Hi,
My swtbot test is failing with :
!SESSION 2009-04-24 12:35:33.207
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Framework arguments: -version 3 -port 4297 -testLoaderClass
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
-loaderpluginname org.eclipse.jdt.junit.runtime -classNames
com.mgl.yearendtax.userinterface.application.swtbot.FundMana gerViewerTest
-application org.eclipse.swtbot.eclipse.core.swtbottestapplication
-product com.mgl.bfs.desktop.BFSIntegratedDesktop -testpluginname
com.mgl.yearendtax.userinterface
Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
4297 -testLoaderClass
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoade r
-loaderpluginname org.eclipse.jdt.junit.runtime -classNames
com.mgl.yearendtax.userinterface.application.swtbot.FundMana gerViewerTest
-application org.eclipse.swtbot.eclipse.core.swtbottestapplication
-product com.mgl.bfs.desktop.BFSIntegratedDesktop -data
C:\workspace/../junit-workspace -dev
file:C:/workspace/.metadata/.plugins/org.eclipse.pde.core/pd e-junit/dev.properties
-os win32 -ws win32 -arch x86 -testpluginname
com.mgl.yearendtax.userinterface
!ENTRY org.eclipse.osgi 4 0 2009-04-24 12:35:34.176
!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:
com.mgl.bfs.desktop.application, org.eclipse.equinox.app.error,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.legacytestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.pde.junit.runtime.coretestapplicationnonmain.
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:386)
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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
I've seen a similar post previous and it was suggested that the target
platform did not contain
org.eclipse.swtbot.eclipse.core_2.0.0.204-dev.jar. Mine does.
I also saw that the final fix was to set the execution environment to java
1.6, however mine is already 1.6. Anyone have any ideas?
|
|
|
|
|
Re: SWTBot fails with"swtbottestapplication" could not be found in the registry [message #529846 is a reply to message #33710] |
Tue, 27 April 2010 09:05  |
Eclipse User |
|
|
|
Hi Ketan!
sapatos wrote:
> I've seen a similar post previous and it was suggested that
> the target platform did not contain
> org.eclipse.swtbot.eclipse.core_2.0.0.204-dev.jar. Mine does.
>
> I also saw that the final fix was to set the execution
> environment to java 1.6, however mine is already 1.6.
> Anyone have any ideas?
As I have the same problem I would be interessted in the problems solution as well ...
kind regards, Markus
|
|
|
Powered by
FUDForum. Page generated in 0.02974 seconds