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:
Does anybody seen this error before?
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?
Accepted answer
We got the same exception:
java.lang.IllegalStateException: More than 1 metadata storage manager registered for storage type com.ibm.team.filesystem.hfswhen 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.