-
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:
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
This issue is happening now again.
When running jenkins_cli command it hangs.
Every couple of days the identity file is getting corrupted.
Moving it and restarting Jenkins resolving the problem as a new identity file is created.
This happen when Jenkins is running and not on shutdown/restart of the platform.
Jenkins Version 1.565.3
Java build 1.7.0_75-b13