Geyser: "given scan urls are empty. set urls in the configuration" on startup

Created on 4 Sep 2020  路  20Comments  路  Source: GeyserMC/Geyser

Describe the bug
On starting up plugin versions, the message [org.geysermc.platform.<PLATFORM>.shaded.reflections.Reflections] given scan urls are empty. set urls in the configuration is given. This is a harmless error that affects nothing.

To Reproduce
Start up a plugin version of Geyser.

Geyser Version
As of build 377.

Assistance Required Confirmed Bug

Most helpful comment

I would expect that the delay is not because of those errors.

All 20 comments

this might have something to do with the Reflections library: https://github.com/ronmamo/reflections/issues/186

It is, and an issue with the version we use but if we upgrade it then it breaks android support.

At a cursory glance this isn't specifically a Java 9 thing - I develop with Java 8 and get this all the time.

Seeing this on Java 11 as well.

I'm seeing issues with it taking more than 3 minutes to get through it. Whether it's this or something else I'm not sure

[10:34:52 WARN]: [org.geysermc.platform.spigot.shaded.reflections.Reflections] given scan urls are empty. set urls in the configuration
[10:38:20 WARN]: [org.geysermc.platform.spigot.shaded.reflections.Reflections] given scan urls are empty. set urls in the configuration

Yes those messages are appearing with a significant delay (heavily depending on the power of the host machine of course, in my case it was something around 5-10 seconds) between each other. But it cannot be derived that the underlying issue is the reason for the delay, but maybe there is a lot of other processing which at some distant points produce the warnings.

I would expect that the delay is not because of those errors.

It is, and an issue with the version we use but if we upgrade it then it breaks android support.

d...owngrade maybe?

I believe you misunderstand. The version we are on gives that warning, but IF we upgrade, Android support will no longer work. No need to downgrade, it won't solve anything.

Any update on this bug? It's still going on for me.

Yes. This bug is part of a library we use, you can ignore it and it will not break anything.

Yes. This bug is part of a library we use, you can ignore it and it will not break anything.

thank you!

I don't know why people say it takes minutes to go through that stage, it only takes 3~5 secs with a small server.

I tested it on some VMs (old i3 3110M CPU) where it took a significant time (minutes range all together). A native x86 server will likely have no issues, so practically it's more the SBC servers, which however become increasingly relevant (and also capable) in general, I guess.

What about using a fork of Reflections? Or is it better to wait for them to fix Android?

It's a harmless message, so I don't think that we need to fork it.

Yes, but it's confusing and with a fork you could pull in some of the new changes probably

It's a harmless message, so I don't think that we need to fork it.

Agreed, although over in the Discord, we still get a ton of people asking about it. I think that forking it wouldn't be too hard to do, but if we don't want to go that route, could we possibly add our own message to the top/bottom of it, telling people to ignore?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

endevrr picture endevrr  路  6Comments

Ruymanphone picture Ruymanphone  路  13Comments

bennasar99 picture bennasar99  路  5Comments

TOWUK picture TOWUK  路  3Comments

Minecon724 picture Minecon724  路  12Comments