Hey Robin,
With the recent(ish) oracle licensing changes, we wanted to avoid any issue with running an Oracle JRE on an agent node, so we installed the recent OpenJDK v12.0.0.1 on our agent. After doing so, the agent could not start with the following error: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Windows Server 2012 R2
We have filed a bug: http://track.pmease.com/browse/QB-3400
wrapper | --> Wrapper Started as Service
wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.30
wrapper | Copyright (C) 1999-2016 Tanuki Software, Ltd. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.com
wrapper | Licensed to PMEase Inc. for QuickBuild
wrapper |
wrapper | Launching a JVM...
jvm 1 | WrapperManager: Initializing...
jvm 1 | 2019-06-05 20:24:34,820 INFO - Cleaning cached plugin libraries...
jvm 1 | 2019-06-05 20:24:34,902 INFO - Cleaning temp directory...
jvm 1 | 2019-06-05 20:24:34,908 INFO - Benchmarking...
jvm 1 | 2019-06-05 20:24:35,974 INFO - Connecting to server 'SERVER URL'...
jvm 1 | WARNING: An illegal reflective access operation has occurred
jvm 1 | WARNING: Illegal reflective access by com.caucho.hessian.io.JavaDeserializer (file:/C:/buildagent/plugins/com.pmease.quickbuild.bootstrap/lib/hessian-4.0.38.jar) to field java.lang.StackTraceElement.classLoaderName
jvm 1 | WARNING: Please consider reporting this to the maintainers of com.caucho.hessian.io.JavaDeserializer
jvm 1 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
jvm 1 | WARNING: All illegal access operations will be denied in a future release
jvm 1 | 2019-06-05 20:24:36,367 INFO - Updating framework...
jvm 1 | 2019-06-05 20:24:36,897 INFO - Updating plugins...
jvm 1 | 2019-06-05 20:24:36,964 INFO - Updating plugins/com.pmease.quickbuild.libs...
wrapperm | QuickBuild Build Agent service started.
jvm 1 | 2019-06-05 20:24:37,232 INFO - Updating plugins/site...
jvm 1 | 2019-06-05 20:24:37,493 INFO - Updating asset...
jvm 1 | 2019-06-05 20:24:37,755 INFO - Booting QuickBuild from 'C:\buildagent'...
jvm 1 | 2019-06-05 20:24:37,756 INFO - Starting framework...
jvm 1 | 2019-06-05 20:24:37,805 INFO - Caching plugin libraries...
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 20:24:39,715 INFO - Stopping QuickBuild agent...
jvm 1 | WrapperStartStopApp Error: Encountered an error running stop 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 org.tanukisoftware.wrapper.WrapperStartStopApp.stop(WrapperStartStopApp.java:636)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.privilegedStopInner(WrapperManager.java:4644)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.access$2900(WrapperManager.java:126)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager$8.run(WrapperManager.java:3407)
jvm 1 | WrapperStartStopApp Error: at java.base/java.security.AccessController.doPrivileged(AccessController.java:310)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.stop(WrapperManager.java:3404)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:473)
jvm 1 | WrapperStartStopApp Error: at java.base/java.lang.Thread.run(Thread.java:835)
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.bootstrap.Bootstrap.shutdown(Bootstrap.java:132)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:123)
jvm 1 | WrapperStartStopApp Error: ... 12 more
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.shutdown(EquinoxAdapter.java:284)
jvm 1 | WrapperStartStopApp Error: ... 18 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.shutdown(EquinoxAdapter.java:282)
jvm 1 | WrapperStartStopApp Error: ... 18 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ExceptionInInitializerError
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.stop(Quickbuild.java:410)
jvm 1 | WrapperStartStopApp Error: ... 23 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.NullPointerException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.getInstance(Quickbuild.java:902)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.BuildEngine.<clinit>(BuildEngine.java:116)
jvm 1 | WrapperStartStopApp Error: ... 24 more
wrapper | <-- Wrapper Stopped
- solved #3
- replies 2
- views 2981
- stars 0