java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source) at org.eclipse.swt.widgets.Composite.layout(Unknown Source) at org.eclipse.swt.widgets.Display.runSettings(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1185) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6645) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at apple.launcher.LaunchRunner.run(LaunchRunner.java:115) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    via by Kurtis Cruzada,
  • java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source) at org.eclipse.swt.widgets.Composite.layout(Unknown Source) at org.eclipse.swt.widgets.Display.runSettings(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1185) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6645) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at apple.launcher.LaunchRunner.run(LaunchRunner.java:115) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    via by Kurtis Cruzada,
  • Exception in change method signature
    via by dirk_baeumer,
  • class cast exceptions
    via by darin.eclipse,
  • Unhandled event loop exception (err_grp: 0a21f300)
    via by error-reports-inbox,
  • GitHub comment 104#70994500
    via GitHub by kcbabo
    ,
  • When running with the latest Juno RC1, I get this exception when opening the Dashboard: java.lang.ClassCastException: org.eclipse.ui.forms.widgets.TableWrapData cannot be cast to org.eclipse.swt.layout.GridData at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:205) at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:163) at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:236) at org.eclipse.ui.forms.widgets.LayoutComposite.computeSize(LayoutComposite.java:35) at org.eclipse.swt.layout.GridData.computeSize(GridData.java:491) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:218) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.layout(Composite.java:703) at org.eclipse.swt.widgets.Composite.layout(Composite.java:661) at org.eclipse.ui.forms.widgets.SizeCache.layoutIfNecessary(SizeCache.java:525) at org.eclipse.ui.forms.widgets.SizeCache.setBounds(SizeCache.java:511) at org.eclipse.ui.forms.widgets.Form$FormLayout.layout(Form.java:159) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1200) at org.eclipse.swt.widgets.Composite.setLayoutDeferred(Composite.java:1078) at org.eclipse.swt.widgets.Display.runDeferredLayouts(Display.java:4000) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3601) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:334) at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:364) at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:431) at com.springsource.sts.internal.ide.help.AbstractNameUrlPreferenceModel.setDefaults(AbstractNameUrlPreferenceModel.java:89) at com.springsource.sts.internal.ide.help.AbstractNameUrlPreferenceModel.<init>(AbstractNameUrlPreferenceModel.java:52) at com.springsource.sts.internal.ide.help.ExampleProjectsPreferenceModel.<init>(ExampleProjectsPreferenceModel.java:29) at com.springsource.sts.internal.ide.help.ExampleProjectsPreferenceModel.getInstance(ExampleProjectsPreferenceModel.java:21) at com.springsource.sts.internal.ide.help.ExampleProjectsDashboardPart.getExampleLocations(ExampleProjectsDashboardPart.java:109) at com.springsource.sts.internal.ide.help.ExampleProjectsDashboardPart.createSampleLinks(ExampleProjectsDashboardPart.java:161) at com.springsource.sts.internal.ide.help.ExampleProjectsDashboardPart.createPartContent(ExampleProjectsDashboardPart.java:89) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPart.createControl(AbstractDashboardPart.java:39) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPage.initializePart(AbstractDashboardPage.java:195) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPage.access$0(AbstractDashboardPage.java:192) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPage$1.run(AbstractDashboardPage.java:183) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPage.createParts(AbstractDashboardPage.java:166) at org.springsource.ide.eclipse.dashboard.ui.AbstractDashboardPage.contributeParts(AbstractDashboardPage.java:157) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage.createFormContent(DashboardMainPage.java:1387) at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:152) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:150) at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:471) at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1081) at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:603) at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPages(SharedHeaderFormEditor.java:103) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:358) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:129) at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:95) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:300) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:837) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:111) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:318) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:888) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:622) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:724) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:695) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:689) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:674) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:90) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4597) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38) at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197) at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135) at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:57) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:418) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:385) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:578) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:314) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:962) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3071) at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:2996) at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2978) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2974) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2933) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2916) at org.springsource.ide.eclipse.dashboard.ui.actions.ShowDashboardPageAction.run(ShowDashboardPageAction.java:62) at org.springsource.ide.eclipse.dashboard.internal.ui.IdeUiPlugin$1$1.run(IdeUiPlugin.java:92) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3940) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3617) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1021) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:915) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    via by Martin Lippert,
    • java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.layout.GridLayout.layout(Unknown Source) at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source) at org.eclipse.swt.widgets.Composite.layout(Unknown Source) at org.eclipse.swt.widgets.Display.runSettings(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1185) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6645) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at apple.launcher.LaunchRunner.run(LaunchRunner.java:115) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    No Bugmate found.