We installed the Open JDK on the agent to avoid any licensing issues with oracle and discovered that the agent would not start or connect to the master. Log below:
jvm 1 | WrapperStartStopApp:
jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:576)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:400)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.Thread.run(Thread.java:835)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ExceptionInInitializerError
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:166)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:404)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.Class.newInstance(Class.java:590)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.loadPluginModules(Quickbuild.java:514)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:238)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | WrapperStartStopApp Error: Caused by: javax.validation.ValidationException: Unable to instantiate Configuration.
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:279)
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:110)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.MeasurementPluginModule.<clinit>(MeasurementPluginModule.java:19)
jvm 1 | WrapperStartStopApp Error: ... 26 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.util.Version.getJavaRelease(Version.java:36)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:120)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:96)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31)
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
jvm 1 | WrapperStartStopApp Error: ... 28 more
jvm 1 | 2019-06-05 19:56:17,354 INFO - Stopping QuickBuild agent...
Description
We installed the Open JDK on the agent to avoid any licensing issues with oracle and discovered that the agent would not start or connect to the master. Log below:
jvm 1 | WrapperStartStopApp:
jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:576)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:400)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.Thread.run(Thread.java:835)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ExceptionInInitializerError
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:166)
jvm 1 | WrapperStartStopApp Error: at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:404)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.Class.newInstance(Class.java:590)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.loadPluginModules(Quickbuild.java:514)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:238)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | WrapperStartStopApp Error: Caused by: javax.validation.ValidationException: Unable to instantiate Configuration.
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:279)
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:110)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.MeasurementPluginModule.<clinit>(MeasurementPluginModule.java:19)
jvm 1 | WrapperStartStopApp Error: ... 26 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.util.Version.getJavaRelease(Version.java:36)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:120)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:96)
jvm 1 | WrapperStartStopApp Error: at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31)
jvm 1 | WrapperStartStopApp Error: at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
jvm 1 | WrapperStartStopApp Error: ... 28 more
jvm 1 | 2019-06-05 19:56:17,354 INFO - Stopping QuickBuild agent...