X
50 Rate this article:
No rating

[Internal] Eclipse log error: Bundle was not resolved

Help Article Update 2

Anonym

In this particular case IDL 7.0 under a Power PC Mac with OS X 10.4.11 an error message occurs after a second installation of the software. A message window appears with the message:

"An error has occurred. /users/username/.idl/itt/idl-workbench-config-idl70/1198465025676.log"

where the log file name in this case is a particular example. Multiple attempts yield different log file numbers in the error message.

Discussion
A customer has encountered the following problem. Initially the customer had trouble installing IDL 7.0 from the download page (OS 9 Classic icon associations). He then re-installed IDL from the DVD that he received. He may or may not have deleted all the original installation files before proceeding with the re-installation from the DVD. After the second installation everything seemed to be going better, the license wizard worked and the icons appeared correctly.

However, the IDL Workbench would not open. A message window appeared saying:
"An error has occurred. /users/username/.idl/itt/idl-workbench-config-idl70/1198465025676.log"

The log file name was different for each new attempt of running the IDL Workbench. A small portion of this log file is shown below:

!SESSION 2007-12-23 18:57:03.381 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_13
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Framework arguments: -application org.eclipse.help.base.helpApplication
Command-line arguments: -os macosx -ws carbon -arch ppc -application org.eclipse.help.base.helpApplication -data /Users/dbittner/.idl/itt/idlhelp

!ENTRY org.eclipse.core.runtime 4 0 2007-12-23 18:57:08.784
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"
   at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
   at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
   at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
   at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
   at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
   at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.osgi 4 0 2007-12-23 18:57:08.968
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2007-12-23 18:57:09.000
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:72)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

!ENTRY org.eclipse.osgi 2 0 2007-12-23 18:57:09.097
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.097
!MESSAGE Bundle update@plugins/org.eclipse.search.nl2a_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.search.nl2a 2 0 2007-12-23 18:57:09.099
!MESSAGE Missing host org.eclipse.search_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.100
!MESSAGE Bundle update@plugins/org.eclipse.ui.workbench_3.3.0.I20070608-1100.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.workbench 2 0 2007-12-23 18:57:09.100
!MESSAGE Missing imported package com.ibm.icu.text_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.100
!MESSAGE Bundle update@plugins/org.eclipse.swt.nl2a_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.nl2a 2 0 2007-12-23 18:57:09.100
!MESSAGE Missing host org.eclipse.swt_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.debug.core.nl1_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.debug.core.nl1 2 0 2007-12-23 18:57:09.101
!MESSAGE Missing host org.eclipse.debug.core_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ssh2.nl2a_3.2.0.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ssh2.nl2a 2 0 2007-12-23 18:57:09.101
!MESSAGE Missing host org.eclipse.team.cvs.ssh2_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.team.cvs.ui.nl2_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.team.cvs.ui.nl2 2 0 2007-12-23 18:57:09.101
!MESSAGE Missing host org.eclipse.team.cvs.ui_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.debug.ui.nl2a_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.debug.ui.nl2a 2 0 2007-12-23 18:57:09.101
!MESSAGE Missing host org.eclipse.debug.ui_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.ui.editors.nl2a_3.2.1.v200609270227.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.editors.nl2a 2 0 2007-12-23 18:57:09.101
!MESSAGE Missing host org.eclipse.ui.editors_[3.2.0,3.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-23 18:57:09.101
!MESSAGE Bundle update@plugins/org.eclipse.ui.views.properties.tabbed.nl2_3.2.1.v200609270227.jar was not resolved.



Workaround

The workaround is very simple:

  • Be sure that the following directory is deleted before executing IDL again: /users/username/.idl/itt/idl-workbench-config-idl70/

  • This can be done by typing on an X11 command line:

    cd /Users//.idl/itt/
    rm -r idl-workbench-config-idl70


    where should be replaced by the actual user's name

  • Now re-start IDL. The problem should now be resolved.