Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [OOMPH] ClassCastException on Installer start
[OOMPH] ClassCastException on Installer start [message #1696362] Tue, 26 May 2015 06:08 Go to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 38
Registered: September 2011
Member
Right after starting the Eclipse installer (Windoes x64) I get a ClassCastException:

java.lang.ClassCastException: org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry cannot be cast to org.eclipse.oomph.p2.internal.core.LazyProfileRegistry
	at org.eclipse.oomph.p2.internal.core.AgentImpl.initializeProvisioningAgent(AgentImpl.java:443)
	at org.eclipse.oomph.p2.internal.core.AgentImpl.getProvisioningAgent(AgentImpl.java:472)
	at org.eclipse.oomph.p2.internal.core.AgentImpl.getProfileRegistry(AgentImpl.java:265)
	at org.eclipse.oomph.p2.internal.core.AgentImpl$1.initializeFirstTime(AgentImpl.java:98)
	at org.eclipse.oomph.p2.internal.core.PersistentMap.load(PersistentMap.java:103)
	at org.eclipse.oomph.p2.internal.core.AgentImpl.<init>(AgentImpl.java:131)
	at org.eclipse.oomph.p2.internal.core.AgentManagerImpl.getCurrentAgent(AgentManagerImpl.java:171)
	at org.eclipse.oomph.p2.core.P2Util.getCurrentProvisioningAgent(P2Util.java:87)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:64)
	at org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:271)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Re: [OOMPH] ClassCastException on Installer start [message #1696365 is a reply to message #1696362] Tue, 26 May 2015 06:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30553
Registered: July 2009
Senior Member
Olivier,

There's a bug open about that already.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=468173

(And this is an Oomph issue that should be posted on the Oomph forum,
not the EMF forum.)


On 26/05/2015 8:09 AM, Oliver Libutzki wrote:
> Right after starting the Eclipse installer (Windoes x64) I get a
> ClassCastException:
>
>
> java.lang.ClassCastException:
> org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry cannot be
> cast to org.eclipse.oomph.p2.internal.core.LazyProfileRegistry
> at
> org.eclipse.oomph.p2.internal.core.AgentImpl.initializeProvisioningAgent(AgentImpl.java:443)
> at
> org.eclipse.oomph.p2.internal.core.AgentImpl.getProvisioningAgent(AgentImpl.java:472)
> at
> org.eclipse.oomph.p2.internal.core.AgentImpl.getProfileRegistry(AgentImpl.java:265)
> at
> org.eclipse.oomph.p2.internal.core.AgentImpl$1.initializeFirstTime(AgentImpl.java:98)
> at
> org.eclipse.oomph.p2.internal.core.PersistentMap.load(PersistentMap.java:103)
> at
> org.eclipse.oomph.p2.internal.core.AgentImpl.<init>(AgentImpl.java:131)
> at
> org.eclipse.oomph.p2.internal.core.AgentManagerImpl.getCurrentAgent(AgentManagerImpl.java:171)
> at
> org.eclipse.oomph.p2.core.P2Util.getCurrentProvisioningAgent(P2Util.java:87)
> at
> org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:64)
> at
> org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:271)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 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:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
>
Previous Topic:[EMF Forms] ViewModel generation does not work with classes in packages
Next Topic:[Teneo] problem with update site
Goto Forum:
  


Current Time: Tue Oct 22 22:01:06 GMT 2019

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

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

Back to the top