Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351825

Summary: CVS commit does not work with error Unhandled Loop Exception
Product: [Eclipse Project] Platform Reporter: Marilen Corciovei <marilen.corciovei>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Rostislav.Svoboda
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Marilen Corciovei CLA 2011-07-12 07:57:35 EDT
Build Identifier: I20110613-1736

Migrating a project from eclipse 3.5 on a new eclipse 3.7 install. CVS commit does not work. Complete exception:

null
Error
Tue Jul 12 14:47:53 EEST 2011
Unhandled event loop exception

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.ui.internal.navigator.NavigatorContentService
	at org.eclipse.ui.navigator.CommonViewer.<init>(CommonViewer.java:96)
	at org.eclipse.team.internal.ui.mapping.CommonViewerAdvisor$NavigableCommonViewer.<init>(CommonViewerAdvisor.java:51)
	at org.eclipse.team.internal.ui.mapping.CommonViewerAdvisor$NavigableCommonViewer.<init>(CommonViewerAdvisor.java:50)
	at org.eclipse.team.internal.ui.mapping.CommonViewerAdvisor.createViewer(CommonViewerAdvisor.java:217)
	at org.eclipse.team.internal.ui.mapping.CommonViewerAdvisor.<init>(CommonViewerAdvisor.java:287)
	at org.eclipse.team.internal.ui.mapping.ModelSynchronizePage.createViewerAdvisor(ModelSynchronizePage.java:79)
	at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizePage.createChangesViewer(AbstractSynchronizePage.java:130)
	at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizePage.createControl(AbstractSynchronizePage.java:113)
	at org.eclipse.team.ui.synchronize.ParticipantPageCompareEditorInput.createPage(ParticipantPageCompareEditorInput.java:135)
	at org.eclipse.team.ui.PageCompareEditorInput.createStructureInputPane(PageCompareEditorInput.java:100)
	at org.eclipse.compare.CompareEditorInput.createOutlineContents(CompareEditorInput.java:644)
	at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:540)
	at org.eclipse.team.ui.synchronize.ParticipantPageCompareEditorInput.createContents(ParticipantPageCompareEditorInput.java:316)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizardCommitPage.createChangesPage(CommitWizardCommitPage.java:233)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizardCommitPage.createChangesArea(CommitWizardCommitPage.java:210)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizardCommitPage.createControl(CommitWizardCommitPage.java:130)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizard.open(CommitWizard.java:432)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizard.run(CommitWizard.java:425)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizard.run(CommitWizard.java:353)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizard.run(CommitWizard.java:383)
	at org.eclipse.team.internal.ccvs.ui.actions.CommitAction$2.run(CommitAction.java:74)
	at org.eclipse.team.internal.ccvs.ui.repo.RepositoryManager.run(RepositoryManager.java:717)
	at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$2.run(CVSAction.java:360)
	at org.eclipse.team.internal.ccvs.ui.actions.CVSAction$3.run(CVSAction.java:369)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:366)
	at org.eclipse.team.internal.ccvs.ui.actions.CommitAction.execute(CommitAction.java:70)
	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:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)


Reproducible: Always
Comment 1 Marilen Corciovei CLA 2011-07-12 07:58:29 EDT
Same error occur when trying to open the syncronize view.
Comment 2 Tomasz Zarna CLA 2011-07-13 09:17:05 EDT
(In reply to comment #0)
> Migrating a project from eclipse 3.5 on a new eclipse 3.7 install. CVS commit
> does not work. 

What do you mean by that? Did you open the workspace with Eclipse 3.7, try to commit and it failed while opening the wizard? Does it happen to all projects you have in that workspace or just for a single one. Any chance to share it with us?

Do you have a fresh installation on Eclipse 3.7 or has it been a p2 upgrade?
Comment 3 Marilen Corciovei CLA 2011-07-13 09:38:59 EDT
I started with a fresh eclipse 3.7 64 bit install. I downloaded the classic version and extracted the files from the archive eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz

I created a new workspace and I imported each project manually (import existing projects into workspace). I imported a number of 4 projects I worked with then I did team -> share. I validated the connection (pserver cvs), did a successful update but after making some some changes to the code the commit did not worked on any of the projects. The only special thing was that I installed the jboss hibernate tools which I required. If this might be the cause of the problem I can retest all the process without installing this plugin.
Comment 4 Rostislav Svoboda CLA 2011-09-03 19:40:26 EDT
This might be not relevant (I have almost zero experiences with plugin development) but I get the same exception when I replace the original org.eclipse.team.cvs.ui_3.3.400.I20110510-0800.jar with my jar file created by checkout of the org.eclipse.team.cvs.ui (branch R3_7_maintenance), compile and export it (using Export Wizard).
I get this exception when I (restart the eclipse and) try to open the Project Navigator view.

It works fine when I run it as 'Launch an Eclipse application' from the plugin.xml
Comment 5 Lars Vogel CLA 2019-11-14 03:43:31 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.