Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57430

Getting issue when using github

XMLWordPrintable

      Getting the next error when scanning an organization:

      java.lang.IllegalArgumentException: No enum constant org.kohsuke.github.GHEvent.CHECK_RUN
       at java.lang.Enum.valueOf(Enum.java:238)
       at org.kohsuke.github.GHHook.getEvents(GHHook.java:32)
       at org.jenkinsci.plugins.github.webhook.WebhookManager$7.applyNullSafe(WebhookManager.java:284)
       at org.jenkinsci.plugins.github.webhook.WebhookManager$7.applyNullSafe(WebhookManager.java:281)
       at org.jenkinsci.plugins.github.util.misc.NullSafeFunction.apply(NullSafeFunction.java:18)
       at com.google.common.collect.Iterators$8.next(Iterators.java:812)
       at com.google.common.collect.Iterables$3.next(Iterables.java:508)
       at com.google.common.collect.Iterables$3.next(Iterables.java:501)
       at com.google.common.collect.Iterators$5.hasNext(Iterators.java:544)
       at com.google.common.collect.Lists.newArrayList(Lists.java:138)
       at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:286)
       at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:271)
       at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toSet(FluentIterableWrapper.java:155)
       at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:191)
       at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:175)
       at org.jenkinsci.plugins.github.util.misc.NullSafeFunction.apply(NullSafeFunction.java:18)
       at com.google.common.collect.Iterators$8.next(Iterators.java:812)
       at com.google.common.collect.Iterators$7.computeNext(Iterators.java:648)
       at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
       at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
       at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
       at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
       at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
       at com.google.common.collect.Lists.newArrayList(Lists.java:138)
       at com.google.common.collect.Lists.newArrayList(Lists.java:119)
       at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toList(FluentIterableWrapper.java:147)
       at org.jenkinsci.plugins.github.webhook.WebhookManager$1.run(WebhookManager.java:127)
       at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
       at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
       at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
      

      Also this doesn't allow to build Pull Requests automatically. This is happening on the most recent version of Jenkins - 2.164.3, github plugin version 1.29.4, github-branch-source plugin version 2.5.2

            ataylor Alex Taylor
            alphaomega Valerian Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: