Negative position error from running SVN2RTC import
While using RTC 2.0 trying to import a giant svn dumpfile of 52GB, got a Negative Position error while the importer processing the dumpfile to create a change set archive below. Please can anyone help figure out what is going on?
!ENTRY org.eclipse.core.jobs 4 2 2009-12-21 19:39:37.237
!MESSAGE An internal error occurred during: "Import from SVN".
!STACK 0
java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:674)
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.writeFully(FileChannelUtil.java:105)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.writeFully(BTreeHeap.java:181)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.allocateAt(BTreeHeap.java:198)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.doAllocate(BTreeHeap.java:163)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.allocate(BTreeHeap.java:119)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree$DiskTree.writeObject(SVNRepositoryTree.java:57)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap$Entry.setValue(DiskBackedHashMap.java:974)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap$CachedEntry.flush(CachedDiskBackedHashMap.java:390)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushEntry(CachedDiskBackedHashMap.java:197)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.removeEntry(CachedDiskBackedHashMap.java:190)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.commitLRU(CachedDiskBackedHashMap.java:161)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.addToCache(CachedDiskBackedHashMap.java:101)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.getEntry(CachedDiskBackedHashMap.java:116)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.get(DiskBackedHashMap.java:155)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.getFolder(SVNRepositoryTree.java:107)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.updateForNode(SVNRepositoryTree.java:180)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryStructure.update(SVNRepositoryStructure.java:90)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.handleRevision(SVNDump2ArchiverConverter.java:209)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.processCurrentRevision(SVNDumpProcessor.java:144)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.handleProperties(SVNDumpProcessor.java:186)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.readNode(SVNDumpProcessor.java:100)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:80)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:57)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.createArchive(SVNDump2ArchiverConverter.java:86)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpFileImporter.createChangeSetArchive(SVNDumpFileImporter.java:55)
at com.ibm.team.scm.client.importz.internal.CreateArchiveOperation.run(CreateArchiveOperation.java:32)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.createArchive(ImportOperation.java:156)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.filesystemRun(ImportOperation.java:119)
at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(FileSystemUIOperation.java:43)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:42)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:205)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:62)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY com.ibm.team.internal.repository.rcp.util.FileChannelUtil 2 900 2009-12-21 19:39:45.018
!MESSAGE Channel unexpectedly closed, suspect being interrupted
!STACK 0
java.lang.Throwable
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.ensureOpen(FileChannelUtil.java:53)
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.readFully(FileChannelUtil.java:64)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.readFully(BTreeHeap.java:185)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.doFree(BTreeHeap.java:296)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.free(BTreeHeap.java:283)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.freeObject(DiskBackedHashMap.java:406)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap$Entry.setValue(DiskBackedHashMap.java:972)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap$CachedEntry.flush(CachedDiskBackedHashMap.java:390)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushEntry(CachedDiskBackedHashMap.java:197)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushCache(CachedDiskBackedHashMap.java:166)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.persist(PersistentDiskBackedHashMap.java:145)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.close(PersistentDiskBackedHashMap.java:139)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.finalize(PersistentDiskBackedHashMap.java:171)
at java.lang.J9VMInternals.runFinalize(J9VMInternals.java:408)
!ENTRY org.eclipse.core.jobs 4 2 2009-12-21 19:39:37.237
!MESSAGE An internal error occurred during: "Import from SVN".
!STACK 0
java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:674)
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.writeFully(FileChannelUtil.java:105)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.writeFully(BTreeHeap.java:181)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.allocateAt(BTreeHeap.java:198)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.doAllocate(BTreeHeap.java:163)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.allocate(BTreeHeap.java:119)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree$DiskTree.writeObject(SVNRepositoryTree.java:57)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap$Entry.setValue(DiskBackedHashMap.java:974)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap$CachedEntry.flush(CachedDiskBackedHashMap.java:390)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushEntry(CachedDiskBackedHashMap.java:197)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.removeEntry(CachedDiskBackedHashMap.java:190)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.commitLRU(CachedDiskBackedHashMap.java:161)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.addToCache(CachedDiskBackedHashMap.java:101)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.getEntry(CachedDiskBackedHashMap.java:116)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.get(DiskBackedHashMap.java:155)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.getFolder(SVNRepositoryTree.java:107)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.addFolder(SVNRepositoryTree.java:217)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryTree.updateForNode(SVNRepositoryTree.java:180)
at com.ibm.team.scm.client.importz.svn.internal.SVNRepositoryStructure.update(SVNRepositoryStructure.java:90)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.handleRevision(SVNDump2ArchiverConverter.java:209)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.processCurrentRevision(SVNDumpProcessor.java:144)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.handleProperties(SVNDumpProcessor.java:186)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.readNode(SVNDumpProcessor.java:100)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:80)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:57)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.createArchive(SVNDump2ArchiverConverter.java:86)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpFileImporter.createChangeSetArchive(SVNDumpFileImporter.java:55)
at com.ibm.team.scm.client.importz.internal.CreateArchiveOperation.run(CreateArchiveOperation.java:32)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.createArchive(ImportOperation.java:156)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.filesystemRun(ImportOperation.java:119)
at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(FileSystemUIOperation.java:43)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:42)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:205)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:62)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY com.ibm.team.internal.repository.rcp.util.FileChannelUtil 2 900 2009-12-21 19:39:45.018
!MESSAGE Channel unexpectedly closed, suspect being interrupted
!STACK 0
java.lang.Throwable
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.ensureOpen(FileChannelUtil.java:53)
at com.ibm.team.internal.repository.rcp.util.FileChannelUtil.readFully(FileChannelUtil.java:64)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.readFully(BTreeHeap.java:185)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.doFree(BTreeHeap.java:296)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.free(BTreeHeap.java:283)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.freeObject(DiskBackedHashMap.java:406)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap$Entry.setValue(DiskBackedHashMap.java:972)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap$CachedEntry.flush(CachedDiskBackedHashMap.java:390)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushEntry(CachedDiskBackedHashMap.java:197)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap.flushCache(CachedDiskBackedHashMap.java:166)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.persist(PersistentDiskBackedHashMap.java:145)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.close(PersistentDiskBackedHashMap.java:139)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.finalize(PersistentDiskBackedHashMap.java:171)
at java.lang.J9VMInternals.runFinalize(J9VMInternals.java:408)
3 answers
Seems to be a bug. Could you report it on https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.newWorkItem&ts=12614758610000
including product version an OS?
Thanks. I reproduced it using the RTC 2.0.0.2 client.
Is there a way to get around this as I can't move forward with our SVN2RTC migration?
Will Jazz importer process a full dumpfile created for a specific range of revisions? Or it has to be a full dumpfile for the whole revision range?