Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Commit fails: "Invalid thread access"
Commit fails: "Invalid thread access" [message #683588] Tue, 14 June 2011 03:20 Go to next message
Kevin  is currently offline Kevin
Messages: 6
Registered: December 2010
Junior Member
I've attempted six commits with Subversive, with only one success. Twice, Eclipse completely locked up and I had to kill it. Three times, I got an error dialog. Something about invalid thread access, and "some" files were not committed. The first time I saw this error, everything was committed. The second two times, nothing was committed. It prints two stack traces on the console.

Exception in thread "SVN-CBNNH" org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:3884)
	at org.eclipse.swt.SWT.error(SWT.java:3799)
	at org.eclipse.swt.SWT.error(SWT.java:3770)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:389)
	at org.eclipse.swt.widgets.Control.isVisible(Control.java:3168)
	at org.eclipse.swt.widgets.ProgressBar.timerProc(ProgressBar.java:276)
	at org.eclipse.swt.widgets.Display.windowTimerProc(Display.java:4209)
	at org.tigris.subversion.javahl.SVNClient.commit(Native Method)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.commit(JavaHLConnector.java:337)
	at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.commit(ThreadNameModifier.java:98)
	at org.eclipse.team.svn.core.operation.local.CommitOperation$2.run(CommitOperation.java:123)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:146)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:141)
	at org.eclipse.team.svn.core.operation.local.CommitOperation.performCommit(CommitOperation.java:121)
	at org.eclipse.team.svn.core.operation.local.CommitOperation.runImpl(CommitOperation.java:102)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:94)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:38)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.ui.utility.WorkspaceModifyCancellableOperationWrapper.execute(WorkspaceModifyCancellableOperationWrapper.java:58)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
	at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Exception in thread "SVN-CBNNH" org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:3884)
	at org.eclipse.swt.SWT.error(SWT.java:3799)
	at org.eclipse.swt.SWT.error(SWT.java:3770)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:389)
	at org.eclipse.swt.widgets.Control.isVisible(Control.java:3168)
	at org.eclipse.swt.widgets.ProgressBar.timerProc(ProgressBar.java:276)
	at org.eclipse.swt.widgets.Display.windowTimerProc(Display.java:4209)
	at org.tigris.subversion.javahl.SVNClient.commit(Native Method)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.commit(JavaHLConnector.java:337)
	at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.commit(ThreadNameModifier.java:98)
	at org.eclipse.team.svn.core.operation.local.CommitOperation$2.run(CommitOperation.java:123)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:146)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:141)
	at org.eclipse.team.svn.core.operation.local.CommitOperation.performCommit(CommitOperation.java:121)
	at org.eclipse.team.svn.core.operation.local.CommitOperation.runImpl(CommitOperation.java:102)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:94)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:77)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:38)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.ui.utility.WorkspaceModifyCancellableOperationWrapper.execute(WorkspaceModifyCancellableOperationWrapper.java:58)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
	at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

[Updated on: Tue, 14 June 2011 03:24]

Report message to a moderator

Re: Commit fails: "Invalid thread access" [message #683817 is a reply to message #683588] Tue, 14 June 2011 13:24 Go to previous messageGo to next message
Alexander Gurov is currently offline Alexander Gurov
Messages: 87
Registered: July 2009
Member
If my guess is correct you're working on Linux. If so, then please check this topic:
http://www.ideaconsult.net/web/luchesar/blogs/-/blogs/subclipse-fails-with-org-eclipse-swt-swtexception%3A-invalid-thread-access
Re: Commit fails: "Invalid thread access" [message #683890 is a reply to message #683817] Tue, 14 June 2011 15:45 Go to previous message
Kevin  is currently offline Kevin
Messages: 6
Registered: December 2010
Junior Member
Your guess is correct. Thanks, I'll try that.
Previous Topic:Getting an Eclipse project into SVN
Next Topic:[Bug 230853] Sometime resources are disappeared from Synchronize View
Goto Forum:
  


Current Time: Tue Sep 16 17:33:51 GMT 2014

Powered by FUDForum. Page generated in 0.01732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software