It's all about the answers!

Ask a question

teamAccept ant task in M3a throws an exception


Ashish Mathur (12176) | asked Dec 12 '07, 11:07 a.m.
JAZZ DEVELOPER
My jazz server is M3a based and so is my linux based build engine. I have a bootstrap.xml file which I run first to download the build artifacts from the repository. The teamAccept task in the bootstrap.xml throes an exception:

com.ibm.team.repository.common.TeamRepositoryException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'stateExtensions' not found. (, 14, 234)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:865)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:424)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:195)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy0.describe(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)


Creating a new repository workspace or a whole new build definition file from scratch did not help fix this. Any help is greatly appreciated.

Regards,
Ashish

2 answers



permanent link
Ryan Manwiller (1.3k1) | answered Dec 12 '07, 2:08 p.m.
JAZZ DEVELOPER
This is a classic symptom of a version mismatch between the buildtoolkit and
the jazz server.

I confirmed with Ashish that indeed the build definition was using -lib to
point to the wrong version of the buildtoolkit.

permanent link
Ashish Mathur (12176) | answered Dec 12 '07, 8:56 p.m.
JAZZ DEVELOPER
Thanks Ryan. My bad. Although my client/server are M3a based, my target that I need to build against is M4. While I had checked all paths to point to M3a, I missed the one for -lib that was pointing to the M4 buildtoolkit (within my new target).

Thanks for you help.

Ashish

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.