SVN import failing
Hi I'm trying to import our SVN repository into RTC but run into an exception:
java.lang.NullPointerException Any idea of what the problem might be? |
5 answers
Mikael,
Is this failure reproducable? It is possible that you have hit an intermittent problem. Try the import again and see if it succeeds (you can start the import at the revision after that one that was successfully importer. You should be able to see what that is by doing a Show History on the workspace). If the failure is reproducable, you may have hit a bug in either SVNKit or the RTC SVN importer (i.e. it looks like the NPE is happening one a close within an open. Perhaps there is something about how you connect or authenticate against SVN that is causing a problem in SVNKit). If this is the case, please open a defect against Source Control in the Rational Team Concert project area of Jazz.net. If this continues to fail, you may want to extract a dump file from your repository and try importing that. This reduces the number of variables in the impot (i.e. no communications to the server is required during the import). Michael mikael.lonneberg wrote: Hi I'm trying to import our SVN repository into RTC but run into an |
Thanks for your quick response, I have not tried it again will try it later. The previous error was produced by using the repository browser way of importing. I then tried to export part of our repository just the 7000 first revisions and import that then I got this error:
com.ibm.team.repository.common.TeamRepositoryException: An I/O exception occurred creating the log file reader This error is reproducible, I have even tried to recreate the dump file. The dump file was created with the following command: svnadmin dump /var/lib/svn/ --revision 0:7000 > dump0-7000.dump |
Mikael,
We've seen this error before and have narrowed it down to a VM bug. What version of RTC are you using? You could check to see if the error occurs when using the Sun vm. You can change the VM used by RTC by editing the TeamConcert.ini or eclipse.ini depending on how you installed RTC) file in the same directory as the executable. Michael mikael.lonneberg wrote: Thanks for your quick response, I have not tried it again will try it |
The error went away when I switched to Sun VM.
We are using 1.0.1.1 /Mikael Mikael, Thanks for your quick response, I have not tried it again will try it |
Mikael,
That's good news. Try the import using the dump importer and post a follow up if you encounter any more problems. Michael mikael.lonneberg wrote: The error went away when I switched to Sun VM. |
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.