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

Crash on startup when using slimeworldmanager-classmodifier as the java agent #180

Open
josua27176 opened this issue Jan 22, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@josua27176
Copy link

Describe the issue
When I got to start the server with Slime World Manager's class modifier jar it crashes on startup but as soon as I remove the class modifier jar from the startup it starts up fine.
Spigot version
1.12.2
Plugin version
2.2.1
How to reproduce
Add -javaagent: slimeworldmanager-classmodifier.jar to the command line with Slime world managers plugin also in the plugins folder.
Crash reports (if available)

Description: Exception in server tick loop

java.lang.NoClassDefFoundError: amv
at net.minecraft.server.management.PlayerList.(PlayerList.java:133)
at net.minecraft.server.dedicated.DedicatedPlayerList.(SourceFile:14)
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:228)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:596)
at java.lang.Thread.run(Thread.java:748)

@josua27176 josua27176 added the bug Something isn't working label Jan 22, 2021
@Paul19988
Copy link

Are you running Paper spigot or regular spigot,

Could you provide your full startup parameters,

Pictures of your root and plugin folders would also be ideal

@CraftDream
Copy link

i also have this problem.
Spigot1.12.2

@Paul19988
Copy link

@CraftDream
Copy link

the same problem

Encountered an unexpected exception
java.lang.NoClassDefFoundError: ain
        at net.minecraft.server.management.PlayerList.initCraftServer(PlayerList.java:136) ~[pl.class:?]
        at net.minecraft.server.MinecraftServer.func_184105_a(MinecraftServer.java:1388) ~[MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:226) ~[nz.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:593) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]

@josua27176
Copy link
Author

josua27176 commented Mar 16, 2021

Everything seems to have loaded now but I cant seem to create a world or anything.

[09:04:42] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: Josua27176 issued server command: /swm create TES mysql
[09:04:42] [Craft Scheduler Thread - 5/INFO] []: ?9[SWM] ?7Creating empty world TES.
[09:04:42] [Craft Scheduler Thread - 5/INFO] []: ?9[SWM] ?7World TES created in 190ms.
[09:04:42] [Server thread/WARN] [com.grinderwolf.swm.plugin.SWMPlugin]: [SlimeWorldManager] Task #744 for SlimeWorldManager v2.3.0-SNAPSHOT generated an exception
java.lang.NullPointerException: null
at org.bukkit.Location.getBlock(Location.java:91) ~[Location.class:1bc8635]
at com.grinderwolf.swm.plugin.commands.sub.CreateWorldCmd.lambda$onCommand$0(CreateWorldCmd.java:93) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:65) ~[CraftTask.class:1bc8635]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:429) [CraftScheduler.class:1bc8635]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:917) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:461) [nz.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:865) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:737) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
[09:04:42] [Server thread/ERROR] [global]: TIMING_STACK_CORRUPTION - Report this to the plugin SlimeWorldManager(Look for errors above this in the logs) (TimingIdentifier{id=SlimeWorldManager:Task: com.grinderwolf.swm.plugin.commands.sub.CreateWorldCmd$$Lambda$33987/42369913 (Single)} did not stopTiming)
java.lang.Throwable: null

@HonzaLed HonzaLed mentioned this issue Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants