NPE Thrown on autocast in console #5


  • Defect
  • Started
Open
Assigned to _ForgeUser8371123
  • _ForgeUser7559344 created this issue Jul 1, 2012

    What steps will reproduce the problem?
    1.Start server and run in console autocast twice.
    2.
    3.

    What is the expected output? What do you see instead?
    NPE is thrown:
    2012-07-01 15:47:03 [INFO] AutoCast version 1.3 is now disabled.
    2012-07-01 15:47:04 [INFO] AutoCast version 1.3 is now enabled.
    2012-07-01 15:47:04 [WARNING] Task of 'AutoCast' generated an exception
    java.lang.NullPointerException
        at me.OperationVOID.AutoCast.OperationVOID.broadcastMessage(OperationVOID.java:73)
        at me.OperationVOID.AutoCast.OperationVOID$2.run(OperationVOID.java:141)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    What version of the product are you using?
    1.2.5-R4.0

    Do you have an error log of what happened?
    Posted above

    Please provide any additional information below.
    I haven't tried this command before so could have been present for some time.
    I'm trying to use this to reload my message.txt file for when I've made changes since there is no /reload ;)

  • _ForgeUser7559344 added the tags New Defect Jul 1, 2012
  • _ForgeUser7559344 posted a comment Jul 1, 2012

    Just reloaded the server and all is well now. Running "autocast" twice nicely enables, disables the plugin as expected.

    I tested also by changing the message.txt file and worked fine as well. Not sure why i was getting a NPE there, more than likely my system/plugins.

  • _ForgeUser8371123 removed a tag New Jul 18, 2012
  • _ForgeUser8371123 added a tag Started Jul 18, 2012

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