윈도우 11에서 agent 실행시 아래와 같은 오류가 발생합니다.
추가로 java 정보 공유드립니다.
C:\ngrinder\ngrinder-agent>java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
2022-09-02 12:01:38,376 INFO agent config: NGRINDER_AGENT_HOME : C:\ngrinder\ngrinder-agent
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.ngrinder.NGrinderAgentStarter.checkDuplicatedRun(NGrinderAgentStarter.java:280)
at org.ngrinder.NGrinderAgentStarter.main(NGrinderAgentStarter.java:208)
Caused by: java.lang.IllegalStateException: Unmapped relationship: 7
at com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer(WinNT.java:3033)
at com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx(Kernel32Util.java:715)
at oshi.driver.windows.LogicalProcessorInformation.getLogicalProcessorInformationEx(LogicalProcessorInformation.java:61)
at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:149)
at oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:73)
at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:68)
at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:60)
at oshi.util.Memoizer$1.get(Memoizer.java:87)
at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:66)
at org.ngrinder.common.util.SystemInfoUtils.<clinit>(SystemInfoUtils.java:61)
... 2 more
추가로 아래의 이슈때문인지 문의드립니다.
https://github.com/java-native-access/jna/issues/1324