Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Failed to gather extra platform metadata #120

@twisti-dev

Description

@twisti-dev
[?] Failed to gather extra platform metadata
[?] java.lang.IllegalStateException: Player is not connected to a server
        at dev.slne.surf.cloud.standalone.player.StandaloneCloudPlayerImpl.currentServer(StandaloneCloudPlayerImpl.kt:188)
        at dev.slne.surf.cloud.standalone.spark.provider.CloudMetadataProvider.collectOnlinePlayers(CloudMetadataProvider.kt:40)
        at dev.slne.surf.cloud.standalone.spark.provider.CloudMetadataProvider.get(CloudMetadataProvider.kt:16)
        at me.lucko.spark.common.platform.MetadataProvider.export(MetadataProvider.java:43)
        at me.lucko.spark.common.platform.SparkMetadata.gather(SparkMetadata.java:77)
        at me.lucko.spark.common.sampler.AbstractSampler.writeMetadataToProto(AbstractSampler.java:190)
        at me.lucko.spark.common.sampler.async.AsyncSampler.toProto(AsyncSampler.java:252)
        at me.lucko.spark.common.command.modules.SamplerModule.handleOpen(SamplerModule.java:469)
        at me.lucko.spark.common.command.modules.SamplerModule.profilerOpen(SamplerModule.java:353)
        at me.lucko.spark.common.command.modules.SamplerModule.profiler(SamplerModule.java:126)
        at me.lucko.spark.common.SparkPlatform.executeCommand0(SparkPlatform.java:472)
        at me.lucko.spark.common.SparkPlatform.lambda$executeCommand$3(SparkPlatform.java:370)
        at dev.slne.surf.cloud.standalone.spark.SparkHook$CloudSparkPlugin$executeAsync$1.invokeSuspend(SparkHook.kt:96)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
        at java.base/java.lang.Thread.run(Thread.java:1474)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions