History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3855
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Able to use new groovy version without option -Xverify:none

Created: 26/Apr/22 01:33 AM   Updated: 26/Apr/22 01:33 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Option "-Xverify:none" is not supported in JDK 17. However using groovy-2.4.7.jar without this option results in various class format error like below:

jvm 1 | 2022-04-25 13:31:24,164 ERROR Exception thrown by subscriber method onReceivedMeasurements(java.util.List) on subscriber com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementDataHandler@7ff7d6e2 when dispatching event: [source=[rews19loc-3:8815], metricName=[cpu.totalUsage], timestamp=[Mon Apr 25 13:31:19 EDT 2022], value=[0.1520380095023756], source=[rews19loc-3:8815], metricName=[disk.frees.F:\], timestamp=[Mon Apr 25 13:31:21 EDT 2022], value=[6.7402059776E10], source=[rews19loc-3:8815], metricName=[memory.usage], timestamp=[Mon Apr 25 13:31:23 EDT 2022], value=[0.7526954701668346], source=[rews19loc-3:8815], metricName=[memory.used], timestamp=[Mon Apr 25 13:31:23 EDT 2022], value=[1.939603456E10], source=[rews19loc-3:8815], metricName=[disk.usage.F:\], timestamp=[Mon Apr 25 13:31:21 EDT 2022], value=[0.3721590149269027], source=[rews19loc-3:8815], metricName=[jvm.memoryUsage], timestamp=[Mon Apr 25 13:31:19 EDT 2022], value=[0.14464894509256557], source=[rews19loc-3:8815], metricName=[memory.free], timestamp=[Mon Apr 25 13:31:23 EDT 2022], value=[6.372732928E9], source=[rews19loc-3:8815], metricName=[steps.successfulOnNode], timestamp=[Mon Apr 25 13:31:23 EDT 2022], value=[0.0], source=[rews19loc-3:8815], metricName=[steps.finishedOnNode], timestamp=[Mon Apr 25 13:31:23 EDT 2022], value=[0.0]]
jvm 1 | net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:348)
jvm 1 | at net.sf.cglib.proxy.Enhancer.generate(Enhancer.java:492)
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:96)
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:94)
jvm 1 | at net.sf.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvm 1 | at net.sf.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61)
jvm 1 | at net.sf.cglib.core.internal.LoadingCache.get(LoadingCache.java:34)
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:119)
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:294)
jvm 1 | at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:480)
jvm 1 | at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:305)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:137)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:177)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:165)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:177)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:165)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine.installInterpolator(DefaultScriptEngine.java:118)
jvm 1 | at com.pmease.quickbuild.pluginsupport.AbstractPlugin.getSetting(AbstractPlugin.java:197)
jvm 1 | at com.pmease.quickbuild.pluginsupport.PluginSettingHelper.getSetting(PluginSettingHelper.java:51)
jvm 1 | at com.pmease.quickbuild.plugin.alert.engine.setting.AlertSetting.get(AlertSetting.java:31)
jvm 1 | at com.pmease.quickbuild.plugin.alert.engine.setting.AlertSetting.get(AlertSetting.java:24)
jvm 1 | at com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementDataHandler.getAlertDefinitions(MeasurementDataHandler.java:138)
jvm 1 | at com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementDataHandler.evaluteAlerts(MeasurementDataHandler.java:60)
jvm 1 | at com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementDataHandler.onReceivedMeasurements(MeasurementDataHandler.java:47)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1 | at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
jvm 1 | at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
jvm 1 | at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
jvm 1 | at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
jvm 1 | at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
jvm 1 | at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
jvm 1 | at com.google.common.eventbus.EventBus.post(EventBus.java:217)
jvm 1 | at com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementPollingTask.execute(MeasurementPollingTask.java:55)
jvm 1 | at com.pmease.quickbuild.plugin.measurement.core.poller.MeasurementPollingTask.run(MeasurementPollingTask.java:107)
jvm 1 | at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66)
jvm 1 | at com.google.common.util.concurrent.Callables$4.run(Callables.java:122)
jvm 1 | at java.lang.Thread.run(Thread.java:748)
jvm 1 | Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1 | at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:459)
jvm 1 | at net.sf.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:339)
jvm 1 | ... 40 more
jvm 1 | Caused by: java.lang.ClassFormatError: Duplicate method name "newInstance" with signature "([Lnet.sf.cglib.proxy.Callback;)Ljava.lang.Object;" in class file com/pmease/quickbuild/plugin/alert/engine/nodematcher/AndMatcher$$EnhancerByCGLIB$$e9df43e9$$EnhancerByCGLIB$$825ddc64
jvm 1 | at java.lang.ClassLoader.defineClass1(Native Method)
jvm 1 | at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
jvm 1 | ... 45 more


 All   Comments   Work Log   Change History      Sort Order:
No changes have yet been made on this issue.