Hi,
I am using Jenkins 1.552 version and I call Jenkins build job using CLI. I
am invoking a build job (maven build job) by the following command.
java -jar $HOME_DIR/jenkins-cli/jenkins-cli.jar -s
http://Server:Port/jenkins -i ~/.ssh/id_rsa get-job Build_Job_TestEQUAL where Build_Job_TestEQUAL is one of the job configured in jenkins.
I am getting below error message :
May 19, 2014 3:16:59 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel Chunked connection to http://Server:Port/jenkins/cli
java.io.StreamCorruptedException: invalid type code: 0D
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at hudson.remoting.Command.readFrom(Command.java:92)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
Exception in thread "main" hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException:
java.io.StreamCorruptedException: invalid type code: 0D
at hudson.remoting.Request.call(Request.java:174)
at hudson.remoting.Channel.call(Channel.java:672)
at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158)
at hudson.remoting.$Proxy0.waitForProperty(Unknown Source)
at hudson.remoting.Channel.waitForRemoteProperty(Channel.java:996)
at hudson.cli.CLI.<init>(CLI.java:153)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:469)
at hudson.cli.CLI.main(CLI.java:384)
Caused by: hudson.remoting.RequestAbortedException:
java.io.StreamCorruptedException: invalid type code: 0D
at hudson.remoting.Request.abort(Request.java:299)
at hudson.remoting.Channel.terminate(Channel.java:732)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
Caused by:
java.io.StreamCorruptedException: invalid type code: 0D
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at hudson.remoting.Command.readFrom(Command.java:92)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
Any recommended solution for this.
Please note that I am using default webserver ie jetty (The application have been started using java -jar jenkins.war file. So not using any container)