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

ISandbox.allShare() exception

Hi,
I'm having an exception using ISandbox.allShares() on linux (the operation is performed by buildengine) which I don't have on windows:

[Versioning] java.lang.IllegalStateException: More than 1 metadata storage manager registered for storage type com.ibm.team.filesystem.hfs

[Versioning] at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaManager.getMetadataFactory(CopyFileAreaManager.java:85)
[Versioning] at com.ibm.team.filesystem.client.internal.copyfileareas.CopyFileAreaManager.copyFileAreaExists(CopyFileAreaManager.java:140)
[Versioning] at com.ibm.team.filesystem.client.internal.SharingManager.allShares(SharingManager.java:223)
[Versioning] at com.ibm.team.filesystem.client.internal.Sandbox.allShares(Sandbox.java:60)
[Versioning] at it.nexen.antVersioning.Versioning.CheckIn(Versioning.java:232)
[Versioning] at it.nexen.antVersioning.Versioning.execute(Versioning.java:168)
[Versioning] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[Versioning] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
[Versioning] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[Versioning] at java.lang.reflect.Method.invoke(Method.java:611)
[Versioning] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[Versioning] at org.apache.tools.ant.Task.perform(Task.java:348)
[Versioning] at org.apache.tools.ant.Target.execute(Target.java:357)
[Versioning] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[Versioning] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[Versioning] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[Versioning] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[Versioning] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[Versioning] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[Versioning] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[Versioning] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[Versioning] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


Does anybody seen this error before?

1

0 votes


Accepted answer

Permanent link
 We got the same exception:
java.lang.IllegalStateException: More than 1 metadata storage manager registered for storage type com.ibm.team.filesystem.hfs
	
when the Eclipse project's build classpath had a dupe reference to the library "com.ibm.team.filesystem.client_3.2.101.v20140505_2247.jar" (e.g., from Build Engine Libraries and Plain Java Client Libraries). It appears we could reference only one of these JARs at once.
Cheers.
Michele Pegoraro selected this answer as the correct answer

1 vote

Comments

 Yes, is correct. The error happens when we use plain api and toolbox on the same build definition.


One other answer

Permanent link
Any news on this exception?

Thanks,
Michele.

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
× 10,936

Question asked: Aug 26 '11, 4:48 a.m.

Question was seen: 5,368 times

Last updated: Apr 10 '15, 11:46 a.m.

Confirmation Cancel Confirm