This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
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.[m2012-07-01 15:47:04 [WARNING] Task of 'AutoCast' generated an exceptionjava.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 ;)
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.
To post a comment, please login or register a new account.