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

1.17 Migration #1

Open
ErikDombi opened this issue Jun 18, 2021 · 3 comments
Open

1.17 Migration #1

ErikDombi opened this issue Jun 18, 2021 · 3 comments
Assignees
Labels
bug Something isn't working update

Comments

@ErikDombi
Copy link
Member

Leaving a checklist of things that need to be patched for 1.17 update

@ErikDombi ErikDombi added bug Something isn't working update labels Jun 18, 2021
@ErikDombi ErikDombi self-assigned this Jun 18, 2021
@ErikDombi
Copy link
Member Author

  • Fix compatibility with MVdwPlaceholderAPI.

Issue likely stems from the dependency itself.

Check for updates from both the Github and Jenkins Pages

[03:09:09] [Server thread/INFO]: [MVdW] VRP-Core added custom placeholder {wantedstring}
[03:09:09] [Server thread/ERROR]: Error occurred while enabling VRP-Core v0.1 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "be.maximvdw.placeholderapi.internal.PlaceholderPack.addOfflinePlaceholder(String, String, boolean, be.maximvdw.placeholderapi.internal.PlaceholderReplacer)" because "be.maximvdw.placeholderapi.PlaceholderAPI.customPlaceholders" is null
        at be.maximvdw.placeholderapi.PlaceholderAPI.registerPlaceholder(PlaceholderAPI.java:112) ~[?:?]
        at VRPCore.VRPCore.onEnable(VRPCore.java:78) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:495) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:409) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:608) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:264) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:987) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at java.lang.Thread.run(Thread.java:831) [?:?]

VRPCore.VRPCore.onEnable(VRPCore.java:78) ~[?:?]

@ErikDombi ErikDombi pinned this issue Jun 18, 2021
@ErikDombi
Copy link
Member Author

ErikDombi commented Jun 18, 2021

  • Fix compatibility with Vault

Issue likely stems from VRPCore.VRPCore.onEnable(VRPCore.java:156) ~[?:?]

Links of interest
Vault Github
VaultAPI Github

@ErikDombi
Copy link
Member Author

  • Fix compatibility with PlaceholderAPI

Again another issue with a likely outdated dependency.

[03:36:49] [Server thread/ERROR]: Error occurred while enabling VRP-Core v0.1 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()" because the return value of "me.clip.placeholderapi.expansion.PlaceholderExpansion.getPlaceholderAPI()" is null
        at me.clip.placeholderapi.expansion.PlaceholderExpansion.register(PlaceholderExpansion.java:132) ~[?:?]
        at VRPCore.VRPCore.onEnable(VRPCore.java:117) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at com.rylinaux.plugman.util.PluginUtil.enable(PluginUtil.java:62) ~[?:?]
        at com.rylinaux.plugman.command.EnableCommand.execute(EnableCommand.java:127) ~[?:?]
        at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:764) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:1944) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1783) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1764) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:30) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1125) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1118) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(SourceFile:134) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1102) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1031) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
        at java.lang.Thread.run(Thread.java:831) [?:?]

VRPCore.VRPCore.onEnable(VRPCore.java:117) ~[?:?]

Once again, keep an eye on PlaceholderAPI Github and PlaceholderAPI Jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working update
Projects
None yet
Development

No branches or pull requests

1 participant