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)
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)
One answer
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
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
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
Comments
Karl Weinert
JAZZ DEVELOPER Apr 22 '13, 9:21 a.m.It looks like it could be related to temp space.
How often does it happen? What version of RTC and what OS?
David Winter
JAZZ DEVELOPER Apr 26 '13, 12:03 p.m.It happen every time and permanent. To solve the issue I create a new workspace and load all new.