Menu

Error message on File Types page

GDoutch
2007-05-18
2013-04-01
  • GDoutch

    GDoutch - 2007-05-18

    I cannot set file types. Whenever I select Window > Preferences > Color Library Editor > File Types I get the message "The currently displayed page contains invalid values".

    And cannot do anything with that page.

    Does anyone have any ideas about what could be wrong?

    Gareth

     
    • David Vick

      David Vick - 2008-01-18

      Was there ever any resolution to this? I am having the same problem. The Eclipse error log is reporting this.........

      eclipse.buildId=M20071023-1652
      java.version=1.6.0_03
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments:  -os win32 -ws win32 -arch x86

      Error
      Fri Jan 18 16:22:54 EST 2008
      Problems occurred when invoking code from plug-in: "org.eclipse.jface".

      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:141)
      at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:119)
      at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:219)
      at org.eclipse.swt.layout.GridData.computeSize(GridData.java:478)
      at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:214)
      at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:159)
      at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:219)
      at org.eclipse.jface.preference.PreferencePage.doComputeSize(PreferencePage.java:343)
      at org.eclipse.jface.preference.PreferencePage.computeSize(PreferencePage.java:163)
      at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1234)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.java:857)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
      at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1228)
      at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:433)
      at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698)
      at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.core.runtime.Platform.run(Platform.java:857)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
      at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
      at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
      at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
      at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
      at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
      at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      at org.eclipse.jface.window.Window.open(Window.java:796)
      at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

      Any help would be appreciated - thanks

       
      • Igor Russkih

        Igor Russkih - 2008-01-19

        hi,

        The solution is simple. Just install EclipseColorer 0.8.0 from sf.net site (it is not available now from eclipse update).

         
    • David Vick

      David Vick - 2008-01-21

      Perfect - that did the trick!!

      thanks Igor

       

Log in to post a comment.