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

Pentaho BI Platform Tracking | Sean Flatley | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The mentioned step dialogs fail to open with this error: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData Details: java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData at org.eclipse.swt.layout.FillLayout.computeChildSize(Unknown Source) at org.eclipse.swt.layout.FillLayout.computeSize(Unknown Source) at org.eclipse.swt.widgets.Composite.computeSize(Unknown Source) at org.eclipse.swt.widgets.Control.computeSize(Unknown Source) at org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:115) at org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:79) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:824) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:808) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:257) at org.pentaho.di.ui.trans.steps.dimensionlookup.DimensionLookupDialog.open(DimensionLookupDialog.java:1060) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7948) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2841) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:715) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1266) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7158) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8418) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:594) 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:115) This is not caused by the Kettle project restructure. The same exception occurs in the pre restructure tag.

    Pentaho BI Platform Tracking | 4 years ago | Sean Flatley
    java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData
  2. 0

    The mentioned step dialogs fail to open with this error: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData Details: java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData at org.eclipse.swt.layout.FillLayout.computeChildSize(Unknown Source) at org.eclipse.swt.layout.FillLayout.computeSize(Unknown Source) at org.eclipse.swt.widgets.Composite.computeSize(Unknown Source) at org.eclipse.swt.widgets.Control.computeSize(Unknown Source) at org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:115) at org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:79) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:824) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:808) at org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:257) at org.pentaho.di.ui.trans.steps.dimensionlookup.DimensionLookupDialog.open(DimensionLookupDialog.java:1060) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7948) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2841) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:715) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1266) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7158) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8418) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:594) 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:115) This is not caused by the Kettle project restructure. The same exception occurs in the pre restructure tag.

    Pentaho BI Platform Tracking | 4 years ago | Sean Flatley
    java.lang.ClassCastException: org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData
  3. 0

    java.lang.ClassCastException when maximize mpart

    Stack Overflow | 5 months ago | JimmyD
    java.lang.ClassCastException: org.eclipse.swt.layout.GridData cannot be cast to org.eclipse.swt.layout.FillData
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.eclipse.swt.layout.FormData cannot be cast to org.eclipse.swt.layout.FillData

      at org.eclipse.swt.layout.FillLayout.computeChildSize()
    2. RWT
      Control.computeSize
      1. org.eclipse.swt.layout.FillLayout.computeChildSize(Unknown Source)
      2. org.eclipse.swt.layout.FillLayout.computeSize(Unknown Source)
      3. org.eclipse.swt.widgets.Composite.computeSize(Unknown Source)
      4. org.eclipse.swt.widgets.Control.computeSize(Unknown Source)
      4 frames
    3. org.pentaho.di
      TransGraph.mouseDoubleClick
      1. org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:115)
      2. org.pentaho.di.ui.core.gui.WindowProperty.setShell(WindowProperty.java:79)
      3. org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:824)
      4. org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:808)
      5. org.pentaho.di.ui.trans.step.BaseStepDialog.setSize(BaseStepDialog.java:257)
      6. org.pentaho.di.ui.trans.steps.dimensionlookup.DimensionLookupDialog.open(DimensionLookupDialog.java:1060)
      7. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
      8. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7948)
      9. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2841)
      10. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:715)
      10 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    5. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1266)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7158)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8418)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:594)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:115)
      1 frame