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 Eclipse Bugzilla by steffen.pingel, 1 year ago
org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
via Stack Overflow by googytech
, 2 years ago
org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
via Eclipse Bugzilla by marky, 2 years ago
org.eclipse.swt.layout.GridData incompatible with org.eclipse.swt.layout.FillData
via Appcelerator JIRA by Fabio Zadrozny, 2 years ago
org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
via Appcelerator JIRA by Fabio Zadrozny, 1 year ago
org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
java.lang.ClassCastException: org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData	at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayout.java:144)	at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:122)	at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:233)	at org.eclipse.jface.action.ControlContribution.computeWidth(ControlContribution.java:55)	at org.eclipse.jface.action.ControlContribution.fill(ControlContribution.java:106)	at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.processContents(ToolBarManagerRenderer.java:504)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer$5.handleEvent(ToolBarManagerRenderer.java:220)	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:4683)	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:184)	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.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)	at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:356)	at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:339)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.mergeIntoModel(ToolBarContributionRecord.java:169)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.processAddition(ToolBarManagerRenderer.java:368)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.generateContributions(ToolBarManagerRenderer.java:346)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.processContribution(ToolBarManagerRenderer.java:327)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer.createWidget(ToolBarManagerRenderer.java:265)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:882)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:616)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:718)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:689)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:683)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:668)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.handleEvent(PartRenderingEngine.java:261)	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:4683)	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:184)	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.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)	at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:356)	at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:339)	at org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.processAddition(ContributionsAnalyzer.java:354)	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer.addTrimContributions(TrimBarRenderer.java:186)	at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer.processContents(TrimBarRenderer.java:163)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:628)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:505)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:490)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$3.handleEvent(PartRenderingEngine.java:217)	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:4683)	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:184)	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.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)	at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294)	at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:301)	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.getTrim(ModelServiceImpl.java:715)	at org.eclipse.ui.internal.WorkbenchWindow.populateBottomTrimContributions(WorkbenchWindow.java:843)	at org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:547)