Project: Eclipse_Platform_UI
Bug 91384 [Preferences] CCE in FileEditorsPreferencePage.createContents when running automated tests
Reported: 2005-04-14 06:28:53 | Status: verified fixed

build I20050413-0910 Looking through the console output for this build, I saw the following during: org.eclipse.ui.tests.UiTestSuite. The File Associations pref page comes up OK in the build though. [java] !ENTRY org.eclipse.jface 4 2 2005-04-13 13:17:14.682 [java] !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface". [java] !STACK 0 [java] java.lang.ClassCastException [java] at org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage.createContents(FileEditorsPreferencePage.java:167) [java] at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:423) [java] at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:388) [java] at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1407) [java] at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1119) [java] at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021) [java] at org.eclipse.core.runtime.Platform.run(Platform.java:757) [java] at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:40) [java] at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148) [java] at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1113) [java] at org.eclipse.ui.tests.dialogs.PreferenceDialogWrapper.showPage(PreferenceDialogWrapper.java:26) [java] at org.eclipse.ui.tests.dialogs.UIPreferencesAuto.getPreferenceDialog(UIPreferencesAuto.java:94) [java] at org.eclipse.ui.tests.dialogs.UIPreferencesAuto.testFileEditorsPref(UIPreferencesAuto.java:165) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324)

Files changed in fix:
tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dialogs/PreferenceDialogWrapper.java