Hi,
- SCM-Server version: 2.32.2 (Verified the error on 2.32.1 as well)
- Plugin
Issue:
- A new SVN repository is configured to MIRROR from a server
- Mirroring failed with below error:
LOGS:
ScreenShot:
Error: Not found
The requested entity could not be found. It may have been deleted in another session.
Context
- Revision: 462
- Repository: svn/TRIM
Transaction ID 8zT2TXoZE7Y
Error Code AGR7UzkhA1
-
Interestingly, SCM-Manager interface doesn’t allow to see anything under the REPOSITORY interface
-
SCM-Manager Logs:
2022-04-09 08:55:25.324 [ScmEventBus-1-0] [ ] WARN sonia.scm.authormapping.MappingPreProcessor - person object has no name
2022-04-09 08:55:25.327 [ScmEventBus-1-0] [ ] ERROR com.github.legman.EventBus - ScmEventBus-1 - could not dispatch event: RepositoryHookEvent{repository=svn/TRIM (FgT2TSyvO7), type=POST_RECEIVE} to handler SynchronizedEventHandler{null, public void sonia.scm.jenkins.JenkinsHook.onEvent(sonia.scm.repository.PostReceiveRepositoryHookEvent), true}
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.github.legman.InvocationContext.invoke(InvocationContext.java:108)
at com.github.legman.InvocationContext.proceed(InvocationContext.java:101)
at com.github.legman.micrometer.MicrometerInvocationInterceptor.invoke(MicrometerInvocationInterceptor.java:47)
at com.github.legman.InvocationContext.proceed(InvocationContext.java:99)
at com.github.legman.EventHandler.handleEvent(EventHandler.java:103)
at com.github.legman.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:52)
at com.github.legman.EventBus.dispatchSynchronous(EventBus.java:452)
at com.github.legman.EventBus.lambda$dispatch$1(EventBus.java:444)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException: null
at sonia.scm.util.HttpUtil.getUriWithoutEndSeperator(HttpUtil.java:810)
at sonia.scm.jenkins.JenkinsSvnGlobalHookHandler.createUrl(JenkinsSvnGlobalHookHandler.java:133)
at sonia.scm.jenkins.JenkinsSvnGlobalHookHandler.sendRequest(JenkinsSvnGlobalHookHandler.java:70)
at sonia.scm.jenkins.JenkinsHook.onEvent(JenkinsHook.java:129)
... 16 common frames omitted
2022-04-09 08:55:25.330 [ScmEventBus-1-0] [ ] WARN com.jb.pushevent.PushEventSubscriber - Event was not propagated as the event propagation is turned off. If you want to propagate events go to the settings of this plugin and mark it as active.
2022-04-09 08:55:25.332 [ScmEventBus-1-0] [ ] ERROR sonia.scm.repository.spi.SvnPostReceiveHookChangesetProvier - could not open repository
org.tmatesoft.svn.core.SVNException: svn: E160006: No such revision 172
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.getRevisionPropertiesFile(FSFS.java:1281)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.readRevisionProperties(FSFS.java:758)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.getRevisionProperties(FSFS.java:744)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.fillLogEntry(FSLog.java:347)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.sendLog(FSLog.java:290)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.runLog(FSLog.java:162)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.logImpl(FSRepository.java:383)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1041)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:946)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:870)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1418)
at sonia.scm.repository.spi.SvnPostReceiveHookChangesetProvier.fetchChangeset(SvnPostReceiveHookChangesetProvier.java:110)
at sonia.scm.repository.spi.AbstractSvnHookChangesetProvider.handleRequest(AbstractSvnHookChangesetProvider.java:79)
at sonia.scm.repository.api.HookChangesetBuilder.getChangesets(HookChangesetBuilder.java:112)
at sonia.scm.notify.NotifyRepositoryHook.handleEvent(NotifyRepositoryHook.java:87)
at sonia.scm.notify.NotifyRepositoryHook.onEvent(NotifyRepositoryHook.java:76)
at jdk.internal.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.github.legman.InvocationContext.invoke(InvocationContext.java:108)
at com.github.legman.InvocationContext.proceed(InvocationContext.java:101)
at com.github.legman.micrometer.MicrometerInvocationInterceptor.invoke(MicrometerInvocationInterceptor.java:47)
at com.github.legman.InvocationContext.proceed(InvocationContext.java:99)
at com.github.legman.EventHandler.handleEvent(EventHandler.java:103)
at com.github.legman.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:52)
at com.github.legman.EventBus.dispatchSynchronous(EventBus.java:452)
at com.github.legman.EventBus.lambda$dispatch$1(EventBus.java:444)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-04-09 08:55:25.338 [ScmEventBus-1-0] [ ] INFO sonia.scm.repository.LastModifiedUpdateListener - update last modified date of repository FgT2TSyvO7
2022-04-09 08:55:25.338 [ScmEventBus-1-0] [ ] INFO sonia.scm.repository.DefaultRepositoryManager - modify repository svn/TRIM (FgT2TSyvO7) of type svn
2022-04-09 08:55:25.346 [CentralWorkQueue-0] [ ] ERROR sonia.scm.work.UnitOfWork - task sonia.scm.search.LuceneSimpleIndexTask@22182357 failed after 9.399 ms
sonia.scm.repository.InternalRepositoryException: could not open repository
at sonia.scm.repository.spi.SvnLogCommand.getChangesets(SvnLogCommand.java:109)
at sonia.scm.repository.api.LogCommandBuilder.getChangesets(LogCommandBuilder.java:231)
at com.cloudogu.scm.search.LatestRevisionResolver.resolve(LatestRevisionResolver.java:58)
at com.cloudogu.scm.search.IndexSyncWorker.ensureIndexIsUpToDate(IndexSyncWorker.java:77)
at com.cloudogu.scm.search.IndexSyncWorker.ensureIndexIsUpToDate(IndexSyncWorker.java:68)
at com.cloudogu.scm.search.IndexSyncer.ensureIndexIsUpToDate(IndexSyncer.java:79)
at com.cloudogu.scm.search.IndexSyncer.ensureIndexIsUpToDate(IndexSyncer.java:59)
at com.cloudogu.scm.search.IndexerTask.update(IndexerTask.java:57)
at sonia.scm.search.LuceneIndexTask.run(LuceneIndexTask.java:68)
at sonia.scm.work.UnitOfWork.run(UnitOfWork.java:120)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.tmatesoft.svn.core.SVNException: svn: E160006: No such revision 177
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.getRevisionPropertiesFile(FSFS.java:1281)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.readRevisionProperties(FSFS.java:758)
at org.tmatesoft.svn.core.internal.io.fs.FSFS.getRevisionProperties(FSFS.java:744)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.fillLogEntry(FSLog.java:347)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.sendLog(FSLog.java:290)
at org.tmatesoft.svn.core.internal.io.fs.FSLog.runLog(FSLog.java:162)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.logImpl(FSRepository.java:383)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1041)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:946)
at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:870)
at sonia.scm.repository.spi.SvnLogCommand.getChangesets(SvnLogCommand.java:126)
at sonia.scm.repository.spi.SvnLogCommand.getChangesets(SvnLogCommand.java:106)