It's all about the answers!

Ask a question

NullpointerException by trying to reload a project in RTC


Tunca Karabel (611) | asked Jul 05 '11, 6:42 p.m.
I want to check-in some files in RTC but RTC says that my project is out of sync. He prompts me to reload the related project but i cant reload my project because it gets an NullPointerException.

I am using RTC version 2.0.2.I200911251653-2-17...

here is some piece of eclipse error log:

!SESSION 2011-04-28 13:24:02.481 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_12-ea
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product

This is a continuation of log file /home/tkarabel/workspaceRTC/.metadata/.bak_7.log
Created Time: 2011-05-11 16:44:49.125

!ENTRY com.ibm.team.filesystem.client 1 800 2011-07-06 00:18:51.071
!MESSAGE Status INFO: com.ibm.team.filesystem.client code=4 Contents are out of sync. Consider creating a patch and reloading. null children=

!ENTRY org.eclipse.core.jobs 4 2 2011-07-06 00:18:53.735
!MESSAGE An internal error occurred during: "Accepting change sets".
!STACK 0
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.computeLocalPath(MetadataChangeTracker.java:593)
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.getLocalChanges(MetadataChangeTracker.java:480)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.refreshPendingChanges(LocalChangeTracker.java:928)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.access$0(LocalChangeTracker.java:835)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker$LocalChangesComputer.runRecompute(LocalChangeTracker.java:191)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker$LocalChangesComputer.rejoin(LocalChangeTracker.java:205)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.syncChanges(LocalChangeTracker.java:832)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(LocalChangeManager.java:347)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.doRefresh(LocalChangeManager.java:384)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshChanges(LocalChangeManager.java:630)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:363)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:1057)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation$2.run(LoadOperation.java:688)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager$1.run(ResourceSharingManager.java:456)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager.runWithinFileSystemLock(ResourceSharingManager.java:468)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:173)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:153)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:720)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.client.internal.operations.VerifySharesOperation.reloadOutOfSync(VerifySharesOperation.java:484)
at com.ibm.team.filesystem.client.internal.operations.VerifySharesOperation.handleOutOfSyncShares(VerifySharesOperation.java:455)
at com.ibm.team.filesystem.client.internal.operations.VerifySharesOperation.execute(VerifySharesOperation.java:254)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.client.internal.operations.WorkspaceUpdateOperation.execute(WorkspaceUpdateOperation.java:670)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.rcp.core.internal.changes.model.WorkspaceUpdateUtil.accept(WorkspaceUpdateUtil.java:68)
at com.ibm.team.filesystem.ui.actions.teamplace.AcceptAction$1$1$1.filesystemRun(AcceptAction.java:71)
at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(FileSystemUIOperation.java:44)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:42)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:205)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:62)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Does anybody have an idea, how i can fix this?

2 answers



permanent link
Tunca Karabel (611) | answered Jul 05 '11, 6:44 p.m.
!ENTRY com.ibm.team.filesystem.client 1 800 2011-07-06 00:02:10.009
!MESSAGE Status INFO: com.ibm.team.filesystem.client code=4 Contents are out of sync. Consider creating a patch and reloading. null children=

!ENTRY org.eclipse.core.jobs 4 2 2011-07-06 00:02:10.401
!MESSAGE An internal error occurred during: "Loading repository items".
!STACK 0
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.computeLocalPath(MetadataChangeTracker.java:593)
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.getLocalChanges(MetadataChangeTracker.java:480)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.refreshPendingChanges(LocalChangeTracker.java:928)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.access$0(LocalChangeTracker.java:835)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker$LocalChangesComputer.runRecompute(LocalChangeTracker.java:191)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker$LocalChangesComputer.rejoin(LocalChangeTracker.java:205)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.syncChanges(LocalChangeTracker.java:832)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(LocalChangeManager.java:347)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.doRefresh(LocalChangeManager.java:384)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshChanges(LocalChangeManager.java:630)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:363)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:1057)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation$2.run(LoadOperation.java:688)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager$1.run(ResourceSharingManager.java:456)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at com.ibm.team.filesystem.rcp.core.internal.resources.ResourceSharingManager.runWithinFileSystemLock(ResourceSharingManager.java:468)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:173)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.runWithinFileSystemLock(FileSystemOperation.java:153)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.execute(LoadOperation.java:720)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:90)
at com.ibm.team.filesystem.ide.ui.internal.wizards.load.LoadOperationInput$3.filesystemRun(LoadOperationInput.java:261)
at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(FileSystemUIOperation.java:44)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:42)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:205)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:62)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

permanent link
Ralph Schoon (63.6k33647) | answered Jul 06 '11, 7:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi, can you try to create a new workspace and try if you can load the repository workspace there?

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.