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

Jenkins CLI hangs with InvocationTargetException

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • cli
    • Jenkins ver. 1.565.1
      Java build 1.7.0_55-b13

      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
      

          [JENKINS-24385] Jenkins CLI hangs with InvocationTargetException

          Marcel Richter created issue -
          Marcel Richter made changes -
          Description Original: CLI commands hangs with no console output but following Exception in Jenkins.err.log:

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

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

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

          {noformat}
          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
          {noformat}
          Daniel Beck made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Saar Netzer made changes -
          Assignee New: Saar Netzer [ saar_netzer ]
          Resolution Original: Cannot Reproduce [ 5 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Daniel Beck made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 157307 ] New: JNJira + In-Review [ 195677 ]

            saar_netzer Saar Netzer
            rimar Marcel Richter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: