[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Fwd: Starting a runtime Eclipse fails with Exception in org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle org.eclipse.equinox.simpleconfigurator.

Thanks Thomas for the fast fix.

> I would not know how to get p2 to install a bundle with no symbolic name.

IIRC I used a fresh 4.7 download without any additional plug-ins,
imported all projects in the eclipse.pde.ui repo and started Eclipse
from. I test this tomorrow with a fresh I-Build.

Best regards, Lars

On Thu, Jun 30, 2016 at 3:52 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
> FYI, I decided to open this bug myself so I could get a fix going while it
> was fresh in my mind: https://bugs.eclipse.org/bugs/show_bug.cgi?id=497094
>
> Although I don't have any way to test this since I would not know how to get
> p2 to install a bundle with no symbolic name.
>
> Tom
>
>
>
>
>
> From:        Thomas Watson/Austin/IBM@IBMUS
> To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> Date:        06/30/2016 07:51 AM
> Subject:        Re: [equinox-dev] Fwd: Starting a runtime Eclipse fails with
> Exception in
> org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle
> org.eclipse.equinox.simpleconfigurator.
>
> Sent by:        equinox-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> Some bundle in your environment looks like it has no Bundle-SymbolicName.
> Can you open a bug against p2.  It needs a null check at
> ConfigApplier.refreshPackages(ConfigApplier.java:401)
>
> But I am curious how you got p2 to install a bundle with no
> Bundle-SymbolicName.  I thought that was basically impossible to do.
>
> Tom
>
>
>
>
>
> From:        Lars Vogel <lars.vogel@xxxxxxxxxxx>
> To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
> Date:        06/29/2016 06:29 PM
> Subject:        [equinox-dev] Fwd: Starting a runtime Eclipse fails with
> Exception in
> org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle
> org.eclipse.equinox.simpleconfigurator.
> Sent by:        equinox-dev-bounces@xxxxxxxxxxx
> ________________________________
>
>
>
> Hi Friends of Equinox,
>
> if I start an runtime Eclipse from the pde.ui repository I get the
> error that org.eclipse.equinox.simpleconfigurator_1.1.200.v20160504-1450
> [2439] is not active.
>
> Stack trace below.
>
> Do you have suggestions how to solve this issue? My "normal"
> strategies for a Eclipse startup issue don't work (clean workspace,
> add required plug-ins, manually add the event plug-ins and its
> dependencies, clean configuration area, use -clearPersistedState
> flag).
>
> Best regards, Lars
>
> !ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2016-06-30 01:21:22.994
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of
> bundle org.eclipse.equinox.simpleconfigurator.
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
> at
> org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:247)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:177)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
> at org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:326)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> Caused by: java.lang.IllegalArgumentException
> at
> org.eclipse.osgi.internal.framework.legacy.PackageAdminImpl.getBundles(PackageAdminImpl.java:172)
> at
> org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.refreshPackages(ConfigApplier.java:401)
> at
> org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:105)
> at
> org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:191)
> at
> org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:205)
> at
> org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:60)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
> ... 25 more
> Root exception:
> java.lang.IllegalArgumentException
> at
> org.eclipse.osgi.internal.framework.legacy.PackageAdminImpl.getBundles(PackageAdminImpl.java:172)
> at
> org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.refreshPackages(ConfigApplier.java:401)
> at
> org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:105)
> at
> org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:191)
> at
> org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:205)
> at
> org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:60)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
> at
> org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
> at
> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
> at
> org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:247)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:177)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383)
> at
> org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
> at org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:326)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
>
> !ENTRY org.eclipse.osgi 4 0 2016-06-30 01:21:23.023
> !MESSAGE Bundle
> org.eclipse.equinox.simpleconfigurator_1.1.200.v20160504-1450 [2439]
> is not active.
>
> !ENTRY org.eclipse.osgi 4 0 2016-06-30 01:21:23.240
> !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:78)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> An error has occurred. See the log file
> /home/vogella/workspace/eclipse.pde.ui/.metadata/.plugins/org.eclipse.pde.core/Eclipse
> Application/1467242481468.log.
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/equinox-dev



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
GeschÃftsfÃhrer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com