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

IllegalAccessError: failed to access class net.md_5.bungee.protocol.Protocol$DirectionData #23

Closed
mibby opened this issue Feb 28, 2019 · 8 comments

Comments

@mibby
Copy link

mibby commented Feb 28, 2019

Waterfall dev 258 (BungeeCord 1.13.2)
BungeeResourcePack dev 259

Broke from a newer BungeeCord commit? SpigotMC/BungeeCord@9133a6f#diff-f5da6738ad3c03e59c357db9fd022745R282

[08:52:00] [main/INFO] [BungeeResourcepacks]: BungeeCord 1.9.4+ (404) detected!
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.8
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.9
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.12
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.12.1
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.12.2
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.13
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.13.1
[08:52:00] [main/INFO] [BungeeResourcepacks]: Registered ResourcePackSendPacket for 1.13.2
[08:52:00] [main/WARN]: Exception encountered when loading plugin: BungeeResourcepacks
java.lang.IllegalAccessError: failed to access class net.md_5.bungee.protocol.Protocol$DirectionData from class de.themoep.resourcepacksplugin.bungee.BungeeResourcepacks (net.md_5.bungee.protocol.Protocol$DirectionData is in unnamed module of loader 'app'; de.themoep.resourcepacksplugin.bungee.BungeeResourcepacks is in unnamed module of loader net.md_5.bungee.api.plugin.PluginClassloader @5b22b970)
	at de.themoep.resourcepacksplugin.bungee.BungeeResourcepacks.onEnable(BungeeResourcepacks.java:160) ~[?:?]
	at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:282) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.13-SNAPSHOT:1732f85:258]
	at net.md_5.bungee.BungeeCord.start(BungeeCord.java:282) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.13-SNAPSHOT:1732f85:258]
	at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:56) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.13-SNAPSHOT:1732f85:258]
	at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[BungeeCord.jar:git:Waterfall-Bootstrap:1.13-SNAPSHOT:1732f85:258]

@mibby
Copy link
Author

mibby commented Feb 28, 2019

Confirmed caused by BungeeCord commit SpigotMC/BungeeCord@9133a6f

Downgrading to Waterfall dev 256, all is fine again.

@DRSchlaubi
Copy link

Any workaround besides switching back to older bungeecord?

@Phoenix616
Copy link
Owner

This has been fixed since February, make sure you are running the latest build.

@DRSchlaubi
Copy link

I encounter the same error on Waterfall #300

[13:51:42 WARN]: Exception encountered when loading plugin: BungeeResourcepacks
java.lang.IllegalAccessError: tried to access class net.md_5.bungee.protocol.Protocol$DirectionData from class de.themoep.resourcepacksplugin.bungee.BungeeResourcepacks
at de.themoep.resourcepacksplugin.bungee.BungeeResourcepacks.onEnable(BungeeResourcepacks.java:121) ~[?:?]
at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:283) ~[bungeecord.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:b704f4c:300]
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:281) ~[bungeecord.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:b704f4c:300]
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62) ~[bungeecord.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:b704f4c:300]
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[bungeecord.jar:git:Waterfall-Bootstrap:1.14-SNAPSHOT:b704f4c:300]``` also tried using latest travertine and bungeecord build

@Phoenix616
Copy link
Owner

Which plugin version are you running?

@DRSchlaubi
Copy link

1.6.14

@Phoenix616
Copy link
Owner

That's a really old version, please update to one of the latest development builds.

@DRSchlaubi
Copy link

It was the latest build on GitHub upgraded to newest dev buid and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants