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.

2016-06-30 Thread Lars Vogel
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  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 
> 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-boun...@eclipse.org
> 
>
>
>
> 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 
> To:Equinox development mailing list 
> 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-boun...@eclipse.org
> 
>
>
>
> 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
> 

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.

2016-06-30 Thread Thomas Watson
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 
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-boun...@eclipse.org



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 
To:Equinox development mailing list 
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-boun...@eclipse.org



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 

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.

2016-06-30 Thread Thomas Watson
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 
To: Equinox development mailing list 
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-boun...@eclipse.org



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 

[equinox-dev] Fwd: Starting a runtime Eclipse fails with Exception in org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle org.eclipse.equinox.simpleconfigurator.

2016-06-29 Thread Lars Vogel
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