java.lang.ClassCastException: org.eclipse.ui.internal.themes.RGBContrastFactory cannot be cast to org.eclipse.ui.themes.IColorFactory at org.eclipse.ui.internal.themes.ThemeRegistryReader .checkColorFactory(ThemeRegistryReader.java:406) at org.eclipse.ui.internal.themes.ThemeRegistryReader .getColorValue(ThemeRegistryReader.java:183) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readColor(ThemeRegistryReader.java:139) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readElement(ThemeRegistryReader.java:240) at org.eclipse.ui.internal.registry.RegistryReader.re adElements(RegistryReader.java:145) at org.eclipse.ui.internal.registry.RegistryReader.re adExtension(RegistryReader.java:156) at org.eclipse.ui.internal.registry.RegistryReader.re adRegistry(RegistryReader.java:177) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readThemes(ThemeRegistryReader.java:453) at org.eclipse.ui.internal.WorkbenchPlugin$14.compute (WorkbenchPlugin.java:1504) at org.eclipse.e4.core.internal.contexts.ValueComputa tion.get(ValueComputation.java:61) at org.eclipse.e4.core.internal.contexts.EclipseConte xt.internalGet(EclipseContext.java:246) at org.eclipse.e4.core.internal.contexts.EclipseConte xt.get(EclipseContext.java:213) at org.eclipse.ui.internal.WorkbenchPlugin.getThemeRe gistry(WorkbenchPlugin.java:685) at org.eclipse.ui.internal.Workbench$29.runWithExcept ion(Workbench.java:1821) at org.eclipse.ui.internal.StartupThreading$StartupRu nnable.run(StartupThreading.java:32) at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:4147) at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3764) at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2897) at org.eclipse.ui.internal.Workbench.access$8(Workben ch.java:2797) at org.eclipse.ui.internal.Workbench$5.run(Workbench. java:633) at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 134) at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via chip.de by Unknown author, 1 year ago
adRegistry(RegistryReader.java:177) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readThemes(ThemeRegistryReader.java:453) at org.eclipse.ui.internal.WorkbenchPlugin$14.compute (WorkbenchPlugin.java:1504) at org.eclipse.e4
via knowcoding.com by Unknown author, 1 year ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
via knowcoding.com by Unknown author, 1 year ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
via spring.io by Unknown author, 2 years ago
org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder at org.springframework.orm.hibernate3.SessionFactoryU tils.doGetSession(SessionFactoryUtils.java:289) at
via knowcoding.com by Unknown author, 2 years ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
via knowcoding.com by Unknown author, 2 years ago
com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.cle arInstance(ApplicationAssociate.java:186) at
java.lang.ClassCastException: org.eclipse.ui.internal.themes.RGBContrastFactory cannot be cast to org.eclipse.ui.themes.IColorFactory at org.eclipse.ui.internal.themes.ThemeRegistryReader .checkColorFactory(ThemeRegistryReader.java:406) at org.eclipse.ui.internal.themes.ThemeRegistryReader .getColorValue(ThemeRegistryReader.java:183) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readColor(ThemeRegistryReader.java:139) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readElement(ThemeRegistryReader.java:240) at org.eclipse.ui.internal.registry.RegistryReader.re adElements(RegistryReader.java:145) at org.eclipse.ui.internal.registry.RegistryReader.re adExtension(RegistryReader.java:156) at org.eclipse.ui.internal.registry.RegistryReader.re adRegistry(RegistryReader.java:177) at org.eclipse.ui.internal.themes.ThemeRegistryReader .readThemes(ThemeRegistryReader.java:453) at org.eclipse.ui.internal.WorkbenchPlugin$14.compute (WorkbenchPlugin.java:1504) at org.eclipse.e4.core.internal.contexts.ValueComputa tion.get(ValueComputation.java:61) at org.eclipse.e4.core.internal.contexts.EclipseConte xt.internalGet(EclipseContext.java:246) at org.eclipse.e4.core.internal.contexts.EclipseConte xt.get(EclipseContext.java:213) at org.eclipse.ui.internal.WorkbenchPlugin.getThemeRe gistry(WorkbenchPlugin.java:685) at org.eclipse.ui.internal.Workbench$29.runWithExcept ion(Workbench.java:1821) at org.eclipse.ui.internal.StartupThreading$StartupRu nnable.run(StartupThreading.java:32) at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:4147) at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3764) at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2897) at org.eclipse.ui.internal.Workbench.access$8(Workben ch.java:2797) at org.eclipse.ui.internal.Workbench$5.run(Workbench. java:633) at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 134) at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.