IBM Support

ResourceException problems encountered while deleting resources raised when cleaning a project with a Java facet

Troubleshooting


Problem

When cleaning a project with the Java facet in IBM® Rational® Application Developer, for example Java project, Dynamic web project or EJB project, a ResourceException error might occur. This happens when the mentioned project is shared with IBM® Rational® ClearCase using the ClearCase Remote Client (CCRC). This technote describes the problem further and suggests a workaround.

Symptom

The following are symptoms of the problem:

  • The following error message is displayed:


    • ResourceException org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources

  • The file .copyarea.db is shown as view private in the output directory and source directory of your project (for example src and bin)
  • The .log file or Error Log view contains this exception:

      !MESSAGE JavaBuilder handling ImageBuilderInternalException while building: IV_AM
      !STACK 1
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
      at org.eclipse.core.internal.resources.Resource.delete(Unknown Source)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(Unknown Source)
      at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(Unknown Source)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(Unknown Source)
      at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
      at org.eclipse.core.runtime.Platform.run(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
      at org.eclipse.core.runtime.Platform.run(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(Unknown Source)
      at org.eclipse.core.internal.events.BuildManager.build(Unknown Source)
      at org.eclipse.core.internal.resources.Workspace.build(Unknown Source)
      at org.eclipse.ui.actions.GlobalBuildAction$1.run(Unknown Source)
      at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

      [</code>]

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Integrations: IBM","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"6.0;6.0.0.1;6.0.1;6.0.1.1;6.0.1.2;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.5;7.5.1;7.5.2","Edition":"All Editions","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"ClearCase Integration","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.0.0.1;6.0.1;6.0.1.1;6.0.1.2;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8","Edition":"All Editions","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
10 September 2020

UID

swg21316377