|Re: Unable to run JUnit tests on Eclipse Juno : IllegalStateException: Unable to acquire application [message #905151 is a reply to message #904336]
||Wed, 29 August 2012 19:52
| Heiner Westphal
Registered: July 2009
this group is about the TPTP testing framework, which does not include
the Eclipse Junit testing framework, so you may have better results
posting your question to http://www.eclipse.org/forums/index.php/f/11/
Am 28.08.2012 11:10, schrieb Thomas Ricatte:
> I have a strange problem while running JUnit4 tests on Juno in an OSGi
> environment (JUnit Plugin Run - the tests are stored in an osgi fragment
> in the usual way).
> When I try to launch the "JUnit Plugin Run", I get the following error :
> !ENTRY org.eclipse.osgi 2 0 2012-08-22 13:53:24.058
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-08-22 13:53:24.059
> !MESSAGE Bundle
> was not resolved.
> !SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2012-08-22 13:53:24.059
> !MESSAGE Missing required bundle org.eclipse.core.runtime_[3.3.0,4.0.0).
> java.lang.IllegalStateException: Unable to acquire application service.
> Ensure that the org.eclipse.core.runtime bundle is resolved and
> started (see config.ini).
> When I check the config.ini file, I can notice that
> "org.eclipse.core.runtime" is not explicitely present in the
> osgi.bundles (maybe via some reference ?).
> This problem is quite similar to this old one :
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=107972 but there was no
> explicit answer in the discussion (was it a bug or not ?).
> For your information, I am using the exact same bundle configuration
> (and the same start order) when I run my application in my dev
> environment. I tried several modifications but the problem seems
> definitely to come from the eclipse runtime (or maybe am I missing
> something obvious ?).
> Thanks a lot for your help. This is a highly blocking problem for me.
Powered by FUDForum
. Page generated in 0.02226 seconds