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

Jenkins CLI hangs with InvocationTargetException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: cli
    • Labels:
    • Environment:
      Jenkins ver. 1.565.1
      Java build 1.7.0_55-b13
    • Similar Issues:

      Description

      CLI commands hangs with no console output but following Exception in Jenkins.err.log:

      >> java -jar jenkins-cli.jar -s http://ciserver:8080/ help
      _

      Aug 22, 2014 6:47:11 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
      INFO: Accepted connection #3 from /192.168.1.200:58954
      Exception in thread "TCP slave agent connection handler #3 with /192.168.1.200:58954" java.lang.Error: java.lang.reflect.InvocationTargetException
              at hudson.cli.CliProtocol2$Handler2.run(CliProtocol2.java:76)
              at hudson.cli.CliProtocol2.handle(CliProtocol2.java:32)
              at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:157)
      Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at hudson.cli.CliProtocol2$Handler2.run(CliProtocol2.java:63)
              ... 2 more
      Caused by: java.lang.NullPointerException
              at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.get(InstanceIdentity.java:126)
              ... 7 more
      

        Attachments

          Activity

            People

            • Assignee:
              saar_netzer Saar Netzer
              Reporter:
              rimar Marcel Richter
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: