shdqcdsn / counterclockwise

Automatically exported from code.google.com/p/counterclockwise
0 stars 0 forks source link

In the Appearence preference page, error and empty drop down list. #646

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the Counterclockwise bundle (0.26.0.STABLE001)
2. Go to Window->Preferences->General->Appearance

What is the expected output? What do you see instead?
It is expected to open the Appearance menu.

What version of the product are you using? On what operating system?
0.26.0.STABLE001 on Ubuntu Linux 14.04

Please provide any additional information below.
The message is the classic: "The currently displayed page contains invalid 
values".
If you keep going there at some point it will show the page with an empty drop 
down list.

Log stacktrace:
!ENTRY org.eclipse.jface 4 2 2014-07-18 11:50:56.534
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
    at org.eclipse.ui.internal.dialogs.ViewsPreferencePage.createContents(ViewsPreferencePage.java:74)
    at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
    at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1502)
    at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1259)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1253)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:675)
    at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:709)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:705)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886)
    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1726)
    at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
    at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:1055)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:730)
    at org.eclipse.jface.preference.PreferenceDialog$4.run(PreferenceDialog.java:376)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:372)
    at org.eclipse.jface.window.Window.create(Window.java:432)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
    at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.createDialogOn(WorkbenchPreferenceDialog.java:102)
    at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:192)
    at org.eclipse.ui.dialogs.PreferencesUtil.createPreferenceDialogOn(PreferencesUtil.java:116)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:64)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

System:
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.X11.XToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/usr/local/share/counterclockwise/Counterclockwise
-name
Counterclockwise
--launcher.library
/usr/local/share/counterclockwise//plugins/org.eclipse.equinox.launcher.gtk.linu
x.x86_64_1.1.200.v20130807-1835/eclipse_1506.so
-startup
/usr/local/share/counterclockwise//plugins/org.eclipse.equinox.launcher_1.3.0.v2
0130327-1440.jar
--launcher.overrideVmargs
-exitdata
26c8011
-vm
/usr/bin/java
eclipse.home.location=file:/usr/local/share/counterclockwise/
eclipse.launcher=/usr/local/share/counterclockwise/Counterclockwise
eclipse.launcher.name=Counterclockwise
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=DefaultProfile
eclipse.product=ccw.branding.ccw
eclipse.startTime=1405678198385
eclipse.vm=/usr/bin/java
eclipse.vmargs=-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar

Original issue reported on code.google.com by andrea.r...@gmail.com on 18 Jul 2014 at 10:15

GoogleCodeExporter commented 9 years ago
This can be helpful, probably the bug is not related to Counterclockwise:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381845

Original comment by andrea.r...@gmail.com on 18 Jul 2014 at 10:27

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 18 Jul 2014 at 11:58

GoogleCodeExporter commented 9 years ago
Thanks for the report.

The eclipse issue you reported will most probably help solve the problem.

Original comment by laurent....@gmail.com on 20 Jul 2014 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 21 Jul 2014 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 21 Jul 2014 at 9:24

GoogleCodeExporter commented 9 years ago
If you don't mind, I'm going to give you credits for filing the issue and 
mentioning the relevant Eclipse issue which helped me fix it in 
Counterclockwise product so fast!

Should I mention you as andrea.richiardi , but is looks more like a login than 
a name, or Andrea Richiardi, or something else?

Original comment by laurent....@gmail.com on 21 Jul 2014 at 9:28

GoogleCodeExporter commented 9 years ago
Oh sure no problem, Andrea Richiardi is fine! Thank you.

Original comment by andrea.r...@gmail.com on 21 Jul 2014 at 9:32

GoogleCodeExporter commented 9 years ago
By the way, I am arichiardi on github. Good job! I will rebase mine on your 
last changes.

Original comment by andrea.r...@gmail.com on 21 Jul 2014 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 21 Aug 2014 at 8:37