Skip to content

Deserialization issues with Azure access in NI mode #14527

@hubertp

Description

@hubertp
>  cat testing/AzureTest/src/Main.enso 
from Standard.Base import all
from Standard.Microsoft import all

main =
    azure_credential1 = Azure.login ..CLI
    node2 = azure_credential1.tenants
    node2

running in NI mode gives

enso-2025.3.1/dist/2025.3.1/bin/enso --no-ir-caches --run testing/AzureTest/
Execution finished with an error: Deserialization Failed.
        at <java> com.azure.core.implementation.serializer.HttpResponseBodyDecoder.decodeByteArray(HttpResponseBodyDecoder.java:99)
        at <java> com.azure.core.implementation.serializer.HttpResponseDecoder$HttpDecodedResponse.getDecodedBody(HttpResponseDecoder.java:93)
        at <java> com.azure.core.implementation.http.rest.AsyncRestProxy.lambda$decodeBytes$8(AsyncRestProxy.java:167)
        at <java> reactor.core.publisher.MonoCallable.call(MonoCallable.java:92)
        at <java> reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:227)
        at <java> reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
        at <java> reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
        at <java> [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:328)
        at <java> [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309)
        at <java> [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
        at <java> [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
        at <java> [email protected]/java.lang.Thread.runWith(Thread.java:1487)
        at <java> [email protected]/java.lang.Thread.run(Thread.java:1474)
        at <java> org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
        at <java> org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:808)
        at <enso> Azure_Credential.tenants<arg-1>(Azure_Credential.enso:44:20-66)
        at <enso> Panic.catch(Internal)
        at <enso> Azure_Credential.tenants(Azure_Credential.enso:40-46)
        at <enso> Main.main(src/Main.enso:6:13-37)
Deserialization Failed.

Metadata

Metadata

Assignees

Labels

--regressionImportant: regression-libsLibraries: New libraries to be implementednative-image

Type

No type

Projects

Status

📤 Backlog

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions