It's all about the answers!

Ask a question

Error while importing from SVN


W Ye (26107) | asked Jul 21 '11, 1:21 p.m.
Hi

I was importing a repository from SVN and got an error which the error message does not have much useful information. The dump file is around 25G.

The error message is as below:
An internal error occurred during: "Import from SVN".
java.io.IOException: The system cannot find the path specified

Please advise and let me know if further debug information is needed.

Thanks,
Wei

3 answers



permanent link
Michael Valenta (3.7k3) | answered Jul 21 '11, 2:24 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
First of all, if you are not using the latest patches from https://jazz.net/wiki/bin/view/Main/SCMImport you should install the patch for the version of RTC you are using and try the import again.

If you still get the error, you should look in the error log view to see what the full stacktrace of the error is. Then you should open a work item on jazz.net and include the stack trace along with your RTC version, etc.

permanent link
W Ye (26107) | answered Jul 21 '11, 4:22 p.m.
I imported 2 dump files successfully from the same system (although still have problem with the trunk/branches from there), but seeing failure at the third one. This error occurs before getting the branch list.

As recommended, I downloaded the latest patch jar - com.ibm.team.scm.client.importz.svn_2.1.0.v20110308_0258.jar (the class files in the jar are with timestamp July 21 13:46

However, I still got error. I don't know what kind of path the system is looking for. Please advise.

Here is the stack
java.lang.IllegalStateException: java.io.IOException: The system cannot find the path specified
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionMemoryTree.getTree(SVNRevisionMemoryTree.java:142)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionMemoryTree.put(SVNRevisionMemoryTree.java:101)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionTree.putInMemory(SVNRevisionTree.java:318)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionTree.putNode(SVNRevisionTree.java:281)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionTree.internalAdd(SVNRevisionTree.java:468)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionTree.add(SVNRevisionTree.java:461)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionTree.updateForChange(SVNRevisionTree.java:383)
at com.ibm.team.scm.client.importz.svn.internal.SVNBranchValidator.handleRevision(SVNBranchValidator.java:70)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.processCurrentRevision(SVNDumpProcessor.java:145)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.handleProperties(SVNDumpProcessor.java:187)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.readNode(SVNDumpProcessor.java:101)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:81)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:58)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.calculateBranchAndTagBaselines(SVNDump2ArchiverConverter.java:155)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.endRead(SVNDump2ArchiverConverter.java:129)
at com.ibm.team.scm.client.importz.svn.internal.SVNDumpProcessor.read(SVNDumpProcessor.java:59)
at com.ibm.team.scm.client.importz.svn.internal.SVNDump2ArchiverConverter.createArchive(SVNDump2ArchiverConverter.java:87)
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.repositoryRun(ImportOperation.java:119)
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.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1792)
at com.ibm.team.scm.client.importz.internal.utils.DebugUtils.createTempFile(DebugUtils.java:48)
at com.ibm.team.scm.client.importz.svn.internal.SVNRevisionMemoryTree.getTree(SVNRevisionMemoryTree.java:130)
... 24 more


and session data:

eclipse.buildId=M20110210-1200
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

permanent link
W Ye (26107) | answered Jul 26 '11, 4:34 p.m.
Tried with 3.0.1, same error. As this is blocking our work, please investigate.

Also, just noticed that there were warning messages before and after the error. The warning message is

Channel unexpectedly closed, suspectbeing interrupted.

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.writeFully(FileChannelUtil.java:100)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap.writeFully(BTreeHeap.java:181)
at com.ibm.team.internal.repository.rcp.dbhm.BTreeHeap$FileHeapOutputStream.write(BTreeHeap.java:484)
at java.io.DataOutputStream.writeLong(DataOutputStream.java:235)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap.writeNextEntryOffset(DiskBackedHashMap.java:353)
at com.ibm.team.internal.repository.rcp.dbhm.DiskBackedHashMap$Entry.setNextEntryOffset(DiskBackedHashMap.java:1027)
at com.ibm.team.internal.repository.rcp.dbhm.CachedDiskBackedHashMap$CachedEntry.flush(CachedDiskBackedHashMap.java:383)
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:169)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.close(PersistentDiskBackedHashMap.java:144)
at com.ibm.team.internal.repository.rcp.dbhm.PersistentDiskBackedHashMap.finalize(PersistentDiskBackedHashMap.java:195)
at java.lang.J9VMInternals.runFinalize(J9VMInternals.java:408)

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.