hudson.plugins.git.GitException: java.io.IOException: Remote call on blah failed

Jenkins JIRA | Michael Lewis | 4 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

    We're using latest swarm plugin (1.10). We've seen this error in CentOS 6 and OS X on Java 1.7_45. After a while, when starting a build it will fail with the following error. If one restarts the slave, the build will work for a bit, but eventually the slave will just start failing on every subsequent build. {code} Started by user lewis Building remotely on blah in workspace /Users/build/.jenkins/workspace/blah [ssh-agent] Using credentials git [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Java/JNR ssh-agent [ssh-agent] Started. Cloning the remote Git repository Cloning repository git://blah/ios/blah.git git --version git version 1.8.4.2 ERROR: Failed to clean the workspace ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: java.io.IOException: Remote call on blah failed at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:130) at com.sun.proxy.$Proxy72.execute(Unknown Source) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:828) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1412) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1679) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on blah failed at hudson.remoting.Channel.call(Channel.java:723) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:144) ... 16 more Caused by: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/commons/codec/binary/Base64OutputStream.<init>(Ljava/io/OutputStream;Z)V @11: invokespecial Reason: Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec' Current Frame: bci: @11 flags: { flagThisUninit } locals: { uninitializedThis, 'java/io/OutputStream', integer } stack: { uninitializedThis, 'java/io/OutputStream', 'org/apache/commons/codec/binary/Base64', integer } Bytecode: 0000000: 2a2b bb00 0259 03b7 0003 1cb7 0004 b1 at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:180) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:158) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:276) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:151) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:144) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:744) {code}

    Jenkins JIRA | 4 years ago | Michael Lewis
    hudson.plugins.git.GitException: java.io.IOException: Remote call on blah failed
  2. 0

    We're using latest swarm plugin (1.10). We've seen this error in CentOS 6 and OS X on Java 1.7_45. After a while, when starting a build it will fail with the following error. If one restarts the slave, the build will work for a bit, but eventually the slave will just start failing on every subsequent build. {code} Started by user lewis Building remotely on blah in workspace /Users/build/.jenkins/workspace/blah [ssh-agent] Using credentials git [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Java/JNR ssh-agent [ssh-agent] Started. Cloning the remote Git repository Cloning repository git://blah/ios/blah.git git --version git version 1.8.4.2 ERROR: Failed to clean the workspace ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: java.io.IOException: Remote call on blah failed at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:130) at com.sun.proxy.$Proxy72.execute(Unknown Source) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:828) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1412) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1679) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on blah failed at hudson.remoting.Channel.call(Channel.java:723) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:144) ... 16 more Caused by: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/commons/codec/binary/Base64OutputStream.<init>(Ljava/io/OutputStream;Z)V @11: invokespecial Reason: Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec' Current Frame: bci: @11 flags: { flagThisUninit } locals: { uninitializedThis, 'java/io/OutputStream', integer } stack: { uninitializedThis, 'java/io/OutputStream', 'org/apache/commons/codec/binary/Base64', integer } Bytecode: 0000000: 2a2b bb00 0259 03b7 0003 1cb7 0004 b1 at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:180) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:158) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:276) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:151) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:144) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at hudson.remoting.Engine$1$1.run(Engine.java:63) at java.lang.Thread.run(Thread.java:744) {code}

    Jenkins JIRA | 4 years ago | Michael Lewis
    hudson.plugins.git.GitException: java.io.IOException: Remote call on blah failed
  3. 0

    Findbugs on Jenkins

    Stack Overflow | 2 years ago | Marcin Erbel
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/apache/commons/codec/binary/Base64OutputStream.<init>(Ljava/io/OutputStream;Z)V @11: invokespecial Reason: Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec' Current Frame: bci: @11 flags: { flagThisUninit } locals: { uninitializedThis, 'java/io/OutputStream', integer } stack: { uninitializedThis, 'java/io/OutputStream', 'org/apache/commons/codec/binary/Base64', integer } Bytecode: 0000000: 2a2b bb00 0259 03b7 0003 1cb7 0004 b1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 4254 - google-web-toolkit - Mail sample not working on JDK1.5 with GWT 2.0 - GWT - Google Project Hosting

    google.com | 2 years ago
    java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler, method: <init> signature: ()V) Illegal constant pool index at com.google.gwt.dom.client. .schedule( .java:389) at com.google.gwt.dom.client. .inject( .java:382) at com.google.gwt.dom.client. .inject( .java:222) at com.google.gwt.dom.client. .inject( .java:208) at com.google.gwt.sample.mail.client.com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator$1.ensureInjected(com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator.java:14) at com.google.gwt.sample.mail.client.Mail.onModuleLoad(Mail.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:371) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:175) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:345) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:192)
  6. 0

    [beta] HWBOT Prime - x86 / ARM / Windows / Linux / Mac bench [Archive] - HWBOT forum

    hwbot.org | 2 years ago
    java.lang.VerifyError: org/hwbot/bench/service/DataServiceXml at org.hwbot.bench.service.BenchService.getDataFile(B enchService.java:272) at org.hwbot.bench.service.BenchService.saveToFile(Be nchService.java:322) at org.hwbot.bench.ui.console.BenchConsole.notifyBenc hmarkFinished(BenchConsole.java:53) at org.hwbot.bench.service.BenchService.run(BenchServ ice.java:211)

    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.lang.VerifyError

      Bad type on operand stack Exception Details: Location: org/apache/commons/codec/binary/Base64OutputStream.<init>(Ljava/io/OutputStream;Z)V @11: invokespecial Reason: Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec' Current Frame: bci: @11 flags: { flagThisUninit } locals: { uninitializedThis, 'java/io/OutputStream', integer } stack: { uninitializedThis, 'java/io/OutputStream', 'org/apache/commons/codec/binary/Base64', integer } Bytecode: 0000000: 2a2b bb00 0259 03b7 0003 1cb7 0004 b1

      at hudson.console.ConsoleNote.encodeToBytes()
    2. Hudson
      StreamTaskListener.error
      1. hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:180)
      2. hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:158)
      3. hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157)
      4. hudson.util.StreamTaskListener._error(StreamTaskListener.java:132)
      5. hudson.util.StreamTaskListener.error(StreamTaskListener.java:141)
      5 frames
    3. org.jenkinsci.plugins
      RemoteGitImpl$CommandInvocationHandler$1.call
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:276)
      2. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:151)
      3. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:144)
      3 frames
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3 frames
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:63)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame