RTC SVN import failed with error msg "Parent has multiple children with the name '.jazzignore'."
Hi,
Trying to import source code from a SVN dump using the RTC SVN importer. The task failed with the message below -
!MESSAGE An error occurred importing 'Revision 75551: [xdbuild@us.ibm.com] (7/18/12 1:43 PM) bug 26872: create release 1.3.0 from release 1.2.0 r75525': Parent has multiple children with the name '.jazzignore'.
The SVN revision 75551 copied a old release to a new release. There are three .jazzignore files, but are located in the different path.
Please help.
Also, here is the partial stack trace when the task failing -
STACK 0
com.ibm.team.repository.common.TeamRepositoryException: An error occurred importing 'Revision 75551: [xdbuild@us.ibm.com] (7/18/12 1:43 PM) bug 26872: create release 1.3.0 from release 1.2.0 r75525': Parent has multiple children with the name '.jazzignore'.
at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:343)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.doImport(ImportArchiveOperation.java:132)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.run(ImportArchiveOperation.java:80)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.performImport(ImportArchiveOperation.java:227)
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:116)
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: com.ibm.team.scm.common.FolderEntryConflictException: Parent has multiple children with the name '.jazzignore'.
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation$2.createException(FinalizeStateSelectionsOperation.java:136)
at com.ibm.team.scm.service.internal.utils.IExceptionFactory$AbstractExceptionFactory.createException(IExceptionFactory.java:35)
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation.checkForNameCollisions(FinalizeStateSelectionsOperation.java:316)
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation.run(FinalizeStateSelectionsOperation.java:195)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.processStateSelections(CommitOperation.java:704)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.run(CommitOperation.java:267)
at com.ibm.team.scm.service.internal.interop.ScmImportService$1.run(ScmImportService.java:139)
at com.ibm.team.scm.service.internal.AbstractScmService$3.run(AbstractScmService.java:574)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:458)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:285)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:379)
James
Trying to import source code from a SVN dump using the RTC SVN importer. The task failed with the message below -
!MESSAGE An error occurred importing 'Revision 75551: [xdbuild@us.ibm.com] (7/18/12 1:43 PM) bug 26872: create release 1.3.0 from release 1.2.0 r75525': Parent has multiple children with the name '.jazzignore'.
The SVN revision 75551 copied a old release to a new release. There are three .jazzignore files, but are located in the different path.
Please help.
Also, here is the partial stack trace when the task failing -
STACK 0
com.ibm.team.repository.common.TeamRepositoryException: An error occurred importing 'Revision 75551: [xdbuild@us.ibm.com] (7/18/12 1:43 PM) bug 26872: create release 1.3.0 from release 1.2.0 r75525': Parent has multiple children with the name '.jazzignore'.
at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:343)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.doImport(ImportArchiveOperation.java:132)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.run(ImportArchiveOperation.java:80)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.performImport(ImportArchiveOperation.java:227)
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:116)
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: com.ibm.team.scm.common.FolderEntryConflictException: Parent has multiple children with the name '.jazzignore'.
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation$2.createException(FinalizeStateSelectionsOperation.java:136)
at com.ibm.team.scm.service.internal.utils.IExceptionFactory$AbstractExceptionFactory.createException(IExceptionFactory.java:35)
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation.checkForNameCollisions(FinalizeStateSelectionsOperation.java:316)
at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation.run(FinalizeStateSelectionsOperation.java:195)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.processStateSelections(CommitOperation.java:704)
at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.run(CommitOperation.java:267)
at com.ibm.team.scm.service.internal.interop.ScmImportService$1.run(ScmImportService.java:139)
at com.ibm.team.scm.service.internal.AbstractScmService$3.run(AbstractScmService.java:574)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:458)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:285)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:379)
James
4 answers
When you get a stack trace like this, it is likely a bug. Please file a defect against Source Control. Run the import once more with these debugging settings (https://jazz.net/library/article/650#Gathering_Debug_Information_When) and attach the revisions file to it (if filenames and change comments aren't confidential information). The file can be easily compressed if it's a little large.
Hi Tim,
Thanks for your response. Trying to set the trace options based on the article pointed from your note. However when I have the -consolelog option, I get the following error,
JVMJ9VM007E Command-line option unrecognised: -consolelog
Could not create the Java virtual machine.
When I just have the -debug option, here is the error that I get -
Exception in thread "main" java.lang.NoClassDefFoundError: .root.eclipse.debug.options
Caused by: java.lang.ClassNotFoundException: .root.eclipse.debug.options
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: /root/eclipse/debug.options. Program will exit.
Have something been changed since early version of the RTC client? I am using RTC 3.0.1.1, and java 1.6.
Thanks again for your help.
James
Thanks for your response. Trying to set the trace options based on the article pointed from your note. However when I have the -consolelog option, I get the following error,
JVMJ9VM007E Command-line option unrecognised: -consolelog
Could not create the Java virtual machine.
When I just have the -debug option, here is the error that I get -
Exception in thread "main" java.lang.NoClassDefFoundError: .root.eclipse.debug.options
Caused by: java.lang.ClassNotFoundException: .root.eclipse.debug.options
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: /root/eclipse/debug.options. Program will exit.
Have something been changed since early version of the RTC client? I am using RTC 3.0.1.1, and java 1.6.
Thanks again for your help.
James
Comments
I added the following statements at the end of eclipse.ini
-consolelog
-debug
/root/eclipse/debug.options
However, I decided to move these statement up, and, waw la, this fix the problem!
By the way, is there a way to redirect the console log to a file?
Also, the svn dump file that I am using is about 20G, and is confidential since it contains the source code of our product. Don't think I can pass the dump file.
-consolelog
-debug
/root/eclipse/debug.options
However, I decided to move these statement up, and, waw la, this fix the problem!
By the way, is there a way to redirect the console log to a file?
Also, the svn dump file that I am using is about 20G, and is confidential since it contains the source code of our product. Don't think I can pass the dump file.