buildship icon indicating copy to clipboard operation
buildship copied to clipboard

ResourceException - "resource locked"

Open krisan6 opened this issue 6 years ago • 1 comments

The eclipse .log file is full of ResourceExceptions that seem to point to buildship as per the stacktrace below. A number of users are seeing the same thing in their logs so it is not a local problem.

Windows 10 Eclipse 2018-12 Buildship 3.0.1

I can't say if this has any effect on Eclipse or not, but I figured that I'd report it here anyway. If the bug should go to Eclipse JDT instead, feel free to close this report and I'll move it there.

!ENTRY org.eclipse.buildship.core 2 0 2019-04-15 13:44:54.261 !MESSAGE Cannot update classpath provider !STACK 1 org.eclipse.core.internal.resources.ResourceException(null)[380]: java.lang.Exception: The resource tree is locked for modifications. at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42) at org.eclipse.core.internal.resources.ResourceException.(ResourceException.java:38) at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:122) at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2243) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2290) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2322) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:225) at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:186) at org.eclipse.buildship.core.internal.launch.DefaultExternalLaunchConfigurationManager.updateLaunchConfiguration(DefaultExternalLaunchConfigurationManager.java:154) at org.eclipse.buildship.core.internal.launch.DefaultExternalLaunchConfigurationManager.removeGradleClasspathProvider(DefaultExternalLaunchConfigurationManager.java:145) at org.eclipse.buildship.core.internal.launch.DefaultExternalLaunchConfigurationManager.updateClasspathProvider(DefaultExternalLaunchConfigurationManager.java:101) at org.eclipse.buildship.core.internal.launch.DefaultExternalLaunchConfigurationManager$LaunchConfigurationListener.launchConfigurationAdded(DefaultExternalLaunchConfigurationManager.java:186) at org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.run(LaunchManager.java:219) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.notify(LaunchManager.java:209) at org.eclipse.debug.internal.core.LaunchManager.launchConfigurationAdded(LaunchManager.java:2124) at org.eclipse.debug.internal.core.LaunchManager.projectOpened(LaunchManager.java:2216) at org.eclipse.debug.internal.core.LaunchManager$LaunchManagerVisitor.visit(LaunchManager.java:358) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77) at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:51) at org.eclipse.debug.internal.core.LaunchManager.resourceChanged(LaunchManager.java:2276) at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:300) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:290) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:153) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:379) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1502) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:49) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

krisan6 avatar Apr 23 '19 10:04 krisan6

Did this end up getting solved? I'm experiencing this currently

Isaac-Leonard avatar Nov 11 '24 14:11 Isaac-Leonard