oshi: IllegalStateException: Unmapped relationship

A user of my software has the following issue when getting the hardware details:

IllegalStateException: Unmapped relationship: 7 in 
com.sun.jna.platform.win32.WinNT$SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX.fromPointer():3033
com.sun.jna.platform.win32.Kernel32Util.getLogicalProcessorInformationEx():715
oshi.driver.windows.LogicalProcessorInformation.getLogicalProcessorInformationEx():61
oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts():155
oshi.hardware.common.AbstractCentralProcessor.<init>():73
oshi.hardware.platform.windows.WindowsCentralProcessor.<init>():66
oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor():60
oshi.util.Memoizer$1.get():87
oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor():68

All I know so far is that it’s Windows 10, I don’t have any more hardware details so far.

Is this a known issue / is there a fix for it? I’m currently using oshi-core:5.3.6

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve updated and can confirm that this symptom has disappeared from my system. 👍

This is 100% repeatable for me on a machine with an AMD Ryzen 9 3950x 16-core processor (running Windows 10), so perhaps it’s related to that processor architecture?