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

RTC SVN Import Fails Due to Missing Encoding

I am attempting to import an SVN dump file into Rational Team Concert using the RTC process described here:

I get an error on a particular commit that fails the import and results in a stack dump like this:

I've tried changing the encoding on the import in many ways. I've also tried importing up to 1 changeset before the failing one and then trying to import the failing one with multiple encodings, nothing works. If I strip out this changeset and skip it the import will fail a few hundred commits later. Looking at the commit that fails, nothing special is done, only editing a dozen lines in a few source code files in the baseline. Any thoughts?

com.ibm.team.repository.common.TeamRepositoryException: An internal error occurred importing change set 'Revision 10691: (5/13/14 3:42 PM) '

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:357)

                at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.doImport(ImportArchiveOperation.java:97)

                at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.run(ImportArchiveOperation.java:68)

                at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.performImport(ImportArchiveOperation.java:153)

                at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.importIntoWorkspace(ImportOperation.java:186)

                at com.ibm.team.scm.client.importz.svn.internal.ui.SVNDumpFileImportOperation.importIntoWorkspace(SVNDumpFileImportOperation.java:135)

                at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.repositoryRun(ImportOperation.java:123)

                at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:43)

                at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:240)

                at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:63)

                at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: java.lang.IllegalArgumentException: encoding must be supplied

                at com.ibm.team.filesystem.common.util.LineDelimiterUtil.getNonVerifyingLineDelimiterConverter(LineDelimiterUtil.java:41)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter$4.getInputStream(ChangeSetArchiveImporter.java:1048)

                at com.ibm.team.scm.client.content.BasicVersionedContentManager.storeContent(BasicVersionedContentManager.java:303)

                at com.ibm.team.filesystem.client.internal.content.FileContentManager.storeContent(FileContentManager.java:306)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.setContents(ChangeSetArchiveImporter.java:1169)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.setContents(ChangeSetArchiveImporter.java:1066)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.performModification(ChangeSetArchiveImporter.java:1206)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.collectChange(ChangeSetArchiveImporter.java:664)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.collectChanges(ChangeSetArchiveImporter.java:601)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.commitChanges(ChangeSetArchiveImporter.java:586)

                at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:334)

                ... 10 more


0 votes



One answer

Permanent link
After working through the PMR process with IBM it was determined that there is a bug in the newer 5.x Eclipse client. This is a client side error. To solve the problem I had to go back to the Eclipse 4.0.4 client IDE. This version of the IDE was able to connect to RTC 5.0.1 and the import completed successfully. The PMR will likely be turned into a bug to be fixed in a future release.

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
× 1,202
× 173

Question asked: Dec 18 '14, 11:03 a.m.

Question was seen: 4,434 times

Last updated: Jan 13 '15, 8:31 a.m.

Confirmation Cancel Confirm