NullPointerException #4


  • Defect
  • Waiting
Open
Assigned to unfriendlybaron
  • _ForgeUser7596103 created this issue May 23, 2012

    What steps will reproduce the problem?
    1. get an error in log, if i get the Bonus
    2.
    3.

    What is the expected output? What do you see instead?
    All is ok, but an error in Server.log

    What version of the product are you using?
    DailyBonus 2.6

    Do you have an error log of what happened?
    [WARNING] Task of 'DailyBonus' generated an exception
    java.lang.NullPointerException
        at me.itsatacoshop247.DailyBonus.DailyBonusItemDelay.run(DailyBonusItemDelay.java:53)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:522)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

    Please provide any additional information below.
    It works, but show the error in console

  • _ForgeUser7596103 added the tags New Defect May 23, 2012
  • UnfriendlyBaron posted a comment May 23, 2012

    80.5% sure its an error with your config file. Could you post it?

  • UnfriendlyBaron posted a comment Jun 4, 2012

    Again, could I see the config? Would like to move foward on this, or see if it's a one time thing.

  • _ForgeUser7596103 posted a comment Jun 4, 2012

    Here my config.yml
    Main:
      Number of Tiers: 1
      Item Give Delay (In Seconds): 120
      Global Message: "&9[DailyBonus] &6!playername bekam einen Bonus!"
      Global Message is Enabled: true
    Tier:
      1:
        Economy Amount: 100
        Message: "&6Du bekommst &4!amount Mark &6weil Du heute da warst!"
        Items:

  • UnfriendlyBaron posted a comment Jun 4, 2012

    Don't leave the Items: blank, give it one line of 0;0.

    " If you don't want to give any items, just set it to have one line of '- 0;0' " - from the main page. Fix it and let me know.

  • UnfriendlyBaron removed a tag New Aug 10, 2012
  • UnfriendlyBaron added a tag Waiting Aug 10, 2012

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