SVN import error
![]()
I imported the trunk ok. I then selected a baseline in the component for one of the branches and created a workspace. Then I imported the first branch into the same component I used for the trunk. RTC gave me message asking if this was a branch. Then I needed to import a branch which was created from the branch I just imported. There wasn't a "base of" baseline for the next branch. When I click finish to do the import I get a message saying the component's changeset ends with 293 do I want to continue after this? I click yes, the import starts and chugs along for a bit.
I'm using RTC 2.0.02 Fix 4. I noticed the revision 294 created the branch in svn. It appears to be caused by Folder.EntryConflictException - has multiple children with the name. The question is can I possibly skip revision 294? Thanks! This is the error: A server error occurred while importing change set Revision 294: (7/27/09 2:59 PM) branch 0.25 for 3.10 development eclipse.buildId=201006232051 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 Error Wed Feb 09 10:42:36 MST 2011 A server error occurred while importing change set Revision 294: (7/27/09 2:59 PM) branch 0.25 for 3.10 development com.ibm.team.repository.common.TeamRepositoryException: A server error occurred while importing change set Revision 294: (7/27/09 2:59 PM) branch 0.25 for 3.10 development at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:340) 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.internal.ui.ImportOperation.filesystemRun(ImportOperation.java:123) at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(FileSystemUIOperation.java:44) 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) Caused by: com.ibm.team.scm.common.FolderEntryConflictException: Parent '' has multiple children with the name 'vista_app.pj'. 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:31) at com.ibm.team.scm.service.internal.operations.FinalizeStateSelectionsOperation.checkForNameCollisions(FinalizeStateSelectionsOperation.java:311) 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:712) at com.ibm.team.scm.service.internal.operations.commit.CommitOperation.run(CommitOperation.java:275) at com.ibm.team.scm.service.internal.interop.ScmImportService$1.run(ScmImportService.java:139) at com.ibm.team.scm.service.internal.AbstractScmService$5.run(AbstractScmService.java:590) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292) at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:331) at sun.reflect.GeneratedMethodAccessor63.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy22.withCurrentConnection(null) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288) at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244) at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:79) at sun.reflect.GeneratedMethodAccessor76.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy44.runInTransaction(null) at com.ibm.team.scm.service.internal.AbstractScmService.runInTransaction(AbstractScmService.java:310) at com.ibm.team.scm.service.internal.AbstractScmService.runInTransaction(AbstractScmService.java:580) at com.ibm.team.scm.service.internal.interop.ScmImportService.doImport(ScmImportService.java:120) at com.ibm.team.scm.service.internal.interop.ScmImportService.importChangeSet(ScmImportService.java:105) at sun.reflect.GeneratedMethodAccessor927.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy1404.importChangeSet(null) at sun.reflect.GeneratedMethodAccessor927.invoke(null) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1170) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:926) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:728) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1773) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1642) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1555) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:811) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296) at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261) at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:613) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:483) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:201) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) at $Proxy36.importChangeSet(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:163) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:87) at $Proxy36.importChangeSet(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:164) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1211) at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79) at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1204) at com.ibm.team.scm.client.internal.ScmClientLibraryContext.callCancelableService(ScmClientLibraryContext.java:70) at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invokeCancelableService(ScmServiceInterfaceProxy.java:161) at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invoke(ScmServiceInterfaceProxy.java:91) at $Proxy36.importChangeSet(Unknown Source) at com.ibm.team.scm.client.internal.WorkspaceConnection.importChangeSet(WorkspaceConnection.java:3170) at com.ibm.team.scm.client.internal.WorkspaceConnection$2.importChangeSet(WorkspaceConnection.java:3091) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.commitChangesFromMap(ChangeSetArchiveImporter.java:867) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.commitChanges(ChangeSetArchiveImporter.java:582) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:329) ... 10 more |
13 answers
![]()
That is unlikely. The error you posted does not contain the actual error message (i.e. it doesn't indicate what exception was thrown). Perhaps you could look in the error log view (or the log file) to see what errors are present there.
|
![]() That error doesn't look related to an import failure (although it could be a side effect of one). Was there any other errors in the log? Unfortunately I didn't get any other messages. Could this be the result of running a 2.0.0.2 iFix 6 client and a 2.0.0.2 iFix 4 server? |
![]()
That error doesn't look related to an import failure (although it could be a side effect of one). Was there any other errors in the log?
|
![]()
Well I've updated the client through the ibm install manager. I had to first update the install manager cause mine was 1.3.2. Then I asked it to updated to 2.0.0.2 iFix6. I noticed the about box still only says 2.0.0.2, I assume that is ok. I do have the reconcile branch/tags option checked in the import wizard.
I tried to import that branch again and got a different error this time. Stack trace: 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: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) Session data; eclipse.buildId=unknown java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20091104 (JIT enabled) J9VM - 20091103_45935_lHdSMr JIT - 20091016_1845_r8 GC - 20091026_AA BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.ibm.team.concert.product Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.team.concert.product |
![]()
Jeff,
It's not the server version that matters in this case, it's the version of the RTC Eclipse client. You should be able to download the latest 2.0.0.2 client from jazz.net and try it out without upgrading your server. |
![]() What version of RTC are you using? This looks like the issue reported in https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/100198 but that was fixed in RTC 2.0.0.2. Are you using the latest 2.0.0.2 iFix 6? If not, please try the import using that client. According to the jazz server we are running 2.0.0.2 iFix 4. I thought we were running the latest v2 but I guess not. I'll work on updating RTC and try the import again. Thanks for the help! jeff |
![]()
What version of RTC are you using? This looks like the issue reported in https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/100198 but that was fixed in RTC 2.0.0.2. Are you using the latest 2.0.0.2 iFix 6? If not, please try the import using that client.
|
![]() Can you post the stack trace. The error message may be the same as before but the trace may be different and help indicate what the issue is. Here it is: com.ibm.team.repository.common.TeamRepositoryException: An internal error occurred importing change set 'Revision 427: (1/6/10 8:58 AM) - branch for Project 3.20 (Domestic only release)' at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:352) at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.doImport(ImportArchiveOperation.java:128) at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.run(ImportArchiveOperation.java:76) at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.performImport(ImportArchiveOperation.java:201) at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.importIntoWorkspace(ImportOperation.java:186) at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.filesystemRun(ImportOperation.java:116) 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) Caused by: java.lang.NullPointerException at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.contentDiffers(ChangeSetArchiveImporter.java:742) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.reconcileAdditionWithExisting(ChangeSetArchiveImporter.java:693) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.collectChange(ChangeSetArchiveImporter.java:638) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.collectChanges(ChangeSetArchiveImporter.java:596) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.commitChanges(ChangeSetArchiveImporter.java:581) at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:329) ... 10 more Session data: eclipse.buildId=unknown java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20090422 (JIT enabled) J9VM - 20090421_34076_lHdSMr JIT - 20081112_1511ifx6_r8 GC - 200811_07 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product com.ibm.team.concert.product Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.team.concert.product I couldn't find an answer to this but couldn't I just import this branch code into its own component. Then if need be can I merge code between components? I'm trying to import into the one component I'm using right now, which is in its own stream. |
![]() Can you post the stack trace. The error message may be the same as before but the trace may be different and help indicate what the issue is. That would be good. Coz I guess it's really hard to trace the error. Because this kind of issue you would probably losing your mind and it's complicated.^_^ |
![]()
Can you post the stack trace. The error message may be the same as before but the trace may be different and help indicate what the issue is.
|