IBM Support

Opening existing workspaces causes java.util.ConcurrentModificationException while initializing Java tooling after migrating the workspace

Troubleshooting


Problem

If a large workspace needing migration (either the workspace was created in a previous version of Rational Application Developer, or some projects are targeted to a server runtime that is no longer installed, etc.) is opened using Rational Application Developer Version 8.0.x, and the target runtime of the projects is changed during the migration, the user might see a dialog with the following message: An internal error occurred during: "Initializing Java Tooling". java.util.ConcurrentModificationException. When this happens, the workspace is sometimes left in a bad state, but restarting Rational Application Developer on the same workspace and selecting the menu option "Project -> Clean..." to clean all projects fixes the problem.

Symptom

A dialog with the following message is shown:

An internal error occurred during: "Initializing Java Tooling". java.util.ConcurrentModificationException.

The following entries are seen in the log:

!MESSAGE An internal error occurred during: "Update Installed JREs".
!STACK 0
java.util.ConcurrentModificationException

!MESSAGE An internal error occurred during: "Initializing Java Tooling".
!STACK 0
java.util.ConcurrentModificationException

Cause

The initialization of the JDT component of Eclipse is not thread safe.

Resolving The Problem

If the workspace was left in a bad state after the migration, restart Rational Application Developer on the same the workspace, and select the menu option "Project -> Clean..." to clean all projects.

[{"Product":{"code":"SSJVRK","label":"Rational Application Developer Standard Edition for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Eclipse","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"8.0;8.0.1;8.0.2;8.0.3","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational Application Developer Standard Edition for WebSphere Software

Software version:
8.0, 8.0.1, 8.0.2, 8.0.3

Operating system(s):
Windows, Linux

Document number:
151723

Modified date:
16 June 2018

UID

swg21469916