org.kohsuke.github.GHException: Failed to update post-commit hooks

Jenkins JIRA | Julien Carsique | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The GitHub plugin fails to add a webhook on a repository owned by someone else whereas it has rights to do so. The repository is owned by our enterprise (GitHub "organization"). The configured jenkins user is member of the "owners". So it has rights to edit hooks but the plugin fails when checking the owner. Jul 20, 2011 2:54:36 PM com.cloudbees.jenkins.GitHubPushTrigger$1 run WARNING: Failed to add GitHub webhook for GitHubRepository[username=nuxeo,repository=nuxeo-distribution-izpack] org.kohsuke.github.GHException: Failed to update post-commit hooks at org.kohsuke.github.GHRepository$1.add(GHRepository.java:229) at org.kohsuke.github.GHRepository$1.add(GHRepository.java:179) at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:128) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Operation not applicable to a repository owned by someone else: nuxeo at org.kohsuke.github.GHRepository.verifyMine(GHRepository.java:165) at org.kohsuke.github.GHRepository.access$000(GHRepository.java:49) at org.kohsuke.github.GHRepository$1.add(GHRepository.java:213) ... 9 more PS: the github component is missing in Jira.

    Jenkins JIRA | 6 years ago | Julien Carsique
    org.kohsuke.github.GHException: Failed to update post-commit hooks
  2. 0

    The GitHub plugin fails to add a webhook on a repository owned by someone else whereas it has rights to do so. The repository is owned by our enterprise (GitHub "organization"). The configured jenkins user is member of the "owners". So it has rights to edit hooks but the plugin fails when checking the owner. Jul 20, 2011 2:54:36 PM com.cloudbees.jenkins.GitHubPushTrigger$1 run WARNING: Failed to add GitHub webhook for GitHubRepository[username=nuxeo,repository=nuxeo-distribution-izpack] org.kohsuke.github.GHException: Failed to update post-commit hooks at org.kohsuke.github.GHRepository$1.add(GHRepository.java:229) at org.kohsuke.github.GHRepository$1.add(GHRepository.java:179) at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:128) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Operation not applicable to a repository owned by someone else: nuxeo at org.kohsuke.github.GHRepository.verifyMine(GHRepository.java:165) at org.kohsuke.github.GHRepository.access$000(GHRepository.java:49) at org.kohsuke.github.GHRepository$1.add(GHRepository.java:213) ... 9 more PS: the github component is missing in Jira.

    Jenkins JIRA | 6 years ago | Julien Carsique
    org.kohsuke.github.GHException: Failed to update post-commit hooks
  3. 0

    ADB Connection Error

    Stack Overflow | 4 years ago | Raveesh Lawrance
    java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395) at com.android.ddmlib.Device.executeShellCommand(Device.java:462) at com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 9 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:461) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:180) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)
  6. 0

    java.lang.IllegalArgumentException: URI scheme is not "file"

    java-forums.org | 9 months ago
    java.io.IOException: Server returned HTTP response code: 403 for URL: at sun.net. at slideshowapplet.SlideshowApplet.doListofImagefiles (SlideshowApplet.java:484) at slideshowapplet.SlideshowApplet.init(SlideshowAppl et.java:182) at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Plugin2Manager.java:1658)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Operation not applicable to a repository owned by someone else: nuxeo

      at org.kohsuke.github.GHRepository.verifyMine()
    2. org.kohsuke.github
      GHRepository$1.add
      1. org.kohsuke.github.GHRepository.verifyMine(GHRepository.java:165)
      2. org.kohsuke.github.GHRepository.access$000(GHRepository.java:49)
      3. org.kohsuke.github.GHRepository$1.add(GHRepository.java:213)
      4. org.kohsuke.github.GHRepository$1.add(GHRepository.java:179)
      4 frames
    3. com.cloudbees.jenkins
      GitHubPushTrigger$1.run
      1. com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:128)
      1 frame
    4. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames