Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

java.lang.IllegalStateException while using RTC Workspace

When I will unload, delete or load a component from a RTC Workspace or the workspace itself I get the following exception. How Can I delete/restore the workspace without any exception? The content of the workspace is not required anymore.

java.lang.IllegalStateException
    at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.doFree(BTreeHeap.java:312)
    at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.free(BTreeHeap.java:283)
    at com.ibm.team.filesystem.client.internal.PersistentHeapManager$AutoClosingPersistentFileHeap.free(PersistentHeapManager.java:128)
    at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.resizeIfNeeded(DiskBackedHashMap.java:440)
    at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.put(DiskBackedHashMap.java:168)
    at com.ibm.team.filesystem.client.internal.LockableMap$1.put(LockableMap.java:94)
    at com.ibm.team.filesystem.client.internal.core.MetadataChangeTracker.handleFileItemInfoSet(MetadataChangeTracker.java:787)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.setFileItemInfo(SharingMetadata2.java:2723)
    at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore$7.visit(CopyFileAreaStore.java:2577)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1871)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.acceptAll(SharingMetadata2.java:1883)
    at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.accept(SharingMetadata2.java:1845)
    at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.deleteTreeInfoInternal(CopyFileAreaStore.java:2551)
    at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.deleteTreeInfo(CopyFileAreaStore.java:2461)
    at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileArea.forget(CopyFileArea.java:117)
    at com.ibm.team.filesystem.client.internal.SharingManager.forget(SharingManager.java:544)
    at com.ibm.team.filesystem.client.internal.Shareable.unshare(Shareable.java:389)
    at com.ibm.team.filesystem.client.internal.share.UnshareOperation$1.run(UnshareOperation.java:170)
    at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager$1.run(ResourceSharingManager.java:76)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager.runWithinFileSystemLock(ResourceSharingManager.java:88)
    at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:164)
    at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:144)
    at com.ibm.team.filesystem.client.internal.share.UnshareOperation.execute(UnshareOperation.java:260)
    at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
    at com.ibm.team.internal.filesystem.ui.actions.components.UnloadConfigurationDescriptorAction$1.repositoryRun(UnloadConfigurationDescriptorAction.java:77)
    at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:43)
    at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:240)
    at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:63)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

1

0 votes

Comments

It looks like it could be related to temp space.
How often does it happen? What version of RTC and what OS?

It happen every time and permanent. To solve the issue I create a new workspace and load all new. 



One answer

Permanent link
Hello David,
I found something similar on jazz.net: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=109909

There are two things to check
1. Can you check if you are not missing disk space?
2. What is Java version you are using to start RTC? Can you try using different VM Version?
3. If 1 and and 2 does not help, can you try starting RTC on fresh workspace? This should fix the issue.

Best regards,
Krzysztof

0 votes

Comments

 Hello,


thanks for your answer. 

1) The disk space is enough.
2) The java version is the latest IBM Java 6 64Bit.
Java(TM) SE Runtime Environment (build pwa6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 amd64-64 jvmwa6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT  - r9_20120914_26057
GC   - 20120928_AA)
JCL  - 20121014_01

3) Fresh workspace or begin from start not often an option


Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 19 '13, 10:37 a.m.

Question was seen: 4,836 times

Last updated: Apr 26 '13, 12:03 p.m.

Confirmation Cancel Confirm