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

CNFE: BadLocationException when delivering baseline

Hi,

We're using the Java API on RTC 3.0iFix1 to deliver a baseline to stream. On the interface IWorspaceConnection, we call the method deliver as follows:

wsConnection.deliver(stream, sync, Collections.singletonList(base), Collections.EMPTY_LIST, getMonitor());

Where
- stream is a IWorkspaceConnection (the stream where I want to deliver)
- sync is a IChangeHistorySyncReport (changes of this baseline vs. the old one)
- base is a IBaselineHandle

The method launches a CNFE for a class I cannot find in the buildtoolkit:
java.lang.NoClassDefFoundError: org/eclipse/jface/text/BadLocationException
at com.ibm.team.process.internal.common.util.AbstractProcess.getCustomizationModel(AbstractProcess.java:365)
at com.ibm.team.process.internal.common.util.AbstractProcess.getRoles(AbstractProcess.java:1463)
...
at com.ibm.team.scm.client.internal.WorkspaceConnection.deliver(WorkspaceConnection.java:1949)
at com.ibm.team.scm.client.internal.WorkspaceConnection.deliver(WorkspaceConnection.java:1739)
at eu.europa.ec.infso.maven.plugin.rtc.Accept.execute(Accept.java:126)
...

This code was functional in RTC 2.0.0.2iFix4, but seems broken since the upgrade. Please advise.
Patrick Leyman

1 vote



2 answers

Permanent link
Never mind, I found a jar containing the missing class. It's located in the buildengine, in the Eclipse plugins folder (not in the same folder where you find the other buildtoolkit jars).

regards,
Patrick

0 votes


Permanent link
org.eclipse.jface.text.BadLocationException is contained in plugins/org.eclipse.text_3.5.0.v20090513-2000.jar

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
× 11,079

Question asked: Apr 26 '11, 10:52 a.m.

Question was seen: 9,537 times

Last updated: Apr 26 '11, 10:52 a.m.

Confirmation Cancel Confirm