It's all about the answers!

Ask a question

error when loading local workspace to Samba drive


Mickey Roash (9021616) | asked Feb 29 '12, 8:50 a.m.
Hi ,

I am getting error when trying to load to components to Smaba Drive
when I loading the components on empty directory ,it dose working for me ,only the second time this give this error :

2012-02-29 08:04:26 Fetching files to fetch destination "W:\StmOO\Rhapsody7611" ...
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.shouldBeIgnored(FileStorageWrapper.java:264)
at com.ibm.team.filesystem.client.internal.Shareable.shouldBeIgnored(Shareable.java:471)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker$1.visit(LocalChangeTracker.java:740)
at com.ibm.team.filesystem.client.internal.Shareable$1$1.visit(Shareable.java:282)
at com.ibm.team.filesystem.client.internal.Shareable.visit(Shareable.java:616)
at com.ibm.team.filesystem.client.internal.Shareable.access$0(Shareable.java:600)
at com.ibm.team.filesystem.client.internal.Shareable$1.visit(Shareable.java:260)
at com.ibm.team.filesystem.client.internal.core.SharingMetadata2.accept(SharingMetadata2.java:1840)
at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaStore.accept(CopyFileAreaStore.java:2406)
at com.ibm.team.filesystem.client.internal.Shareable.accept(Shareable.java:306)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeTracker.computePendingChanges(LocalChangeTracker.java:735)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshSynchronously(LocalChangeManager.java:356)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.doRefresh(LocalChangeManager.java:394)
at com.ibm.team.filesystem.client.internal.localchanges.LocalChangeManager.refreshChanges(LocalChangeManager.java:640)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.load(MergeLoadMutator.java:435)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:291)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation.load(LoadOperation.java:939)
at com.ibm.team.filesystem.client.internal.operations.LoadOperation$1.run(LoadOperation.java:593)
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:1800)
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.operations.LoadOperation.execute(LoadOperation.java:624)
at com.ibm.team.filesystem.client.internal.operations.FileSystemOperation.run(FileSystemOperation.java:89)
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:619)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:238)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:844)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:650)
at java.lang.Thread.run(Thread.java:811)


any Idea what is wrong ?

Thanks,
Mickey

3 answers



permanent link
Tim Mok (6.6k38) | answered Feb 29 '12, 9:24 a.m.
JAZZ DEVELOPER
I'm not sure if loading to a network drive would work very well. It looks like the connection to the storage space hasn't finished initializing and there's an exception when trying to access it.

I suggest opening a work item about this.

permanent link
Jeff Foege (45266960) | answered Apr 18 '12, 3:29 p.m.
Were you ever able to get your workspace to load on a samba share? We were about to try doing that because we are having a hard time getting the RTC client installed on a Ubuntu virtual machine. We thought of using a samba share to get around this and I was curious what or any progress you made.

permanent link
SEC Servizi (97123660) | answered Sep 19 '14, 5:46 a.m.
edited Sep 19 '14, 6:02 a.m.
We got a similar exception when we set a network drive as sandbox for a load action of a repository workspace:
java.lang.NullPointerException
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.getExistingShareable(MergeLoadMutator.java:1223)
at com.ibm.team.filesystem.client.internal.load.MergeLoadMutator.execute(MergeLoadMutator.java:315)
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.client.internal.SharingManager.runWithinFileSystemLock(SharingManager.java:742)
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) 
In fact, NullPointerException is throwned because com.ibm.team.filesystem.client.internal.load.MergeLoadMutator#getExistingShareable method use param ICopyFileArea even if it's null (i.e., without any assertion).
We are on RTC v2.0.0.2 iFix6.

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.