It's all about the answers!

Ask a question

CNFE: BadLocationException when delivering baseline

Patrick Leyman (3044) | asked Apr 26 '11, 10:52 a.m.

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());

- 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

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

2 answers

permanent link
Patrick Leyman (3044) | answered Apr 27 '11, 2:28 a.m.
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).


permanent link
John Scott (11) | answered Nov 13 '11, 11:49 a.m.
org.eclipse.jface.text.BadLocationException is contained in plugins/org.eclipse.text_3.5.0.v20090513-2000.jar

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.