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

Bug 311104

Summary: unhandled IllegalArgumentException in CVS commit wizard when committing large number of files
Product: [Eclipse Project] Platform Reporter: Susan McCourt <susan>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2010-04-29 16:01:44 EDT
Build id: I20100429-0206, Win7

I imported a standard dojo distribution into my workspace from the file system.  This is a ton of files.  (the standard distribution of dojo includes the subfolders dojo, dijit, and dojox).

I was able to share the project to a CVS repository,
but when I tried to commit it, the wizard would not launch and an IAE was in the log.

I tried to commit a subset of the files and it works.
It seems there is some number of files that this fails.
For example, I can't commit the contents of the dojox subfolder in one shot, but I was able to select pieces of it and commit.

Here's the stack trace
----------------------------

java.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:1052)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662)
	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(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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Remy Suen CLA 2010-04-29 16:06:05 EDT
See bug 299538.
Comment 2 Susan McCourt CLA 2010-04-30 17:31:15 EDT

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