Ontime warning. Any fix?

Discussion in 'Bukkit Help' started by Blinkshot, Aug 5, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Blinkshot

    So i'm making a server and im trying to be very neat with everything in order to dumb down severe errors, etc. I have a weird warning that comes on when using the plugin OnTime. I'd be awesome if someone could tell me whats wrong and btw whenever i run my batch file the Task # changes. I believe it increases by 1.

    2013-08-05 12:38:36 [WARNING] [OnTime] Task #25 for OnTime v3.8.6 generated an exception
    java.lang.NullPointerException
    at ru.tehkode.permissions.backends.FileBackend.getGroups(FileBackend.java:178)
    at ru.tehkode.permissions.PermissionManager.getGroups(PermissionManager.java:239)
    at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.getGroups(Permission_PermissionsEx.java:271)
    at me.edge209.OnTime.Rewards.Rewards.initRewards(Rewards.java:212)
    at me.edge209.OnTime.OnTime.enablePluginDependencies(OnTime.java:442)
    at me.edge209.OnTime.OnTime$5.run(OnTime.java:391)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
    at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    2013-08-05 12:38:36 [INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/OnTime
     
  2. Offline

    JWhy

    You can disable PluginMetrics to avoid the mcstats.org downtime exceptions.
     
  3. Offline

    Blinkshot

    Should i delete it than?
     
  4. Offline

    JWhy

    If you delete the folder, it will be generated the next time Metrics-powered plugins load. Just do as described on the metrics webpage:
    You are free to opt-out of submitting data whenever you wish. This will immediately stop sending data for any plugins that supports MCStats / Plugin Metrics. Simply edit plugins/PluginMetrics/config.yml and change opt-out: false to true​
     
  5. Offline

    Blinkshot

    That fixed that task number but now a new one arose.
    2013-08-05 12:58:11 [WARNING] [OnTime] Task #20 for OnTime v3.8.6 generated an exception
    java.lang.NullPointerException
    at ru.tehkode.permissions.backends.FileBackend.getGroups(FileBackend.java:178)
    at ru.tehkode.permissions.PermissionManager.getGroups(PermissionManager.java:239)
    at net.milkbowl.vault.permission.plugins.Permission_PermissionsEx.getGroups(Permission_PermissionsEx.java:271)
    at me.edge209.OnTime.Rewards.Rewards.initRewards(Rewards.java:212)
    at me.edge209.OnTime.OnTime.enablePluginDependencies(OnTime.java:442)
    at me.edge209.OnTime.OnTime$5.run(OnTime.java:391)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
    at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
     
  6. Offline

    Necrodoom

    this isnt a metrics error, this is a PEX error, most likely due to PEX being version 2.0.
     
  7. Offline

    JWhy

    That's because your PermissionsEx instance is/was 'broken', try again after using the fixed permissions.yml from the other thread
     
  8. Offline

    Blinkshot

    The new permissions were applied when i posted that error task 20.

    So i just have to wait until PEX updates?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  9. Offline

    JWhy

    Does PEX itself throw any exceptions on start up? And if you're on 1.5.2, there would be no common need to update PEX, as v1.19.6 was compiled against CraftBukkit 1.5.2
     
  10. Offline

    Blinkshot


    2013-08-05 13:24:32 [INFO] [PermissionsEx] sql backend registered!
    2013-08-05 13:24:32 [INFO] [PermissionsEx] file backend registered!
    2013-08-05 13:24:32 [INFO] [PermissionsEx] PermissionEx plugin initialized.
     
  11. Offline

    JWhy

    And with the 2nd fixed permissions.yml version?
     
  12. Offline

    Blinkshot

    In this link is a photo to my batch file and the beginning when its being run. I dont think it has much relation to the problem but ive never seen it do this. (ignore my background its from an anime)
    http://postimg.org/image/yx8405j6r/

    Back on topic though. There are no exceptions made by PEX. But if you do look at the bottom of the photo linked above it said that permissions werent loaded correctly. But once you go to the bottom of the page it says that permissionsex permissions were loaded. Theres nothing really unusual happening with the PermissionsEx.

    Also on a third note to the original problem you tried helping me with JWhy my friend still cant connect and i tried downgrading to beta not really sure what else to do. She can connect to vanilla but not
     
  13. Offline

    JWhy

    Can you post the last ~100 lines of the server.log, please? That console thing is very hard to read with screwed up line breaks :/
     
  14. Offline

    morshu9001

    The MCStats site is often down. I get long, annoying errors about it being unreachable at least once a day. So thankful there's an opt-out.
     
Thread Status:
Not open for further replies.

Share This Page