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

IllegalStateException: SISMWAW cache reflection #9

Closed
sgammon opened this issue Dec 14, 2023 · 0 comments
Closed

IllegalStateException: SISMWAW cache reflection #9

sgammon opened this issue Dec 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sgammon
Copy link
Member

sgammon commented Dec 14, 2023

Expected Behavior

Running the agent should work and not produce a crash

Actual Behaviour

A crash

Stacktrace

Caused by: java.lang.IllegalStateException: SISMWAW
	at com.github.benmanes.caffeine.cache.LocalCacheFactory.newFactory(LocalCacheFactory.java:114)
	at java.base@21.0.1/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
	at com.github.benmanes.caffeine.cache.LocalCacheFactory.loadFactory(LocalCacheFactory.java:97)
	at com.github.benmanes.caffeine.cache.LocalCacheFactory.newBoundedLocalCache(LocalCacheFactory.java:46)
	at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3953)
	at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3949)
	at com.github.benmanes.caffeine.cache.Caffeine.build(Caffeine.java:1048)
	at build.less.agent.impl.LocalSyncCache.buildCache(LocalSyncCache.kt:195)
	at io.micronaut.cache.caffeine.DefaultSyncCache.<init>(DefaultSyncCache.java:88)
	at build.less.agent.impl.LocalSyncCache.<init>(LocalSyncCache.kt:52)
	at build.less.agent.impl.$LocalSyncCache$Definition.instantiate(Unknown Source)
	at io.micronaut.context.BeanDefinitionDelegate.instantiate(BeanDefinitionDelegate.java:159)
	at io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2309)
	... 117 more
Caused by: java.lang.NoSuchMethodException: no such constructor: com.github.benmanes.caffeine.cache.SISMWAW.<init>(Caffeine,AsyncCacheLoader,boolean)void/newInvokeSpecial
	at java.base@21.0.1/java.lang.invoke.MemberName.makeAccessException(MemberName.java:913)
	at java.base@21.0.1/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:994)
	at java.base@21.0.1/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3750)
	at java.base@21.0.1/java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:2837)
	at com.github.benmanes.caffeine.cache.LocalCacheFactory$MethodHandleBasedFactory.<init>(LocalCacheFactory.java:122)
	at com.github.benmanes.caffeine.cache.LocalCacheFactory.newFactory(LocalCacheFactory.java:111)
	... 129 more
Caused by: java.lang.NoSuchMethodError: com.github.benmanes.caffeine.cache.SISMWAW.<init>(com.github.benmanes.caffeine.cache.Caffeine, com.github.benmanes.caffeine.cache.AsyncCacheLoader, boolean)
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.methodhandles.Util_java_lang_invoke_MethodHandleNatives.resolve(Target_java_lang_invoke_MethodHandleNatives.java:335)
	at java.base@21.0.1/java.lang.invoke.MethodHandleNatives.resolve(MethodHandleNatives.java:213)
	at java.base@21.0.1/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962)
	at java.base@21.0.1/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:991)
	... 133 more

Steps To Reproduce

  1. On a M-series macOS device
  2. Install the CLI
  3. Run buildless agent run --verbose --no-background

Environment Information

  • Operating System: macOS 13
  • Architecture: arm64

Component

Buildless Agent

Language

N/A (Default)

Tool

N/A (Default)

Example Application

No response

Version

1.0.0-rc1

@sgammon sgammon added the bug Something isn't working label Dec 14, 2023
@sgammon sgammon added this to the 1.0.0 Stable milestone Dec 14, 2023
@sgammon sgammon self-assigned this Dec 14, 2023
@sgammon sgammon closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant