Exception: could not collect change sets

Issue #634 resolved
DirkF
created an issue

When deleting a branch with scm-jira-plugin activated the following exception occurs:

2014-11-04 09:17:29.211 [EventBus-11] ERROR sonia.scm.repository.GitHookChangesetCollector - could not collect changesets
org.eclipse.jgit.errors.MissingObjectException: Missing unknown 0000000000000000000000000000000000000000
        at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:148) ~[org.eclipse.jgit-3.4.0.201406110918-r.jar:3.4.0.$
        at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:229) ~[org.eclipse.jgit-3.4.0.201406110918-r.jar:3.4.0.201406110918-r]
        at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:839) ~[org.eclipse.jgit-3.4.0.201406110918-r.jar:3.4.0.201406110918-r]
        at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:752) ~[org.eclipse.jgit-3.4.0.201406110918-r.jar:3.4.0.201406110918-r]
        at sonia.scm.repository.GitHookChangesetCollector.collectChangesets(GitHookChangesetCollector.java:135) ~[scm-git-plugin-1.40.jar:na]
        at sonia.scm.repository.spi.GitHookChangesetProvider.handleRequest(GitHookChangesetProvider.java:85) [scm-git-plugin-1.40.jar:na]
        at sonia.scm.repository.api.HookChangesetBuilder.getChangesets(HookChangesetBuilder.java:118) [scm-core-1.40.jar:na]
        at sonia.scm.jira.JiraIssuePostReceiveHook.getChangesetsFromEvent(JiraIssuePostReceiveHook.java:200) [scm-jira-plugin-1.13.jar:na]
        at sonia.scm.jira.JiraIssuePostReceiveHook.handleIssueEvent(JiraIssuePostReceiveHook.java:147) [scm-jira-plugin-1.13.jar:na]
        at sonia.scm.jira.JiraIssuePostReceiveHook.onEvent(JiraIssuePostReceiveHook.java:117) [scm-jira-plugin-1.13.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_60]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_60]
        at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:na]
        at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:na]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:na]
        at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34) [guava-15.0.jar:na]
        at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:100) [guava-15.0.jar:na]
        at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) [shiro-core-1.2.3.jar:1.2.3]
        at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) [shiro-core-1.2.3.jar:1.2.3]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]

Comments (5)

  1. Log in to comment