Eclipse Jee Oxygen error when debugging Eclipse Applications - eclipse

This is about Eclipse Jee Oxygen (eclipse.buildId = 4.7.3.M20180301-0715).
Until this morning everything was running fine, then Eclipse update poped-up.
I decided to take the update and after restarting Eclipse I tried to debug a plugin project I'm working on. When I clicked Debug as > Eclipse Application menu, the other Eclipse instance started to be loaded, but it was interrupted with the following error stack:
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.<init>(ModelServiceImpl.java:122)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:511)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
I tryed to revert the update but now nothing works anymore. This is real only for debugging an Eclipse Application, other features of Eclipse seem to be ok.
Any ideas?

Go to your Target Platform preference page and make sure its settings are still valid by resetting to the defaults if needed.

After many unsuccessful attempts to fix the problem, I decided to create a new workspace and check out my project from Subversion, then I updated some files that were not yet committed and everything got back to work again.
I don't consider this a really good solution since what I did was to dodge the issue, but at least it shows that the problem is not in Eclipse itself, but in some workspace condition.

Related

Eclipse RCP application/product could not correctly run

I have an Eclipse RCP application, which has 2 parts, cdt extension and GMF extension,
I create an product configuration, uses application="org.eclipse.ui.ide.workbench" with no problems but there are more unexpected menus shown,
so I have to use application="com.x.y.z.branding/myown.product" it gives me below errors, even I can use the started application, but creating modeling project doesn't show on modeler explorer.
please help,
java.lang.NullPointerException
at org.eclipse.sirius.server.ui.autostart.internal.SiriusServerStartup.lambda$2(SiriusServerStartup.java:98)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4034)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3701)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
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 com.x.y.z.branding.Application.start(Application.java:33)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
The error looks like Eclipse Sirius bug 536894. The bug report says
The server auto-start feature and plug-ins do not depend on the server itself, so it is possible to have the auto-start plug-in installed without the server, which triggers the NPE.
The auto-start feature's description does not clearly mark it as experimental, so users may want to install it "just to see", and then get the NPE.
So you probably need to update the list of plugins in the RCP to include the server.

BIRTjava.lang.NoClassDefFoundError: org/eclipse/jetty/util/Decorator

I installed 64-bit Oxygen.2 and installed BIRT Framework through 'Update Software'.
When trying to render reports (to any format) from BIRT's GUI, I get the following error:
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/Decorator
at org.eclipse.birt.report.viewer.utilities.ViewerWebApp.start(ViewerWebApp.java:40)
at org.eclipse.birt.report.viewer.utilities.AppServerWrapper.startJettyServer(AppServerWrapper.java:256)
at org.eclipse.birt.report.viewer.utilities.AppServerWrapper.start(AppServerWrapper.java:155)
at org.eclipse.birt.report.viewer.utilities.WebappAccessor.start(WebappAccessor.java:72)
at org.eclipse.birt.report.viewer.utilities.WebViewer.startWebApp(WebViewer.java:827)
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:1078)
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:1073)
at org.eclipse.birt.report.designer.ui.actions.PreviewSupport.preview(PreviewSupport.java:402)
at org.eclipse.birt.report.designer.ui.actions.PreviewSupport$3.widgetSelected(PreviewSupport.java:245)
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.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
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(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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)<br>
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.Decorator cannot be found by org.eclipse.jetty.servlet_9.4.5.v20170502**
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
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(Unknown Source)
... 36 more
Anyone knows how to solve this problem?
Updated 06/23/19 - Just added instructions for Eclipse Photon
https://bugs.eclipse.org/bugs/show_bug.cgi?id=517662#c29
Update 04/04/18 - there is a workaround reported in first bug bellow that solves the problem. Copy the plugin files attached to the bug to the "dropins" folder of the Eclipse install and restart. It worked for me.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=517662
It appears that the integration with the installer is not yet ready.
Currently (BIRT 4.8.0), the easiest solution is to download the all-in-one option from https://download.eclipse.org/birt/downloads/
At the time of writing, this distribution includes Eclipse Photon and has all the plugins needed to render reports.
If you must use Oxygen, there are links to older releases at
https://download.eclipse.org/birt/downloads/build_list.php. I only have tested 4.8.0 so I don't know which of the older releases are working fine.
I am experiencing this error with Eclipse 4.11 as installed from the eclipse.org 'Eclipse for Java and Report Developers download link'. Confusingly this version of Eclipse seems to ship with version 4.7.0 of BIRT which is several years old (latest is 4.8.0).
The BIRT page linked by Krauss above has a link to an 'all-in-one' download but it is Eclipse Neon (4.6) with BIRT 4.6.0! However the good news is this bug is not present in this version, for me at least.
I'm thoroughly confused by the whole situation
TL;DR download and use this old version:
https://www.eclipse.org/downloads/packages/release/neon/r/eclipse-ide-java-and-report-developers

Eclipse Luna gives NullPointerException when debugging hits a breakpoint

