Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

After update W11, Encountered an error running start main: java.lang.reflect.InvocationTargetException #65

heewook.son ·

Hi. Guys.

I updated my computer OS from W10 to W11.

After update W11, I encountered an error running start build agent as below.
how can i fix it?

jvm 1 | 2021-10-06 19:57:13,767 INFO Constructing report category for plugin: Boost Test Integration (10.0.0)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:614)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:128)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:429)
jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Unknown Source)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
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.IllegalStateException: Unmapped relationship: 7
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:2999)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.platform.windows.WindowsCentralProcessor.getLogicalProcessorInformationEx(WindowsCentralProcessor.java:282)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:272)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.common.AbstractCentralProcessor. (AbstractCentralProcessor.java:67)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.platform.windows.WindowsCentralProcessor. (WindowsCentralProcessor.java:225)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.getProcessor(WindowsHardwareAbstractionLayer.java:69)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.sysinfo.oshi.OshiSystemInfo.getCpuInfoList(OshiSystemInfo.java:138)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.trait.NodeTraits.update(NodeTraits.java:147)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.MeasurementPlugin.start(MeasurementPlugin.java:92)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.pluginsupport.DefaultPluginManager.start(DefaultPluginManager.java:51)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startAgent(Quickbuild.java:718)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:296)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | 2021-10-06 19:57:15,174 INFO Stopping QuickBuild agent...
jvm 1 | 2021-10-06 19:57:15,181 INFO Disconnecting from server...
jvm 1 | 2021-10-06 19:57:15,182 INFO Waiting for finish of remaining jobs...
jvm 1 | 2021-10-06 19:57:15,183 INFO Stopping plugins...
jvm 1 | 2021-10-06 19:57:15,184 INFO Stopping task scheduler...
jvm 1 | 2021-10-06 19:57:15,205 INFO QuickBuild agent stopped.
wrapper | <-- Wrapper Stopped

  • replies 3
  • views 2152
  • stars 0
steveluo ADMIN ·

Hi@heewook.son

It seems that this issue related to OSHI and I've updated the OSHI version to the latest. You may download the patch release (I have sent the link to you via email).

Let me know if it helps. Thanks.

VictorJSalasM ·

could you send me the patch? i have the same problem, please

steveluo ADMIN ·