ERROR WITH only a 1 MOTD #2


  • New
  • Defect
Open
Assigned to _ForgeUser7037478
  • _ForgeUser2845255 created this issue Jun 13, 2013

    What steps will reproduce the problem?
    1.have only 1 MOTD (so its listed as 0 ID)

    What is the expected output? What do you see instead?
    it uses the server.properties

    What version of the product are you using?
    Cb 1.5.2 r01

    Do you have an error log of what happened?
    [SEVERE] Could not pass event ServerListPingEvent to PingMOTD v0.8
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
            at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callServerListPingEvent(CraftEventFactory.java:366)
            at net.minecraft.server.v1_5_R3.PendingConnection.a(PendingConnection.java:147)
            at net.minecraft.server.v1_5_R3.Packet254GetInfo.handle(SourceFile:23)
            at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
            at net.minecraft.server.v1_5_R3.PendingConnection.c(PendingConnection.java:50)
            at net.minecraft.server.v1_5_R3.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41)
            at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:29)
            at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
            at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
            at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
            at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
            at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.IllegalArgumentException: n must be positive
            at java.util.Random.nextInt(Random.java:300)
            at com.modcrafting.pingmotd.PingMotd.onServerListPing(PingMotd.java:27)
            at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
            ... 15 more

    Please provide any additional information below.

  • _ForgeUser2845255 added the tags New Defect Jun 13, 2013

To post a comment, please login or register a new account.