Fail to load project, "Could not set property: org.eclipse.buildship.core GRADLE_FILTER. Value is too long"

We are having a problem loading one of our bigger projects in Eclipse. I couldn’t reproduce this originally, but now, for whatever reason, am running into it continuously.

!ENTRY org.eclipse.buildship.core 4 0 2015-09-24 20:50:02.392
!MESSAGE Synchronize Gradle root project at C:\code\common with workspace failed due to an error configuring Eclipse.
org.eclipse.buildship.core.GradlePluginsRuntimeException: org.eclipse.core.internal.resources.ResourceException: Could not set property: org.eclipse.buildship.core GRADLE_FILTER. Value is too long.
at org.eclipse.buildship.core.workspace.internal.StringSetPersistentProperty.set(
at org.eclipse.buildship.core.workspace.internal.StringSetPersistentProperty.add(
at org.eclipse.buildship.core.workspace.internal.ResourceFilter.setExclusionFilters(
at org.eclipse.buildship.core.workspace.internal.ResourceFilter.attachFilters(
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.addNewEclipseProjectToWorkspace(
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeNonWorkspaceProject(
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeGradleProjectWithWorkspaceProject(
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeGradleBuildWithWorkspace(
at org.eclipse.buildship.core.workspace.SynchronizeGradleProjectJob.runToolingApiJobInWorkspace(
at org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob$
at org.eclipse.buildship.core.util.progress.ToolingApiInvoker.invoke(
at org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob.runInWorkspace(
Caused by: org.eclipse.core.internal.resources.ResourceException: Could not set property: org.eclipse.buildship.core GRADLE_FILTER. Value is too long.
at org.eclipse.core.internal.resources.Resource.setPersistentProperty(
at org.eclipse.buildship.core.workspace.internal.StringSetPersistentProperty.set(
… 13 more


So far, we can reproduce the issue with BuildShip v 1.0.5, 1.0.3, and 1.02, in combination with Eclipse Mars.

Put the debugger on Eclipse, and it is indeed setting a value over 2kb in length, which is greater than allowed by IResource.setPersistentProperty.

In my particular case, it has 28 values, most of which take this form:

When they are joined together, it submits a string value that is over 2k.

Posted a bug to

This is a complete blocker for us in using the plugin.

Thank you for reporting it. I can see the problem, it will be fixed shortly.

Are you aware of any workaround that we can use in the meantime? I haven’t had a chance to analyze it to determine if there is one.

Expect a solution shortly, available at least in a snapshot. @donat will keep you posted.

The issue has been fixed and can be tested by installing it from the following update site:

If it works, I suggest you to use this snapshot until 1.0.6 is released. We expect that happening in the upcoming days.
Thanks again for reporting this issue!

Hi, this is somewhat offtopic, but since my Google searching skills failed me, what is the best way to ‘upgrade’ to this specific version?

We have a few people that have updated to newer snapshots, and have seen some issues, and I would prefer they go back to this known good version. Is the only procedure to uninstall the existing plugin, and reinstall?

In at least one instance, doing such a thing caused the team member to have to recreate his workspace, so not sure if that is necessary.


The list of update sites and the installation instructions can be found in the documentation. If you open any of the update site URLs in the browser you can see that they contain a list of subfolders. Each subfolder corresponds to a specific version. If you use a subfolder’s URL for the installation, then that specific version will be installed.