Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error report] java.lang.NoSuchMethodError: 'boolean oshi.jna.platform.windows.Kernel32.IsProcessorFeaturePresent(int)' #262

Open
wolfomat opened this issue Jan 11, 2025 · 0 comments

Comments

@wolfomat
Copy link

Plugin version: 1.4.5
IDE version: IntelliJ IDEA 2024.3.1.1
VM: OpenJDK 64-Bit Server VM 21.0.5 8-b631.28 JetBrains s.r.o.
OS: Windows 11 10.0

Stacktrace:

java.lang.NoSuchMethodError: 'boolean oshi.jna.platform.windows.Kernel32.IsProcessorFeaturePresent(int)'
	at oshi.hardware.platform.windows.WindowsCentralProcessor.lambda$initProcessorCounts$0(WindowsCentralProcessor.java:200)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at oshi.hardware.platform.windows.WindowsCentralProcessor.initProcessorCounts(WindowsCentralProcessor.java:201)
	at oshi.hardware.common.AbstractCentralProcessor.<init>(AbstractCentralProcessor.java:68)
	at oshi.hardware.platform.windows.WindowsCentralProcessor.<init>(WindowsCentralProcessor.java:60)
	at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:42)
	at oshi.util.Memoizer$1.get(Memoizer.java:61)
	at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:48)
	at com.vaadin.pro.licensechecker.MachineId.getComputerId(MachineId.java:52)
	at com.vaadin.pro.licensechecker.MachineId.get(MachineId.java:34)
	at com.vaadin.plugin.utils.AmpliUtilKt.getUserId(AmpliUtil.kt:38)
	at com.vaadin.plugin.utils.AmpliUtilKt.trackPluginInitialized(AmpliUtil.kt:51)
	at com.vaadin.plugin.listeners.ConfigurationCheckVaadinProjectListener.initAmplitude(ConfigurationCheckVaadinProjectListener.kt:133)
	at com.vaadin.plugin.listeners.ConfigurationCheckVaadinProjectListener.vaadinProjectDetected(ConfigurationCheckVaadinProjectListener.kt:53)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:768)
	at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:712)
	at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:451)
	at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:430)
	at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
	at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:493)
	at jdk.proxy18/jdk.proxy18.$Proxy213.vaadinProjectDetected(Unknown Source)
	at com.vaadin.plugin.VaadinProjectDetector.doNotifyAboutVaadinProject(VaadinProjectDetector.kt:36)
	at com.vaadin.plugin.VaadinProjectDetector.execute$lambda$1(VaadinProjectDetector.kt:28)
	at com.intellij.openapi.application.ReadAction.lambda$run$1(ReadAction.java:54)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:314)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:262)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:863)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:66)
	at com.intellij.openapi.application.ReadAction.run(ReadAction.java:53)
	at com.vaadin.plugin.VaadinProjectDetector.execute(VaadinProjectDetector.kt:26)
	at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:493)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant