First a Hello to all, this is my first posting here!
If this is a duplicate, I apologize for that, because my first try to post in "Open Discussion" does not show up.
I have a problem with eclipse-cs when upgrading from Neon.3 to Oxygen.R.
(I use Eclipse on Windows 10-1703)
Minimal steps from scratch to demonstrate the problem:
1. Downloading eclipse-jee-oxygen-R-win32-x86_64.zip from eclipse.org
2. Unpacking the zip file.
3. Starting eclipse.exe with option -vm pointing to C:/My path/jre1.8.0_131/bin and accepting
the newly created empty default workspace.
4. Installing Checkstyle plugin from Update Site: http://eclipse-cs.sourceforge.net/update/
5. After restart of eclipse, going to Windows->Preferences->Checkstyle
6. At this point we have onyl two Check configurations: Google and Sun.
7. Selecting one of them and then push the button "Configure" nothing happens.
8. The Error.log shows the following message and stack trace:
(This is also the case with any other personal Check Configuration)
"Unhandled event loop exception"
java.lang.NoClassDefFoundError: org/eclipse/jface/util/ListenerList
at net.sf.eclipsecs.ui.util.table.EnhancedCheckBoxTableViewer.<init>(EnhancedCheckBoxTableViewer.java:50)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.createTableViewer(CheckConfigurationConfigureDialog.java:356)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.createDialogArea(CheckConfigurationConfigureDialog.java:199)
at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.create(CheckConfigurationConfigureDialog.java:224)
at org.eclipse.jface.window.Window.open(Window.java:783)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.configureCheckConfig(CheckConfigurationWorkingSetEditor.java:505)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.access$6(CheckConfigurationWorkingSetEditor.java:492)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor$PageController.widgetSelected(CheckConfigurationWorkingSetEditor.java:391)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:63)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1044)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jface.util.ListenerList cannot be found by net.sf.eclipsecs.ui_7.6.0.201703111252
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 50 more
Where is the problem:
Oxygen
eclipse-cs
My system
My brain
?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now it works for me too. I guess, that is a version with fixed bug #421. When is this version staged on the update site? I think customizing check configurations in a project specific way is an important feature.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First a Hello to all, this is my first posting here!
If this is a duplicate, I apologize for that, because my first try to post in "Open Discussion" does not show up.
I have a problem with eclipse-cs when upgrading from Neon.3 to Oxygen.R.
(I use Eclipse on Windows 10-1703)
Minimal steps from scratch to demonstrate the problem:
1. Downloading eclipse-jee-oxygen-R-win32-x86_64.zip from eclipse.org
2. Unpacking the zip file.
3. Starting eclipse.exe with option -vm pointing to C:/My path/jre1.8.0_131/bin and accepting
the newly created empty default workspace.
4. Installing Checkstyle plugin from Update Site: http://eclipse-cs.sourceforge.net/update/
5. After restart of eclipse, going to Windows->Preferences->Checkstyle
6. At this point we have onyl two Check configurations: Google and Sun.
7. Selecting one of them and then push the button "Configure" nothing happens.
8. The Error.log shows the following message and stack trace:
(This is also the case with any other personal Check Configuration)
"Unhandled event loop exception"
java.lang.NoClassDefFoundError: org/eclipse/jface/util/ListenerList
at net.sf.eclipsecs.ui.util.table.EnhancedCheckBoxTableViewer.<init>(EnhancedCheckBoxTableViewer.java:50)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.createTableViewer(CheckConfigurationConfigureDialog.java:356)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.createDialogArea(CheckConfigurationConfigureDialog.java:199)
at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog.create(CheckConfigurationConfigureDialog.java:224)
at org.eclipse.jface.window.Window.open(Window.java:783)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.configureCheckConfig(CheckConfigurationWorkingSetEditor.java:505)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor.access$6(CheckConfigurationWorkingSetEditor.java:492)
at net.sf.eclipsecs.ui.config.CheckConfigurationWorkingSetEditor$PageController.widgetSelected(CheckConfigurationWorkingSetEditor.java:391)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:63)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1044)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jface.util.ListenerList cannot be found by net.sf.eclipsecs.ui_7.6.0.201703111252
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 50 more
Where is the problem:
Oxygen
eclipse-cs
My system
My brain
?
Use attached archive as Repository location (Help->Install New Software...->Add...->Archive...).
It works fine with my Eclipse Oxygen :)
Now it works for me too. I guess, that is a version with fixed bug #421. When is this version staged on the update site? I think customizing check configurations in a project specific way is an important feature.
Version 8.0.0 will show up on the update site shortly, including the mentioned fix for Oxygen.
Getting the following error now
.@Aditya I couldn't reproduce at first glance, please provide steps - preferably in a bug ticket.
Judging from the location of the NPE a full clean/rebuild of your workspace might help.
Tried clean and build, did not work. Created a bug 424
Last edit: Aditya Poosarla 2017-07-19