Compare java -version in the 12.04 and 14.04 environments.
On 21 June 2014 10:56, magnus <[email protected]> wrote: > Hi List > I have jenkins installed from apt as described here > https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu > I copied my configuration and all jobs from old server ubuntu 12.04 > Everything works ok except jenkins-cli. Jenkins-cli hangs and jenkins > produces following error in jenkins.og > > I look for similar problem in google but found nothing interesting. > > java -jar jenkins-cli.jar -s http://192.168.168.3:8090/ help > > Jun 21, 2014 10:33:54 AM hudson.TcpSlaveAgentListener$ConnectionHandler run > INFO: Accepted connection #10 from /192.168.168.1:42899 > Exception in thread "TCP slave agent connection handler #10 with / > 192.168.168.1:42899" 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(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > 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 > > > Any help? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
