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

Bug 320679

Summary: First time check-in of a new project causes and event loop exception
Product: [Eclipse Project] Platform Reporter: Marc Chamberlin <marc>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Marc Chamberlin CLA 2010-07-22 18:31:39 EDT
Build Identifier: Build id: 20100617-1415

I created a new project, populated it, configures Team Share for it to allow me to check it in for the first time to our CVS repository. It failed with a cryptic error message about an "Unhandled event loop exception" Google searchs reveal no clue what this is all about. Stack trace follows -

ava.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:4064)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.SWT.error(SWT.java:3969)
	at org.eclipse.swt.custom.SashForm.setWeights(SashForm.java:422)
	at org.eclipse.team.internal.ccvs.ui.wizards.CommitWizardCommitPage.createControl(CommitWizardCommitPage.java:155)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
	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:548)
	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:3552)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)


Reproducible: Always

Steps to Reproduce:
1. Not sure, try creating a new web project
2. Set Team Share to add to CVS repository
3. Check in the new project
Comment 1 Remy Suen CLA 2010-07-22 18:44:54 EDT
Do you have a ton of files and folders to commit? Sounds like bug 299538.
Comment 2 Marc Chamberlin CLA 2010-07-22 23:53:05 EDT
(In reply to comment #1)
> Do you have a ton of files and folders to commit? Sounds like bug 299538.

Yep, same bug!  And the workaround mentioned worked for me. So go ahead and mark this as a duplicate.
Comment 3 Remy Suen CLA 2010-07-23 06:07:11 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > Do you have a ton of files and folders to commit? Sounds like bug 299538.
> 
> Yep, same bug!  And the workaround mentioned worked for me. So go ahead and
> mark this as a duplicate.

Thanks for the information, Marc. You yourself can also mark your own bugs as a duplicate, by the way.

*** This bug has been marked as a duplicate of bug 299538 ***