It's all about the answers!

Ask a question

java.lang.IllegalStateException while using RTC Workspace


0
1
David Winter (823) | asked Apr 19 '13, 10:37 a.m.
JAZZ DEVELOPER
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)


Comments
Karl Weinert commented Apr 22 '13, 9:21 a.m.
JAZZ DEVELOPER

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


David Winter commented Apr 26 '13, 12:03 p.m.
JAZZ DEVELOPER

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

One answer



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Apr 22 '13, 3:30 a.m.
edited Apr 22 '13, 3:30 a.m.
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

Comments
David Winter commented Apr 22 '13, 8:02 a.m. | edited Apr 22 '13, 8:19 a.m.
JAZZ DEVELOPER

 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 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.