Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

error when loading local workspace to Samba drive

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

0 votes



3 answers

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

0 votes


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

0 votes


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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 29 '12, 8:50 a.m.

Question was seen: 5,235 times

Last updated: Sep 19 '14, 6:02 a.m.

Confirmation Cancel Confirm