-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Description
Describe the bug
Unleash client fails on Intel Mac after unleash-client-java upgrade from 11.1.1 to 11.2.1.
I tried to set environment variable UNLEASH_DISABLE_NATIVE=true but it doesn't seem to help.
Downgrading back to 11.1.1 helps.
Can you take a look at this or is there a workaround?
Steps to reproduce the bug
No response
Expected behavior
No response
Logs, error output, etc.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.getunleash.DefaultUnleash]: Factory method 'defaultUnleash' threw exception with message: null
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 63 common frames omitted
Caused by: java.lang.ExceptionInInitializerError
at io.getunleash.engine.FlatInterface.<init>(FlatInterface.java:15)
at io.getunleash.engine.UnleashEngine.<init>(UnleashEngine.java:45)
at io.getunleash.EngineProxyImpl.<init>(EngineProxyImpl.java:36)
at io.getunleash.DefaultUnleash.defaultToggleRepository(DefaultUnleash.java:36)
at io.getunleash.DefaultUnleash.<init>(DefaultUnleash.java:40)
...
Caused by: java.lang.RuntimeException: Failed to load native lib libyggdrasilffi_x86_64.dylib
at io.getunleash.engine.NativeLoader.loadFromResources(NativeLoader.java:17)
at io.getunleash.engine.NativeBridge.<clinit>(NativeBridge.java:7)
... 80 common frames omitted
Caused by: java.lang.IllegalStateException: Missing /native/libyggdrasilffi_x86_64.dylib
at io.getunleash.engine.NativeLoader.loadFromResources(NativeLoader.java:9)
... 81 common frames omittedScreenshots
No response
Additional context
No response
Unleash version
11.2.1
Subscription type
Pro
Hosting type
Self-hosted
SDK information (language and version)
unleash-client-java-11.2.1.jar
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo