Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Missing required bundle org.junit_[3.8.1,3.9.0) when launching Plug-in unit tests
Missing required bundle org.junit_[3.8.1,3.9.0) when launching Plug-in unit tests [message #518887] Fri, 05 March 2010 11:32
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 168
Registered: July 2009
Senior Member
Hi,

when I launch JUnit 4 tests in Eclipse 3.5.2, I get the following exception complaining
about the missing required bundle org.junit_ was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit4.runtime 2 0 2010-03-05 12:27:23.717
!MESSAGE Missing required bundle org.eclipse.jdt.junit.runtime_[3.4.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.718
!MESSAGE Bundle org.eclipse.jdt.junit.runtime_3.4.100.v20090513-2000 was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit.runtime 2 0 2010-03-05 12:27:23.719
!MESSAGE Missing required bundle org.junit_[3.8.2,3.9.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.720
!MESSAGE Bundle org.eclipse.pde.junit.runtime_3.4.0.v20090527 was not resolved.
!SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2010-03-05 12:27:23.721
!MESSAGE Missing required bundle org.eclipse.jdt.junit.runtime_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2010-03-05 12:27:23.722
!MESSAGE Missing required bundle org.junit_[3.8.1,3.9.0).

!ENTRY org.eclipse.osgi 4 0 2010-03-05 12:27:23.730
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application
"org.eclipse.pde.junit.runtime.nonuithreadtestapplication" could not be found in the
registry. The applications available are: com.example.addressbook.application,
org.eclipse.equinox.app.error.
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: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.osgi 2 0 2010-03-05 12:27:23.746
!MESSAGE One or more bundles are not resolved because the following root constraints are
not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.747
!MESSAGE Bundle
initial@reference :file:../../../../../../../../../../Applications/eclipse-3.5 .2/plugins/org.eclipse.pde.junit.runtime_3.4.0.v20090527.jar /
was not resolved.
!SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2010-03-05 12:27:23.748
!MESSAGE Missing required bundle org.junit_[3.8.1,3.9.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.749
!MESSAGE Bundle
initial@reference :file:../../../../../../../../../../Applications/eclipse-3.5 .2/plugins/org.eclipse.jdt.junit.runtime_3.4.100.v20090513-2 000.jar/
was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit.runtime 2 0 2010-03-05 12:27:23.749
!MESSAGE Missing required bundle org.junit_[3.8.2,3.9.0).

!ENTRY org.eclipse.osgi 2 0 2010-03-05 12:27:23.767
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior
log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.768
!MESSAGE Bundle org.eclipse.jdt.junit4.runtime_1.1.0.v20090513-2000 was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit4.runtime 2 0 2010-03-05 12:27:23.769
!MESSAGE Missing required bundle org.eclipse.jdt.junit.runtime_[3.4.100,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.770
!MESSAGE Bundle org.eclipse.jdt.junit.runtime_3.4.100.v20090513-2000 was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit.runtime 2 0 2010-03-05 12:27:23.772
!MESSAGE Missing required bundle org.junit_[3.8.2,3.9.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2010-03-05 12:27:23.773
!MESSAGE Bundle org.eclipse.pde.junit.runtime_3.4.0.v20090527 [74] was not resolved.
!SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2010-03-05 12:27:23.774
!MESSAGE Missing required bundle org.eclipse.jdt.junit.runtime_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.pde.junit.runtime 2 0 2010-03-05 12:27:23.775
!MESSAGE Missing required bundle org.junit_[3.8.1,3.9.0).

Greetings,

Ralf


--
http://www.ralfebert.de/blog/eclipsercp/
Previous Topic:Hooking into the console's Document
Next Topic:Missing required bundle org.junit_[3.8.1,3.9.0) when launching Plug-in unit tests
Goto Forum:
  


Current Time: Fri Apr 19 23:27:31 GMT 2024

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

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

Back to the top