Whenever I hit a breakpoint in my code, I see an obnoxious dialog informing me that "Perspective switch job has encountered a problem", the details of which simply say "NullPointerException". The error log shows this stack trace:
java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPage.showPart(WorkbenchPage.java:1298)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1269)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:4144)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4140)
at org.eclipse.debug.internal.ui.views.ViewContextService.showViewQuiet(ViewContextService.java:1168)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$4.runInUIThread(PerspectiveManager.java:528)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$MyUIJob$1.run(PerspectiveManager.java:229)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
I've tried disabling perspective switching (which I don't want anyway) via Options / Run/Debug / Perspectives by setting the "Debug" perspective to "None", but it keeps getting reset to "Debug", and does not change this behavior.
This is extremely annoying, making debugging nearly unusable.
I tried adding -clean to eclipse.ini, as suggested here Myeclipse is throwing some error when i debug server ... but that had no impact, either.
Ideas?
I have encountered the same problem (which is likely a bug) in Eclipse Mars. Every breakpoint reached opens the error dialog you described.
I was able to prevent the error by updating the following preferences (which are also present in Luna):
Go to Window > Preferences
On the left, go to Run/Debug > Perspectives
In the Application Types/Launchers list, select the type of application that you are debugging.
On the right under Modes/Perspectives, make sure that None is selected for the Debug dropdown.
Note: I was unable to find any setting that completely disables the perspective switch for all application types, so you'll have to do this for each type you debug.
The above Luna workaround did not help for me on Eclipse Mars. The bug as documented here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477477
Details that resetting the Java EE Perspective (Window -> Perspective -> Reset Perspective...) Will stop the NullPointerException from occuring.
I had a heavily customized Java EE perspective; after doing the reset, the NullPointerException went away.
Follow this step In Window > Preferences > Android > Lint Error Checking; Uncheck "When saving files check for errors".

Eclipse E4 RCP application and Dynamic Services

I am upgrading an RCP application to the 4.4 (Luna) framework from 3.7 (Indigo). The application works correctly in 3.7 but fails in 4.4 with org.eclipse.swt.SWTException: Invalid thread access.
There are Dynamic Services (DS) that start an application service to provide access to a database. When I remove the DS references from the manifests, the application starts, although won't fully function without the DS.
To date, I have tried changing the start order / priority of the bundles that create and use the DS but this did not correct the issue.
Any suggestions on how to proceed with troubleshooting and resolving this issue?
UPDATE
Tracing through the error, it fails during creation of the E4 workbench in the method Display.checkDevice().
Full stack trace
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.SWT.error(SWT.java:4327)
at org.eclipse.swt.widgets.Display.error(Display.java:1258)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:764)
at org.eclipse.swt.widgets.Display.getHighContrast(Display.java:1864)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.setCSSContextVariables(E4Application.java:327)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:305)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:601)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.easa.acmotor.base.Application.start(Application.java:24)
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
The issue had nothing to do with Dynamic Services.
After several long debug sessions, the root cause was determined by placing a break in the constructor of the Display object. That allowed us to find some very old code in the Activator of one of the plugins that executed Display.getDefault(). In 3.7 the Activator was called after the Display was initialized, in 4.4 this timing changed so the Activator was called before the application initialized the Display.

Eclipse (Indigo) CVS no longer working after subclipse plugin install

I'm running Eclipse 3.7 (Indigo) and installed the Subclipse plugin a while back. Prior to that I know CVS was working properly. Since I installed Subclipse, I haven't really had the need for CVS. Recently I inherited a CVS project to maintain. When I try to open the Team Synchronize view and attempt to Synchronize to a CVS repo, I get the following error message:
java.lang.NoClassDefFoundError: org/eclipse/team/internal/ui/synchronize/RegexDiffFilter
at org.eclipse.team.internal.ccvs.ui.actions.SyncAction.execute(SyncAction.java:58)
at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:117)
at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:549)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
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:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.ClassNotFoundException: org.eclipse.team.internal.ui.synchronize.RegexDiffFilter
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 31 more
I found one bug filed on https://bugs.eclipse.org/bugs/show_bug.cgi?id=386664 which is exactly this issue, but no one has offered any solutions other than upgrading to a newer version of Eclipse, which is not an option for me.
Interestingly, I am able to checkout/update, but just cannot use the Synchronize View.
Does anyone have a clue if/what I can do to try to restore my CVS functionality?
Some hopefully pertinent information:
From plugin table:
CVS Team Provider Core: v3.3.500.v20120522-1148 (org.eclipse.team.cvs.core)
CVS Team Provider UI: : v3.3.500.v20120522-1148 (org.eclipse.team.cvs.ui)
CVS SSH2: v3.2.300.v20120522-1148 (org.eclipse.team.cvs.ssh2)
Eclipse CVS Client: v1.2.0.v201209141800 (org.eclipse.cvs)
Team Support Core: v3.6.0.I20110525-0800 (org.eclipse.team.core)
Team Support UI: v3.6.101.R37x_20111109-0800 (org.eclipse.team.ui)
Using:
Version: Indigo Service Release 2
Build id: 20120216-1857
I know this is not a definitive solution, but it worked for me:
Window -> Preference -> Team -> CVS -> Synchronize/Compare -> Uncheck Allow models (e.g. Java) to participate in synchronizations -> Ok
Hope that helps.