The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
sorry, if this is a dumb question, but I am stuck:
I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
Everything seemed to work fine to the point, when I generated
the code. The generator seems to work, however the code is
seemingly incorrect.
The root problem seems to be, that the system does not
find the EMF bundles.
For example, the MANIFEST.MF files are marked with
Are you sure that the Target Platform of your workspace is identical
with the host IDE installation?
Only in this case the configuration details are meaningful. In the other
case you should verify the Traget Platform plugins in the Plugin
Development preferences.
Cheers
/Eike
Harald Finster schrieb:
> Hello,
>
> sorry, if this is a dumb question, but I am stuck:
> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
> Everything seemed to work fine to the point, when I generated
> the code. The generator seems to work, however the code is
> seemingly incorrect.
> The root problem seems to be, that the system does not
> find the EMF bundles.
> For example, the MANIFEST.MF files are marked with
>
> Manifest-Version: 1.0
> [...]
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: de.hfinster.library.presentation
> Require-Bundle: org.eclipse.core.runtime,
> library.edit;visibility:=reexport,
>
> org.eclipse.emf.ecore.xmi;visibility:=reexport,
> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
> org.eclipse.emf.edit.ui;visibility:=reexport
> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>
>
>
> I double checked, that the plugins are available.
> See the list of EMF plugins extracted from the configuration details
> (at the end of the posting).
>
>
> I would be grateful, if anyone could point me into the right direction.
>
> Kind regards
>
> Harald
>
>
>
> org.eclipse.emf (2.4.0.v200806091234) "EMF - Eclipse Modeling Framework"
> [Starting]
> org.eclipse.emf.activities (2.4.0.v200806091234) "EMF Activities
> Example" [Starting]
> org.eclipse.emf.ant (2.4.0.v200806091234) "EMF Ant Tasks" [Starting]
> org.eclipse.emf.cheatsheets (2.4.0.v200806091234) "EMF Cheat Sheets"
> [Starting]
> org.eclipse.emf.codegen (2.4.0.v200806091234) "EMF Code Generation" [Active]
> org.eclipse.emf.codegen.ecore (2.4.0.v200806091234) "EMF Ecore Code
> Generator" [Active]
> org.eclipse.emf.codegen.ecore.ui (2.4.0.v200806091234) "EMF Ecore Code
> Generator UI" [Active]
> org.eclipse.emf.codegen.ui (2.4.0.v200806091234) "EMF Code Generation
> UI" [Starting]
> org.eclipse.emf.common (2.4.0.v200806091234) "EMF Common" [Active]
> org.eclipse.emf.common.ui (2.4.0.v200806091234) "EMF Common UI" [Active]
> org.eclipse.emf.commonj.sdo (2.4.0.v200806091234) "CommonJ SDO - Service
> Data Objects" [Starting]
> org.eclipse.emf.converter (2.4.0.v200806091234) "EMF Model Converter"
> [Starting]
> org.eclipse.emf.databinding (1.0.0.v200806091234) "EMF Data Binding"
> [Starting]
> org.eclipse.emf.databinding.edit (1.0.0.v200806091234) "EMF Edit Data
> Binding" [Starting]
> org.eclipse.emf.doc (2.4.0.v200806091234) "EMF Developer Guide" [Starting]
> org.eclipse.emf.ecore (2.4.0.v200806091234) "EMF Ecore" [Active]
> org.eclipse.emf.ecore.change (2.4.0.v200806091234) "EMF Change Model"
> [Starting]
> org.eclipse.emf.ecore.change.edit (2.4.0.v200806091234) "EMF Change
> Edit" [Starting]
> org.eclipse.emf.ecore.edit (2.4.0.v200806091234) "EMF Ecore Edit" [Active]
> org.eclipse.emf.ecore.editor (2.4.0.v200806091234) "EMF Sample Ecore
> Editor" [Active]
> org.eclipse.emf.ecore.sdo (2.4.0.v200806091234) "EMF SDO - EMF's Service
> Data Objects Implementation" [Starting]
> org.eclipse.emf.ecore.sdo.doc (2.4.0.v200806091234) "EMF SDO Developer
> Guide" [Starting]
> org.eclipse.emf.ecore.sdo.edit (2.4.0.v200806091234) "EMF SDO Edit"
> [Starting]
> org.eclipse.emf.ecore.sdo.editor (2.4.0.v200806091234) "EMF SDO Editor"
> [Starting]
> org.eclipse.emf.ecore.sdo.source (2.4.0.v200806091234) "EMF SDO Source"
> [Resolved]
> org.eclipse.emf.ecore.xmi (2.4.0.v200806091234) "EMF XML/XMI
> Persistence" [Active]
> org.eclipse.emf.edit (2.4.0.v200806091234) "EMF Edit" [Active]
> org.eclipse.emf.edit.ui (2.4.0.v200806091234) "EMF Edit UI" [Active]
> org.eclipse.emf.example.installer (1.0.0.v200806091234) "EMF Example
> Installer" [Starting]
> org.eclipse.emf.examples (2.4.0.v200806091234) "EMF Examples" [Starting]
> org.eclipse.emf.examples.generator.validator (1.1.0.v200806091234) "EMF
> Generator Extension Example" [Active]
> org.eclipse.emf.examples.library (2.4.0.v200806091234) "EMF Extended
> Library Model Example" [Starting]
> org.eclipse.emf.examples.library.edit (2.4.0.v200806091234) "EMF
> Extended Library Edit Example" [Starting]
> org.eclipse.emf.examples.library.editor (2.4.0.v200806091234) "EMF
> Extended Library Editor Example" [Starting]
> org.eclipse.emf.examples.source (2.4.0.v200806091234) "EMF Examples
> Source" [Resolved]
> org.eclipse.emf.exporter (2.4.0.v200806091234) "EMF Model Exporter"
> [Starting]
> org.eclipse.emf.exporter.html (2.4.0.v200806091234) "EMF Model Exporter
> Example" [Starting]
> org.eclipse.emf.importer (2.4.0.v200806091234) "EMF Model Importer"
> [Starting]
> org.eclipse.emf.importer.ecore (2.4.0.v200806091234) "EMF Ecore
> Importer" [Starting]
> org.eclipse.emf.importer.java (2.4.0.v200806091234) "EMF Annotated Java
> Importer" [Starting]
> org.eclipse.emf.importer.rose (2.4.0.v200806091234) "EMF Rose Importer"
> [Starting]
> org.eclipse.emf.java (2.4.0.v200806091234) "EMF Java Model Example"
> [Starting]
> org.eclipse.emf.java.edit (2.4.0.v200806091234) "EMF Java Edit Example"
> [Starting]
> org.eclipse.emf.java.editor (2.4.0.v200806091234) "EMF Java Editor
> Example" [Starting]
> org.eclipse.emf.mapping (2.4.0.v200806091234) "EMF Mapping" [Starting]
> org.eclipse.emf.mapping.ecore (2.4.0.v200806091234) "EMF Ecore Mapping"
> [Starting]
> org.eclipse.emf.mapping.ecore.editor (2.4.0.v200806091234) "EMF Ecore
> Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ecore2ecore (2.4.0.v200806091234) "EMF Ecore to
> Ecore Mapping" [Starting]
> org.eclipse.emf.mapping.ecore2ecore.editor (2.4.0.v200806091234) "EMF
> Ecore to Ecore Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ecore2xml (2.4.0.v200806091234) "EMF Ecore to
> XML Mapping" [Starting]
> org.eclipse.emf.mapping.ecore2xml.ui (2.4.0.v200806091234) "EMF Ecore to
> XML Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ui (2.4.0.v200806091234) "EMF Mapping UI" [Starting]
> org.eclipse.emf.mapping.xsd2ecore (2.4.0.v200806091234) "XSD to Ecore
> Mapping" [Starting]
> org.eclipse.emf.mapping.xsd2ecore.editor (2.4.0.v200806091234) "XSD to
> Ecore Mapping Editor" [Starting]
> org.eclipse.emf.source (2.4.0.v200806091234) "EMF Source" [Resolved]
>
2.At 2:08 PM
on Aug 7, 2008,
Harald Finster
wrote:
Re: tutorial fails: unresolved bundles
Hi Eike,
thanks for your ultra-quick reply.
Your hint seems to be the right pointer.
I am not sure - indeed.
I just checked "Target Platform" Preferences
and found the location /usr/local/packages/eclipse,
which seems to be identical with my development system.
(The executable is /usr/local/packages/eclipse/eclipse)
However, as you said, the EMF plugins are missing in
the list of Plug-Ins. (I expected to find all plugins
installed in the development system there - but my
understanding seems to be incorrect here.)
Well, now I have to find out how to get them there.
(Certainly not an EMF specific problem.)
Again, thanks a lot and kind regards
Harald
Eike Stepper wrote:
> Hi Harald,
>
> Are you sure that the Target Platform of your workspace is identical
> with the host IDE installation?
> Only in this case the configuration details are meaningful. In the other
> case you should verify the Traget Platform plugins in the Plugin
> Development preferences.
>
> Cheers
> /Eike
>
>
>
> Harald Finster schrieb:
>> Hello,
>>
>> sorry, if this is a dumb question, but I am stuck:
>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>> Everything seemed to work fine to the point, when I generated
>> the code. The generator seems to work, however the code is
>> seemingly incorrect.
>> The root problem seems to be, that the system does not
>> find the EMF bundles.
>> For example, the MANIFEST.MF files are marked with
>>
>> Manifest-Version: 1.0
>> [...]
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: de.hfinster.library.presentation
>> Require-Bundle: org.eclipse.core.runtime,
>> library.edit;visibility:=reexport,
>>
>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>> org.eclipse.emf.edit.ui;visibility:=reexport
>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>
>>
>>
>> I double checked, that the plugins are available.
>> See the list of EMF plugins extracted from the configuration details
>> (at the end of the posting).
>>
>>
>> I would be grateful, if anyone could point me into the right direction.
>>
>> Kind regards
>>
>> Harald
>>
>
3.At 3:06 PM
on Aug 7, 2008,
Harald Finster
wrote:
Re: tutorial fails: unresolved bundles (solved)
Hello,
thanks to your help I managed to solve the problem.
I opened "Preferences" "Target Platform" "PlugIns"
"Add" and used the "Repository or Update Site" option
to add the EMF plugins ... and - voila - the bundles
can be resolved.
Harald Finster schrieb:
> Hi Eike,
>
> thanks for your ultra-quick reply.
>
In fact my nntp client shows that my answer arrived 3 minutes *before*
your question That's my personal record!
Cheers
/Eike
> Your hint seems to be the right pointer.
> I am not sure - indeed.
> I just checked "Target Platform" Preferences
> and found the location /usr/local/packages/eclipse,
> which seems to be identical with my development system.
> (The executable is /usr/local/packages/eclipse/eclipse)
> However, as you said, the EMF plugins are missing in
> the list of Plug-Ins. (I expected to find all plugins
> installed in the development system there - but my
> understanding seems to be incorrect here.)
>
> Well, now I have to find out how to get them there.
> (Certainly not an EMF specific problem.)
>
> Again, thanks a lot and kind regards
>
> Harald
>
>
>
>
> Eike Stepper wrote:
>
>> Hi Harald,
>>
>> Are you sure that the Target Platform of your workspace is identical
>> with the host IDE installation?
>> Only in this case the configuration details are meaningful. In the other
>> case you should verify the Traget Platform plugins in the Plugin
>> Development preferences.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Harald Finster schrieb:
>>
>>> Hello,
>>>
>>> sorry, if this is a dumb question, but I am stuck:
>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>> Everything seemed to work fine to the point, when I generated
>>> the code. The generator seems to work, however the code is
>>> seemingly incorrect.
>>> The root problem seems to be, that the system does not
>>> find the EMF bundles.
>>> For example, the MANIFEST.MF files are marked with
>>>
>>> Manifest-Version: 1.0
>>> [...]
>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>> Export-Package: de.hfinster.library.presentation
>>> Require-Bundle: org.eclipse.core.runtime,
>>> library.edit;visibility:=reexport,
>>>
>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>
>>>
>>>
>>> I double checked, that the plugins are available.
>>> See the list of EMF plugins extracted from the configuration details
>>> (at the end of the posting).
>>>
>>>
>>> I would be grateful, if anyone could point me into the right direction.
>>>
>>> Kind regards
>>>
>>> Harald
>>>
>>>
The EMF newsgroup supports the innovative new time tunneling
communications protocol to better support preemptive answering of
questions. We should get Scott to incorporate it in ECF.
Eike Stepper wrote:
> Harald Finster schrieb:
>> Hi Eike,
>>
>> thanks for your ultra-quick reply.
>>
> In fact my nntp client shows that my answer arrived 3 minutes *before*
> your question ;-)
> That's my personal record!
>
> Cheers
> /Eike
>
>> Your hint seems to be the right pointer.
>> I am not sure - indeed.
>> I just checked "Target Platform" Preferences
>> and found the location /usr/local/packages/eclipse,
>> which seems to be identical with my development system.
>> (The executable is /usr/local/packages/eclipse/eclipse)
>> However, as you said, the EMF plugins are missing in
>> the list of Plug-Ins. (I expected to find all plugins
>> installed in the development system there - but my
>> understanding seems to be incorrect here.)
>>
>> Well, now I have to find out how to get them there.
>> (Certainly not an EMF specific problem.)
>>
>> Again, thanks a lot and kind regards
>>
>> Harald
>>
>>
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Harald,
>>>
>>> Are you sure that the Target Platform of your workspace is identical
>>> with the host IDE installation?
>>> Only in this case the configuration details are meaningful. In the
>>> other
>>> case you should verify the Traget Platform plugins in the Plugin
>>> Development preferences.
>>>
>>> Cheers
>>> /Eike
>>>
>>>
>>>
>>> Harald Finster schrieb:
>>>
>>>> Hello,
>>>>
>>>> sorry, if this is a dumb question, but I am stuck:
>>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>>> Everything seemed to work fine to the point, when I generated
>>>> the code. The generator seems to work, however the code is
>>>> seemingly incorrect.
>>>> The root problem seems to be, that the system does not
>>>> find the EMF bundles.
>>>> For example, the MANIFEST.MF files are marked with
>>>>
>>>> Manifest-Version: 1.0
>>>> [...]
>>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>>> Export-Package: de.hfinster.library.presentation
>>>> Require-Bundle: org.eclipse.core.runtime,
>>>> library.edit;visibility:=reexport,
>>>>
>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>>
>>>>
>>>>
>>>> I double checked, that the plugins are available.
>>>> See the list of EMF plugins extracted from the configuration details
>>>> (at the end of the posting).
>>>>
>>>>
>>>> I would be grateful, if anyone could point me into the right
>>>> direction.
>>>>
>>>> Kind regards
>>>>
>>>> Harald
>>>>
>>>>
Ed Merks schrieb:
> Eike,
>
> The EMF newsgroup supports the innovative new time tunneling
> communications protocol to better support preemptive answering of
> questions. We should get Scott to incorporate it in ECF.
Hehe, I'll beam it up to Scott when I solved some minor issues with
structural integrity
>
>
> Eike Stepper wrote:
>> Harald Finster schrieb:
>>> Hi Eike,
>>>
>>> thanks for your ultra-quick reply.
>>>
>> In fact my nntp client shows that my answer arrived 3 minutes
>> *before* your question ;-)
>> That's my personal record!
>>
>> Cheers
>> /Eike
>>
>>> Your hint seems to be the right pointer.
>>> I am not sure - indeed.
>>> I just checked "Target Platform" Preferences
>>> and found the location /usr/local/packages/eclipse,
>>> which seems to be identical with my development system.
>>> (The executable is /usr/local/packages/eclipse/eclipse)
>>> However, as you said, the EMF plugins are missing in
>>> the list of Plug-Ins. (I expected to find all plugins
>>> installed in the development system there - but my
>>> understanding seems to be incorrect here.)
>>>
>>> Well, now I have to find out how to get them there.
>>> (Certainly not an EMF specific problem.)
>>>
>>> Again, thanks a lot and kind regards
>>>
>>> Harald
>>>
>>>
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Harald,
>>>>
>>>> Are you sure that the Target Platform of your workspace is identical
>>>> with the host IDE installation?
>>>> Only in this case the configuration details are meaningful. In the
>>>> other
>>>> case you should verify the Traget Platform plugins in the Plugin
>>>> Development preferences.
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Harald Finster schrieb:
>>>>
>>>>> Hello,
>>>>>
>>>>> sorry, if this is a dumb question, but I am stuck:
>>>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>>>> Everything seemed to work fine to the point, when I generated
>>>>> the code. The generator seems to work, however the code is
>>>>> seemingly incorrect.
>>>>> The root problem seems to be, that the system does not
>>>>> find the EMF bundles.
>>>>> For example, the MANIFEST.MF files are marked with
>>>>>
>>>>> Manifest-Version: 1.0
>>>>> [...]
>>>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>>>> Export-Package: de.hfinster.library.presentation
>>>>> Require-Bundle: org.eclipse.core.runtime,
>>>>> library.edit;visibility:=reexport,
>>>>>
>>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>>>
>>>>>
>>>>>
>>>>> I double checked, that the plugins are available.
>>>>> See the list of EMF plugins extracted from the configuration details
>>>>> (at the end of the posting).
>>>>>
>>>>>
>>>>> I would be grateful, if anyone could point me into the right
>>>>> direction.
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Harald
>>>>>
>>>>>
7.At 3:35 PM
on Aug 9, 2008,
Harald Finster
wrote:
Re: tutorial fails: unresolved bundles
Eike Stepper wrote:
> Ed Merks schrieb:
>> Eike,
>>
>> The EMF newsgroup supports the innovative new time tunneling
>> communications protocol to better support preemptive answering of
>> questions. We should get Scott to incorporate it in ECF.
> Hehe, I'll beam it up to Scott when I solved some minor issues with
> structural integrity ;-)
LOL Sorry, that I have to bother you with more trivial (for you) questions
again. Now, I have all classes/plugins generated without any errors.
When I try to start one of the plugins (according to the tutorial),
I get the error shown below.
Again: I checked for the existence of the file, which seems to cause the
trouble:
/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar
it is there.
I assume, that I have to modify my startup/launch configuration anyhow.
But how?
And, if you answer my question, I promise to solve the 'time tunneling
problem'
Thanks for your patience
Greetings Harald
org.osgi.framework.BundleException: Exception in
org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of
bundle org.eclipse.equinox.simpleconfigurator.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1028)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: java.lang.IllegalStateException: Bundle
"reference:file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
... 21 more
Root exception:
java.lang.IllegalStateException: Bundle
"reference:file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Maybe it's just that the versions that are stored in your launch config
don't exist anymore in your installation. Have you tried to "Add
Required Plugins" and "Validate" your launch config (Plugins tab)?
Enjoy your Sunday
/Eike
Harald Finster schrieb:
Eike Stepper wrote:
Ed Merks schrieb:
Eike,
The EMF newsgroup supports the innovative new time tunneling
communications protocol to better support preemptive answering of
questions. We should get Scott to incorporate it in ECF.
Hehe, I'll beam it up to Scott when I solved some minor issues with
structural integrity
<!---->
LOL
Sorry, that I have to bother you with more trivial (for you) questions
again. Now, I have all classes/plugins generated without any errors.
When I try to start one of the plugins (according to the tutorial),
I get the error shown below.
Again: I checked for the existence of the file, which seems to cause the
trouble:
/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar
it is there.
I assume, that I have to modify my startup/launch configuration anyhow.
But how?
And, if you answer my question, I promise to solve the 'time tunneling
problem'
Thanks for your patience
Greetings Harald
org.osgi.framework.BundleException: Exception in
org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of
bundle org.eclipse.equinox.simpleconfigurator.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1028)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: java.lang.IllegalStateException: Bundle
"reference:
file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar
"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
.... 21 more
Root exception:
java.lang.IllegalStateException: Bundle
"reference:
file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar
"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
9.At 3:43 AM
on Aug 10, 2008,
Harald Finster
wrote:
Re: tutorial fails: unresolved bundles
Hi,
Eike Stepper wrote:
> Hi Harald,
>
> Maybe it's just that the versions that are stored in your launch config
> don't exist anymore in your installation. Have you tried to "Add
> Required Plugins" and "Validate" your launch config (Plugins tab)?
>
yes, I tried that, and "Validate" tells me, that there aren't any
problems :~}
Looks like a broken installation - I just testes the "Hello World"
RCP example, which fails with the same (?) error.
I will reinstall everything from scratch.
> Enjoy your Sunday ;-)
You too (and apologies for sending my previous mail to your
personal e-mail address - I hit the wrong button).
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.361
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.363
!MESSAGE
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.366
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Platform not running
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
11.At 4:41 AM
on Aug 10, 2008,
Eike Stepper
wrote:
Re: tutorial fails: unresolved bundles
Harald Finster schrieb:
> Hello,
>
> ok, a few more details on this:
>
> I reinstalled Eclipse (Ganymede)
> eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz
> from scratch.
>
> I tested the Hello-RCP example and it works (as expected).
>
> I installed (via "Software Updated and Add-Ons) the
> EMF SDK (EMF SDK 2.4.0 EMF + SDO + XSD)
>
> "Hello-RCP" still works fine.
>
> I created the 'library-project' as described in
> the tutorial (from annotated java).
>
> I get the "unresolved bundle" error as described in
> my original posting.
>
> I add EMF to my target platform (as suggested).
>
> The errors in the EMF library project disappear.
>
> When I try the "Hello RCP" now, I get the same error(s)
> as in the EMF project (see at the bottom of the posting).
>
> So, my conclusion is: installing EMF breaks my installation.
>
That's hardly imagineable!
Try to "Reload" the target platform and "Clear the configuration area
before launching" in the launch config.
Check that the config area is writeable, etc.
Cheers
/Eike
> Greetings Harald
>
>
> !SESSION 2008-08-10 10:19:28.780
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -application hello_world.application
> Command-line arguments: -application hello_world.application -data
> /home/finster/workspace-test-1/../runtime-hello_world.application -dev
> file:/home/finster/workspace-test-1/.metadata/.plugins/org.eclipse.pde.core/hello_world.application/dev.properties
> -os linux -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.361
> !MESSAGE An unexpected runtime error has occurred.
> !STACK 0
> java.lang.IllegalArgumentException: The System Bundle's start level can
> not be modified.
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
> at
> org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
> at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.363
> !MESSAGE
> !STACK 0
> java.lang.IllegalArgumentException: The System Bundle's start level can
> not be modified.
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
> at
> org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
> at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.366
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Platform not running
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
>
12.At 5:43 AM
on Aug 10, 2008,
Harald Finster
wrote:
Re: tutorial fails: unresolved bundles
Eike Stepper wrote:
>>
> That's hardly imagineable!
maybe, I just wanted to be a bit provocative
> Try to "Reload" the target platform and "Clear the configuration area
> before launching" in the launch config.
this seems to do the trick - yes!
> Check that the config area is writeable, etc.
In addition, I reinstalled Eclipse in my 'private' (home) directory
instead of the system directory 9as before) in order to make sure,
that I have full permissions.
Seems to work for me at the moment.
Thanks a lot for your support.
Admittedly, I still do not understand the mechanism, how eclipse
manages plugins, bundles, target-platforms etc.
tutorial fails: unresolved bundles
At 1:49 PM on Aug 7, 2008, Harald Finster wrote:
sorry, if this is a dumb question, but I am stuck:
I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
Everything seemed to work fine to the point, when I generated
the code. The generator seems to work, however the code is
seemingly incorrect.
The root problem seems to be, that the system does not
find the EMF bundles.
For example, the MANIFEST.MF files are marked with
Manifest-Version: 1.0
[...]
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: de.hfinster.library.presentation
Require-Bundle: org.eclipse.core.runtime,
library.edit;visibility:=reexport,
org.eclipse.emf.ecore.xmi;visibility:=reexport,
*** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
org.eclipse.emf.edit.ui;visibility:=reexport
*** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
I double checked, that the plugins are available.
See the list of EMF plugins extracted from the configuration details
(at the end of the posting).
I would be grateful, if anyone could point me into the right direction.
Kind regards
Harald
org.eclipse.emf (2.4.0.v200806091234) "EMF - Eclipse Modeling Framework"
[Starting]
org.eclipse.emf.activities (2.4.0.v200806091234) "EMF Activities
Example" [Starting]
org.eclipse.emf.ant (2.4.0.v200806091234) "EMF Ant Tasks" [Starting]
org.eclipse.emf.cheatsheets (2.4.0.v200806091234) "EMF Cheat Sheets"
[Starting]
org.eclipse.emf.codegen (2.4.0.v200806091234) "EMF Code Generation" [Active]
org.eclipse.emf.codegen.ecore (2.4.0.v200806091234) "EMF Ecore Code
Generator" [Active]
org.eclipse.emf.codegen.ecore.ui (2.4.0.v200806091234) "EMF Ecore Code
Generator UI" [Active]
org.eclipse.emf.codegen.ui (2.4.0.v200806091234) "EMF Code Generation
UI" [Starting]
org.eclipse.emf.common (2.4.0.v200806091234) "EMF Common" [Active]
org.eclipse.emf.common.ui (2.4.0.v200806091234) "EMF Common UI" [Active]
org.eclipse.emf.commonj.sdo (2.4.0.v200806091234) "CommonJ SDO - Service
Data Objects" [Starting]
org.eclipse.emf.converter (2.4.0.v200806091234) "EMF Model Converter"
[Starting]
org.eclipse.emf.databinding (1.0.0.v200806091234) "EMF Data Binding"
[Starting]
org.eclipse.emf.databinding.edit (1.0.0.v200806091234) "EMF Edit Data
Binding" [Starting]
org.eclipse.emf.doc (2.4.0.v200806091234) "EMF Developer Guide" [Starting]
org.eclipse.emf.ecore (2.4.0.v200806091234) "EMF Ecore" [Active]
org.eclipse.emf.ecore.change (2.4.0.v200806091234) "EMF Change Model"
[Starting]
org.eclipse.emf.ecore.change.edit (2.4.0.v200806091234) "EMF Change
Edit" [Starting]
org.eclipse.emf.ecore.edit (2.4.0.v200806091234) "EMF Ecore Edit" [Active]
org.eclipse.emf.ecore.editor (2.4.0.v200806091234) "EMF Sample Ecore
Editor" [Active]
org.eclipse.emf.ecore.sdo (2.4.0.v200806091234) "EMF SDO - EMF's Service
Data Objects Implementation" [Starting]
org.eclipse.emf.ecore.sdo.doc (2.4.0.v200806091234) "EMF SDO Developer
Guide" [Starting]
org.eclipse.emf.ecore.sdo.edit (2.4.0.v200806091234) "EMF SDO Edit"
[Starting]
org.eclipse.emf.ecore.sdo.editor (2.4.0.v200806091234) "EMF SDO Editor"
[Starting]
org.eclipse.emf.ecore.sdo.source (2.4.0.v200806091234) "EMF SDO Source"
[Resolved]
org.eclipse.emf.ecore.xmi (2.4.0.v200806091234) "EMF XML/XMI
Persistence" [Active]
org.eclipse.emf.edit (2.4.0.v200806091234) "EMF Edit" [Active]
org.eclipse.emf.edit.ui (2.4.0.v200806091234) "EMF Edit UI" [Active]
org.eclipse.emf.example.installer (1.0.0.v200806091234) "EMF Example
Installer" [Starting]
org.eclipse.emf.examples (2.4.0.v200806091234) "EMF Examples" [Starting]
org.eclipse.emf.examples.generator.validator (1.1.0.v200806091234) "EMF
Generator Extension Example" [Active]
org.eclipse.emf.examples.library (2.4.0.v200806091234) "EMF Extended
Library Model Example" [Starting]
org.eclipse.emf.examples.library.edit (2.4.0.v200806091234) "EMF
Extended Library Edit Example" [Starting]
org.eclipse.emf.examples.library.editor (2.4.0.v200806091234) "EMF
Extended Library Editor Example" [Starting]
org.eclipse.emf.examples.source (2.4.0.v200806091234) "EMF Examples
Source" [Resolved]
org.eclipse.emf.exporter (2.4.0.v200806091234) "EMF Model Exporter"
[Starting]
org.eclipse.emf.exporter.html (2.4.0.v200806091234) "EMF Model Exporter
Example" [Starting]
org.eclipse.emf.importer (2.4.0.v200806091234) "EMF Model Importer"
[Starting]
org.eclipse.emf.importer.ecore (2.4.0.v200806091234) "EMF Ecore
Importer" [Starting]
org.eclipse.emf.importer.java (2.4.0.v200806091234) "EMF Annotated Java
Importer" [Starting]
org.eclipse.emf.importer.rose (2.4.0.v200806091234) "EMF Rose Importer"
[Starting]
org.eclipse.emf.java (2.4.0.v200806091234) "EMF Java Model Example"
[Starting]
org.eclipse.emf.java.edit (2.4.0.v200806091234) "EMF Java Edit Example"
[Starting]
org.eclipse.emf.java.editor (2.4.0.v200806091234) "EMF Java Editor
Example" [Starting]
org.eclipse.emf.mapping (2.4.0.v200806091234) "EMF Mapping" [Starting]
org.eclipse.emf.mapping.ecore (2.4.0.v200806091234) "EMF Ecore Mapping"
[Starting]
org.eclipse.emf.mapping.ecore.editor (2.4.0.v200806091234) "EMF Ecore
Mapping Editor" [Starting]
org.eclipse.emf.mapping.ecore2ecore (2.4.0.v200806091234) "EMF Ecore to
Ecore Mapping" [Starting]
org.eclipse.emf.mapping.ecore2ecore.editor (2.4.0.v200806091234) "EMF
Ecore to Ecore Mapping Editor" [Starting]
org.eclipse.emf.mapping.ecore2xml (2.4.0.v200806091234) "EMF Ecore to
XML Mapping" [Starting]
org.eclipse.emf.mapping.ecore2xml.ui (2.4.0.v200806091234) "EMF Ecore to
XML Mapping Editor" [Starting]
org.eclipse.emf.mapping.ui (2.4.0.v200806091234) "EMF Mapping UI" [Starting]
org.eclipse.emf.mapping.xsd2ecore (2.4.0.v200806091234) "XSD to Ecore
Mapping" [Starting]
org.eclipse.emf.mapping.xsd2ecore.editor (2.4.0.v200806091234) "XSD to
Ecore Mapping Editor" [Starting]
org.eclipse.emf.source (2.4.0.v200806091234) "EMF Source" [Resolved]
12 replies so far (
Post your own)
Re: tutorial fails: unresolved bundles
Hi Harald,Are you sure that the Target Platform of your workspace is identical
with the host IDE installation?
Only in this case the configuration details are meaningful. In the other
case you should verify the Traget Platform plugins in the Plugin
Development preferences.
Cheers
/Eike
Harald Finster schrieb:
> Hello,
>
> sorry, if this is a dumb question, but I am stuck:
> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
> Everything seemed to work fine to the point, when I generated
> the code. The generator seems to work, however the code is
> seemingly incorrect.
> The root problem seems to be, that the system does not
> find the EMF bundles.
> For example, the MANIFEST.MF files are marked with
>
> Manifest-Version: 1.0
> [...]
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: de.hfinster.library.presentation
> Require-Bundle: org.eclipse.core.runtime,
> library.edit;visibility:=reexport,
>
> org.eclipse.emf.ecore.xmi;visibility:=reexport,
> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
> org.eclipse.emf.edit.ui;visibility:=reexport
> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>
>
>
> I double checked, that the plugins are available.
> See the list of EMF plugins extracted from the configuration details
> (at the end of the posting).
>
>
> I would be grateful, if anyone could point me into the right direction.
>
> Kind regards
>
> Harald
>
>
>
> org.eclipse.emf (2.4.0.v200806091234) "EMF - Eclipse Modeling Framework"
> [Starting]
> org.eclipse.emf.activities (2.4.0.v200806091234) "EMF Activities
> Example" [Starting]
> org.eclipse.emf.ant (2.4.0.v200806091234) "EMF Ant Tasks" [Starting]
> org.eclipse.emf.cheatsheets (2.4.0.v200806091234) "EMF Cheat Sheets"
> [Starting]
> org.eclipse.emf.codegen (2.4.0.v200806091234) "EMF Code Generation" [Active]
> org.eclipse.emf.codegen.ecore (2.4.0.v200806091234) "EMF Ecore Code
> Generator" [Active]
> org.eclipse.emf.codegen.ecore.ui (2.4.0.v200806091234) "EMF Ecore Code
> Generator UI" [Active]
> org.eclipse.emf.codegen.ui (2.4.0.v200806091234) "EMF Code Generation
> UI" [Starting]
> org.eclipse.emf.common (2.4.0.v200806091234) "EMF Common" [Active]
> org.eclipse.emf.common.ui (2.4.0.v200806091234) "EMF Common UI" [Active]
> org.eclipse.emf.commonj.sdo (2.4.0.v200806091234) "CommonJ SDO - Service
> Data Objects" [Starting]
> org.eclipse.emf.converter (2.4.0.v200806091234) "EMF Model Converter"
> [Starting]
> org.eclipse.emf.databinding (1.0.0.v200806091234) "EMF Data Binding"
> [Starting]
> org.eclipse.emf.databinding.edit (1.0.0.v200806091234) "EMF Edit Data
> Binding" [Starting]
> org.eclipse.emf.doc (2.4.0.v200806091234) "EMF Developer Guide" [Starting]
> org.eclipse.emf.ecore (2.4.0.v200806091234) "EMF Ecore" [Active]
> org.eclipse.emf.ecore.change (2.4.0.v200806091234) "EMF Change Model"
> [Starting]
> org.eclipse.emf.ecore.change.edit (2.4.0.v200806091234) "EMF Change
> Edit" [Starting]
> org.eclipse.emf.ecore.edit (2.4.0.v200806091234) "EMF Ecore Edit" [Active]
> org.eclipse.emf.ecore.editor (2.4.0.v200806091234) "EMF Sample Ecore
> Editor" [Active]
> org.eclipse.emf.ecore.sdo (2.4.0.v200806091234) "EMF SDO - EMF's Service
> Data Objects Implementation" [Starting]
> org.eclipse.emf.ecore.sdo.doc (2.4.0.v200806091234) "EMF SDO Developer
> Guide" [Starting]
> org.eclipse.emf.ecore.sdo.edit (2.4.0.v200806091234) "EMF SDO Edit"
> [Starting]
> org.eclipse.emf.ecore.sdo.editor (2.4.0.v200806091234) "EMF SDO Editor"
> [Starting]
> org.eclipse.emf.ecore.sdo.source (2.4.0.v200806091234) "EMF SDO Source"
> [Resolved]
> org.eclipse.emf.ecore.xmi (2.4.0.v200806091234) "EMF XML/XMI
> Persistence" [Active]
> org.eclipse.emf.edit (2.4.0.v200806091234) "EMF Edit" [Active]
> org.eclipse.emf.edit.ui (2.4.0.v200806091234) "EMF Edit UI" [Active]
> org.eclipse.emf.example.installer (1.0.0.v200806091234) "EMF Example
> Installer" [Starting]
> org.eclipse.emf.examples (2.4.0.v200806091234) "EMF Examples" [Starting]
> org.eclipse.emf.examples.generator.validator (1.1.0.v200806091234) "EMF
> Generator Extension Example" [Active]
> org.eclipse.emf.examples.library (2.4.0.v200806091234) "EMF Extended
> Library Model Example" [Starting]
> org.eclipse.emf.examples.library.edit (2.4.0.v200806091234) "EMF
> Extended Library Edit Example" [Starting]
> org.eclipse.emf.examples.library.editor (2.4.0.v200806091234) "EMF
> Extended Library Editor Example" [Starting]
> org.eclipse.emf.examples.source (2.4.0.v200806091234) "EMF Examples
> Source" [Resolved]
> org.eclipse.emf.exporter (2.4.0.v200806091234) "EMF Model Exporter"
> [Starting]
> org.eclipse.emf.exporter.html (2.4.0.v200806091234) "EMF Model Exporter
> Example" [Starting]
> org.eclipse.emf.importer (2.4.0.v200806091234) "EMF Model Importer"
> [Starting]
> org.eclipse.emf.importer.ecore (2.4.0.v200806091234) "EMF Ecore
> Importer" [Starting]
> org.eclipse.emf.importer.java (2.4.0.v200806091234) "EMF Annotated Java
> Importer" [Starting]
> org.eclipse.emf.importer.rose (2.4.0.v200806091234) "EMF Rose Importer"
> [Starting]
> org.eclipse.emf.java (2.4.0.v200806091234) "EMF Java Model Example"
> [Starting]
> org.eclipse.emf.java.edit (2.4.0.v200806091234) "EMF Java Edit Example"
> [Starting]
> org.eclipse.emf.java.editor (2.4.0.v200806091234) "EMF Java Editor
> Example" [Starting]
> org.eclipse.emf.mapping (2.4.0.v200806091234) "EMF Mapping" [Starting]
> org.eclipse.emf.mapping.ecore (2.4.0.v200806091234) "EMF Ecore Mapping"
> [Starting]
> org.eclipse.emf.mapping.ecore.editor (2.4.0.v200806091234) "EMF Ecore
> Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ecore2ecore (2.4.0.v200806091234) "EMF Ecore to
> Ecore Mapping" [Starting]
> org.eclipse.emf.mapping.ecore2ecore.editor (2.4.0.v200806091234) "EMF
> Ecore to Ecore Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ecore2xml (2.4.0.v200806091234) "EMF Ecore to
> XML Mapping" [Starting]
> org.eclipse.emf.mapping.ecore2xml.ui (2.4.0.v200806091234) "EMF Ecore to
> XML Mapping Editor" [Starting]
> org.eclipse.emf.mapping.ui (2.4.0.v200806091234) "EMF Mapping UI" [Starting]
> org.eclipse.emf.mapping.xsd2ecore (2.4.0.v200806091234) "XSD to Ecore
> Mapping" [Starting]
> org.eclipse.emf.mapping.xsd2ecore.editor (2.4.0.v200806091234) "XSD to
> Ecore Mapping Editor" [Starting]
> org.eclipse.emf.source (2.4.0.v200806091234) "EMF Source" [Resolved]
>
Re: tutorial fails: unresolved bundles
Hi Eike,thanks for your ultra-quick reply.
Your hint seems to be the right pointer.
I am not sure - indeed.
I just checked "Target Platform" Preferences
and found the location /usr/local/packages/eclipse,
which seems to be identical with my development system.
(The executable is /usr/local/packages/eclipse/eclipse)
However, as you said, the EMF plugins are missing in
the list of Plug-Ins. (I expected to find all plugins
installed in the development system there - but my
understanding seems to be incorrect here.)
Well, now I have to find out how to get them there.
(Certainly not an EMF specific problem.)
Again, thanks a lot and kind regards
Harald
Eike Stepper wrote:
> Hi Harald,
>
> Are you sure that the Target Platform of your workspace is identical
> with the host IDE installation?
> Only in this case the configuration details are meaningful. In the other
> case you should verify the Traget Platform plugins in the Plugin
> Development preferences.
>
> Cheers
> /Eike
>
>
>
> Harald Finster schrieb:
>> Hello,
>>
>> sorry, if this is a dumb question, but I am stuck:
>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>> Everything seemed to work fine to the point, when I generated
>> the code. The generator seems to work, however the code is
>> seemingly incorrect.
>> The root problem seems to be, that the system does not
>> find the EMF bundles.
>> For example, the MANIFEST.MF files are marked with
>>
>> Manifest-Version: 1.0
>> [...]
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: de.hfinster.library.presentation
>> Require-Bundle: org.eclipse.core.runtime,
>> library.edit;visibility:=reexport,
>>
>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>> org.eclipse.emf.edit.ui;visibility:=reexport
>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>
>>
>>
>> I double checked, that the plugins are available.
>> See the list of EMF plugins extracted from the configuration details
>> (at the end of the posting).
>>
>>
>> I would be grateful, if anyone could point me into the right direction.
>>
>> Kind regards
>>
>> Harald
>>
>
Re: tutorial fails: unresolved bundles (solved)
Hello,thanks to your help I managed to solve the problem.
I opened "Preferences" "Target Platform" "PlugIns"
"Add" and used the "Repository or Update Site" option
to add the EMF plugins ... and - voila - the bundles
can be resolved.
Greetings Harald
Re: tutorial fails: unresolved bundles
Harald Finster schrieb:> Hi Eike,
>
> thanks for your ultra-quick reply.
>
In fact my nntp client shows that my answer arrived 3 minutes *before*
your question
That's my personal record!
Cheers
/Eike
> Your hint seems to be the right pointer.
> I am not sure - indeed.
> I just checked "Target Platform" Preferences
> and found the location /usr/local/packages/eclipse,
> which seems to be identical with my development system.
> (The executable is /usr/local/packages/eclipse/eclipse)
> However, as you said, the EMF plugins are missing in
> the list of Plug-Ins. (I expected to find all plugins
> installed in the development system there - but my
> understanding seems to be incorrect here.)
>
> Well, now I have to find out how to get them there.
> (Certainly not an EMF specific problem.)
>
> Again, thanks a lot and kind regards
>
> Harald
>
>
>
>
> Eike Stepper wrote:
>
>> Hi Harald,
>>
>> Are you sure that the Target Platform of your workspace is identical
>> with the host IDE installation?
>> Only in this case the configuration details are meaningful. In the other
>> case you should verify the Traget Platform plugins in the Plugin
>> Development preferences.
>>
>> Cheers
>> /Eike
>>
>>
>>
>> Harald Finster schrieb:
>>
>>> Hello,
>>>
>>> sorry, if this is a dumb question, but I am stuck:
>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>> Everything seemed to work fine to the point, when I generated
>>> the code. The generator seems to work, however the code is
>>> seemingly incorrect.
>>> The root problem seems to be, that the system does not
>>> find the EMF bundles.
>>> For example, the MANIFEST.MF files are marked with
>>>
>>> Manifest-Version: 1.0
>>> [...]
>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>> Export-Package: de.hfinster.library.presentation
>>> Require-Bundle: org.eclipse.core.runtime,
>>> library.edit;visibility:=reexport,
>>>
>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>
>>>
>>>
>>> I double checked, that the plugins are available.
>>> See the list of EMF plugins extracted from the configuration details
>>> (at the end of the posting).
>>>
>>>
>>> I would be grateful, if anyone could point me into the right direction.
>>>
>>> Kind regards
>>>
>>> Harald
>>>
>>>
Re: tutorial fails: unresolved bundles
Eike,The EMF newsgroup supports the innovative new time tunneling
communications protocol to better support preemptive answering of
questions. We should get Scott to incorporate it in ECF.
Eike Stepper wrote:
> Harald Finster schrieb:
>> Hi Eike,
>>
>> thanks for your ultra-quick reply.
>>
> In fact my nntp client shows that my answer arrived 3 minutes *before*
> your question ;-)
> That's my personal record!
>
> Cheers
> /Eike
>
>> Your hint seems to be the right pointer.
>> I am not sure - indeed.
>> I just checked "Target Platform" Preferences
>> and found the location /usr/local/packages/eclipse,
>> which seems to be identical with my development system.
>> (The executable is /usr/local/packages/eclipse/eclipse)
>> However, as you said, the EMF plugins are missing in
>> the list of Plug-Ins. (I expected to find all plugins
>> installed in the development system there - but my
>> understanding seems to be incorrect here.)
>>
>> Well, now I have to find out how to get them there.
>> (Certainly not an EMF specific problem.)
>>
>> Again, thanks a lot and kind regards
>>
>> Harald
>>
>>
>>
>>
>> Eike Stepper wrote:
>>
>>> Hi Harald,
>>>
>>> Are you sure that the Target Platform of your workspace is identical
>>> with the host IDE installation?
>>> Only in this case the configuration details are meaningful. In the
>>> other
>>> case you should verify the Traget Platform plugins in the Plugin
>>> Development preferences.
>>>
>>> Cheers
>>> /Eike
>>>
>>>
>>>
>>> Harald Finster schrieb:
>>>
>>>> Hello,
>>>>
>>>> sorry, if this is a dumb question, but I am stuck:
>>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>>> Everything seemed to work fine to the point, when I generated
>>>> the code. The generator seems to work, however the code is
>>>> seemingly incorrect.
>>>> The root problem seems to be, that the system does not
>>>> find the EMF bundles.
>>>> For example, the MANIFEST.MF files are marked with
>>>>
>>>> Manifest-Version: 1.0
>>>> [...]
>>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>>> Export-Package: de.hfinster.library.presentation
>>>> Require-Bundle: org.eclipse.core.runtime,
>>>> library.edit;visibility:=reexport,
>>>>
>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>>
>>>>
>>>>
>>>> I double checked, that the plugins are available.
>>>> See the list of EMF plugins extracted from the configuration details
>>>> (at the end of the posting).
>>>>
>>>>
>>>> I would be grateful, if anyone could point me into the right
>>>> direction.
>>>>
>>>> Kind regards
>>>>
>>>> Harald
>>>>
>>>>
Re: tutorial fails: unresolved bundles
Ed Merks schrieb:> Eike,
>
> The EMF newsgroup supports the innovative new time tunneling
> communications protocol to better support preemptive answering of
> questions. We should get Scott to incorporate it in ECF.
Hehe, I'll beam it up to Scott when I solved some minor issues with
structural integrity
>
>
> Eike Stepper wrote:
>> Harald Finster schrieb:
>>> Hi Eike,
>>>
>>> thanks for your ultra-quick reply.
>>>
>> In fact my nntp client shows that my answer arrived 3 minutes
>> *before* your question ;-)
>> That's my personal record!
>>
>> Cheers
>> /Eike
>>
>>> Your hint seems to be the right pointer.
>>> I am not sure - indeed.
>>> I just checked "Target Platform" Preferences
>>> and found the location /usr/local/packages/eclipse,
>>> which seems to be identical with my development system.
>>> (The executable is /usr/local/packages/eclipse/eclipse)
>>> However, as you said, the EMF plugins are missing in
>>> the list of Plug-Ins. (I expected to find all plugins
>>> installed in the development system there - but my
>>> understanding seems to be incorrect here.)
>>>
>>> Well, now I have to find out how to get them there.
>>> (Certainly not an EMF specific problem.)
>>>
>>> Again, thanks a lot and kind regards
>>>
>>> Harald
>>>
>>>
>>>
>>>
>>> Eike Stepper wrote:
>>>
>>>> Hi Harald,
>>>>
>>>> Are you sure that the Target Platform of your workspace is identical
>>>> with the host IDE installation?
>>>> Only in this case the configuration details are meaningful. In the
>>>> other
>>>> case you should verify the Traget Platform plugins in the Plugin
>>>> Development preferences.
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>>
>>>>
>>>> Harald Finster schrieb:
>>>>
>>>>> Hello,
>>>>>
>>>>> sorry, if this is a dumb question, but I am stuck:
>>>>> I installed EMF on Eclipse 3.4 and tried the 'library' tutorial.
>>>>> Everything seemed to work fine to the point, when I generated
>>>>> the code. The generator seems to work, however the code is
>>>>> seemingly incorrect.
>>>>> The root problem seems to be, that the system does not
>>>>> find the EMF bundles.
>>>>> For example, the MANIFEST.MF files are marked with
>>>>>
>>>>> Manifest-Version: 1.0
>>>>> [...]
>>>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>>>> Export-Package: de.hfinster.library.presentation
>>>>> Require-Bundle: org.eclipse.core.runtime,
>>>>> library.edit;visibility:=reexport,
>>>>>
>>>>> org.eclipse.emf.ecore.xmi;visibility:=reexport,
>>>>> *** Bundle 'org.eclipse.emf.ecore.xmi' cannot be resolved ***
>>>>> org.eclipse.emf.edit.ui;visibility:=reexport
>>>>> *** Bundle 'org.eclipse.emf.edit.ui' cannot be resolved ***
>>>>>
>>>>>
>>>>>
>>>>> I double checked, that the plugins are available.
>>>>> See the list of EMF plugins extracted from the configuration details
>>>>> (at the end of the posting).
>>>>>
>>>>>
>>>>> I would be grateful, if anyone could point me into the right
>>>>> direction.
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Harald
>>>>>
>>>>>
Re: tutorial fails: unresolved bundles
Eike Stepper wrote:> Ed Merks schrieb:
>> Eike,
>>
>> The EMF newsgroup supports the innovative new time tunneling
>> communications protocol to better support preemptive answering of
>> questions. We should get Scott to incorporate it in ECF.
> Hehe, I'll beam it up to Scott when I solved some minor issues with
> structural integrity ;-)
LOL
Sorry, that I have to bother you with more trivial (for you) questions
again. Now, I have all classes/plugins generated without any errors.
When I try to start one of the plugins (according to the tutorial),
I get the error shown below.
Again: I checked for the existence of the file, which seems to cause the
trouble:
/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar
it is there.
I assume, that I have to modify my startup/launch configuration anyhow.
But how?
And, if you answer my question, I promise to solve the 'time tunneling
problem'
Thanks for your patience
Greetings Harald
org.osgi.framework.BundleException: Exception in
org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of
bundle org.eclipse.equinox.simpleconfigurator.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1028)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: java.lang.IllegalStateException: Bundle
"reference:file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
... 21 more
Root exception:
java.lang.IllegalStateException: Bundle
"reference:file:/usr/local/packages/eclipse/plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar"
has been uninstalled
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1228)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:262)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:317)
at
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:86)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:124)
at
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:138)
at
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Re: tutorial fails: unresolved bundles
Maybe it's just that the versions that are stored in your launch config don't exist anymore in your installation. Have you tried to "Add Required Plugins" and "Validate" your launch config (Plugins tab)?
Enjoy your Sunday
/Eike
Harald Finster schrieb:
Re: tutorial fails: unresolved bundles
Hi,Eike Stepper wrote:
> Hi Harald,
>
> Maybe it's just that the versions that are stored in your launch config
> don't exist anymore in your installation. Have you tried to "Add
> Required Plugins" and "Validate" your launch config (Plugins tab)?
>
yes, I tried that, and "Validate" tells me, that there aren't any
problems :~}
Looks like a broken installation - I just testes the "Hello World"
RCP example, which fails with the same (?) error.
I will reinstall everything from scratch.
> Enjoy your Sunday ;-)
You too (and apologies for sending my previous mail to your
personal e-mail address - I hit the wrong button).
Greetings Harald
Re: tutorial fails: unresolved bundles
Hello,ok, a few more details on this:
I reinstalled Eclipse (Ganymede)
eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz
from scratch.
I tested the Hello-RCP example and it works (as expected).
I installed (via "Software Updated and Add-Ons) the
EMF SDK (EMF SDK 2.4.0 EMF + SDO + XSD)
"Hello-RCP" still works fine.
I created the 'library-project' as described in
the tutorial (from annotated java).
I get the "unresolved bundle" error as described in
my original posting.
I add EMF to my target platform (as suggested).
The errors in the EMF library project disappear.
When I try the "Hello RCP" now, I get the same error(s)
as in the EMF project (see at the bottom of the posting).
So, my conclusion is: installing EMF breaks my installation.
Greetings Harald
!SESSION 2008-08-10 10:19:28.780
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application hello_world.application
Command-line arguments: -application hello_world.application -data
/home/finster/workspace-test-1/../runtime-hello_world.application -dev
file:/home/finster/workspace-test-1/.metadata/.plugins/org.eclipse.pde.core/hello_world.application/dev.properties
-os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.361
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.363
!MESSAGE
!STACK 0
java.lang.IllegalArgumentException: The System Bundle's start level can
not be modified.
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
at
org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
!ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.366
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Platform not running
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Re: tutorial fails: unresolved bundles
Harald Finster schrieb:> Hello,
>
> ok, a few more details on this:
>
> I reinstalled Eclipse (Ganymede)
> eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz
> from scratch.
>
> I tested the Hello-RCP example and it works (as expected).
>
> I installed (via "Software Updated and Add-Ons) the
> EMF SDK (EMF SDK 2.4.0 EMF + SDO + XSD)
>
> "Hello-RCP" still works fine.
>
> I created the 'library-project' as described in
> the tutorial (from annotated java).
>
> I get the "unresolved bundle" error as described in
> my original posting.
>
> I add EMF to my target platform (as suggested).
>
> The errors in the EMF library project disappear.
>
> When I try the "Hello RCP" now, I get the same error(s)
> as in the EMF project (see at the bottom of the posting).
>
> So, my conclusion is: installing EMF breaks my installation.
>
That's hardly imagineable!
Try to "Reload" the target platform and "Clear the configuration area
before launching" in the launch config.
Check that the config area is writeable, etc.
Cheers
/Eike
> Greetings Harald
>
>
> !SESSION 2008-08-10 10:19:28.780
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -application hello_world.application
> Command-line arguments: -application hello_world.application -data
> /home/finster/workspace-test-1/../runtime-hello_world.application -dev
> file:/home/finster/workspace-test-1/.metadata/.plugins/org.eclipse.pde.core/hello_world.application/dev.properties
> -os linux -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.361
> !MESSAGE An unexpected runtime error has occurred.
> !STACK 0
> java.lang.IllegalArgumentException: The System Bundle's start level can
> not be modified.
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
> at
> org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
> at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.363
> !MESSAGE
> !STACK 0
> java.lang.IllegalArgumentException: The System Bundle's start level can
> not be modified.
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleStartLevel(StartLevelManager.java:415)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1117)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:642)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.access$1(EclipseStarter.java:619)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter$1.bundleChanged(EclipseStarter.java:308)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1234)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1518)
> at
> org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1469)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:281)
> at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:247)
> at
> org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:201)
> at
> org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:644)
> at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:313)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
> !ENTRY org.eclipse.osgi 4 0 2008-08-10 10:19:29.366
> !MESSAGE Application error
> !STACK 1
> java.lang.IllegalStateException: Platform not running
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
>
Re: tutorial fails: unresolved bundles
Eike Stepper wrote:>>
> That's hardly imagineable!
maybe, I just wanted to be a bit provocative
> Try to "Reload" the target platform and "Clear the configuration area
> before launching" in the launch config.
this seems to do the trick - yes!
> Check that the config area is writeable, etc.
In addition, I reinstalled Eclipse in my 'private' (home) directory
instead of the system directory 9as before) in order to make sure,
that I have full permissions.
Seems to work for me at the moment.
Thanks a lot for your support.
Admittedly, I still do not understand the mechanism, how eclipse
manages plugins, bundles, target-platforms etc.
Greetings
Harald