It's all about the answers!

Ask a question

Unable to resync project : java.lang.nullpointerException


Maxime Carey (212) | asked Apr 23 '10, 10:51 a.m.
Hi, I'm using RTC 2.0.0.2iFix2 and Eclipse 3.5.2. I'm trying to resync my projects but I keep getting an error. I've updated Java to the lastest version and my Eclipse is up to date.

I get this message: An internal error occurred during: "Loading repository items".

The exception stack trace is :
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.Shareable.visit(Shareable.java:580)
at com.ibm.team.filesystem.client.internal.Shareable.access$0(Shareable.java:570)
at com.ibm.team.filesystem.client.internal.Shareable$1.visit(Shareable.java:256)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1442)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1454)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1454)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.accept(SharingMetadata2.java:1416)
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.accept(MetadataChangeTracker.java:273)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.accept(CopyFileAreaStore.java:2242)
at com.ibm.team.filesystem.client.internal.Shareable.accept(Shareable.java:302)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.computePendingChanges(LocalChangeTracker.java:1029)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(LocalChangeManager.java:346)
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:1800)
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:254)
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:55)

Session data:
eclipse.buildId=
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product

It happened some time ago and I had to unload the project and reload it. But this is time consuming considering how long it takes to load the project and and the side setup.

Do anybody has a fix?

2 answers



permanent link
Adil Chahid (45524118) | answered Apr 23 '10, 4:16 p.m.
Hello Maxime,
did you follow up the install steps as described here?

http://jazz.net/library/techtip/384

Thanks!

Hi, I'm using RTC 2.0.0.2iFix2 and Eclipse 3.5.2. I'm trying to resync my projects but I keep getting an error. I've updated Java to the lastest version and my Eclipse is up to date.

I get this message: An internal error occurred during: "Loading repository items".

The exception stack trace is :
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.Shareable.visit(Shareable.java:580)
at com.ibm.team.filesystem.client.internal.Shareable.access$0(Shareable.java:570)
at com.ibm.team.filesystem.client.internal.Shareable$1.visit(Shareable.java:256)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1442)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1454)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.acceptAll(SharingMetadata2.java:1454)
at com.ibm.team.filesystem.client.internal.SharingMetadata2.accept(SharingMetadata2.java:1416)
at com.ibm.team.filesystem.client.internal.MetadataChangeTracker.accept(MetadataChangeTracker.java:273)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.accept(CopyFileAreaStore.java:2242)
at com.ibm.team.filesystem.client.internal.Shareable.accept(Shareable.java:302)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.computePendingChanges(LocalChangeTracker.java:1029)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(LocalChangeManager.java:346)
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:1800)
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:254)
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:55)

Session data:
eclipse.buildId=
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product

It happened some time ago and I had to unload the project and reload it. But this is time consuming considering how long it takes to load the project and and the side setup.

Do anybody has a fix?

permanent link
Maxime Carey (212) | answered Apr 23 '10, 4:19 p.m.
Hello Maxime,
did you follow up the install steps as described here?

http://jazz.net/library/techtip/384

Thanks!


The only difference that I can see is the JVM. I'm running 1.6.0_20. This may be the source of problem. I'll try 1.5.

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.