java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Pentaho BI Platform Tracking by Kurtis Cruzada, 1 year ago
org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData
via Pentaho BI Platform Tracking by Kurtis Cruzada, 1 year ago
org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.GridData
via Eclipse Bugzilla by brianchin, 1 year ago
org.eclipse.ui.internal.WindowTrimProxy cannot be cast to org.eclipse.swt.layout.GridData
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
org.eclipse.ui.forms.widgets.TableWrapData cannot be cast to org.eclipse.swt.layout.GridData
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
org.eclipse.ui.forms.widgets.TableWrapData cannot be cast to org.eclipse.swt.layout.GridData
via GitHub by kcbabo
, 2 years ago
org.eclipse.jface.layout.GridDataFactory cannot be cast to org.eclipse.swt.layout.GridData
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.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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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