Discord bot not loading

Discussion in 'Spigot Plugin Help' started by Sean0402, May 27, 2018.

  1. Hello, I am using Report+ for my server to sync reports to discord but I am getting this error:
    Code (Text):
    [22:20:29] [Server thread/INFO]: [ReportPlus] Enabling ReportPlus v4.8
    [22:20:29] [Server thread/INFO]: [ReportPlus] *** TitlesAPI found! Titles working! ***
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]: 20292 [JDA RateLimit-Queue Pool - Thread 1] ERROR net.dv8tion.jda.core.requests.Requester - There was an exception while executing a REST request

    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]: java.lang.NullPointerException: proxySelector == null
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.Address.<init>(Address.java:79)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.internal.http.RetryAndFollowUpInterceptor.createAddress(RetryAndFollowUpInterceptor.java:199)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:107)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at okhttp3.RealCall.execute(RealCall.java:69)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:170)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:112)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:95)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at net.dv8tion.jda.core.requests.ratelimit.BotRateLimiter$Bucket.run(BotRateLimiter.java:312)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at net.dv8tion.jda.core.requests.RateLimiter$RateLimitThreadFactory.lambda$newThread$0(RateLimiter.java:129)
    [22:20:29] [JDA RateLimit-Queue Pool - Thread 1/WARN]:     at java.lang.Thread.run(Thread.java:748)
    [22:20:29] [Server thread/ERROR]: Error occurred while enabling ReportPlus v4.8 (Is it up to date?)
    net.dv8tion.jda.core.exceptions.ErrorResponseException: -1: java.lang.NullPointerException
        at net.dv8tion.jda.core.exceptions.ErrorResponseException.create(ErrorResponseException.java:148) ~[?:?]
        at net.dv8tion.jda.core.requests.Request.onFailure(Request.java:91) ~[?:?]
        at net.dv8tion.jda.core.utils.SessionControllerAdapter$1.handleResponse(SessionControllerAdapter.java:89) ~[?:?]
        at net.dv8tion.jda.core.requests.Request.handleResponse(Request.java:178) ~[?:?]
        at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:219) ~[?:?]
        at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:112) ~[?:?]
        at net.dv8tion.jda.core.requests.Requester.execute(Requester.java:95) ~[?:?]
        at net.dv8tion.jda.core.requests.ratelimit.BotRateLimiter$Bucket.run(BotRateLimiter.java:312) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_171]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_171]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_171]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_171]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_171]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_171]
        at net.dv8tion.jda.core.requests.RateLimiter$RateLimitThreadFactory.lambda$newThread$0(RateLimiter.java:129) ~[?:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    The issue I'm having is the bot will not load up at all.
    This issue only happens on the Dedicated server I run. Works fine locally.
    Server version: 1.8.8
    Plugin version: Latest

    I have tried disabling firewall, no luck.

    Plugin link:
    https://www.spigotmc.org/resources/...les-☆-discord-announcements-☆-and-more.50455/
     
    #1 Sean0402, May 27, 2018
    Last edited: May 27, 2018
  2. Are you sure that the (Is it up to date?) errror, its not by having a not compatible plugin with your spigot version?
     
  3. Tried on a local server, both 1.8.8 and 1.12.2. worked fine. only an issue on the dedi.
     
  4. May I have the link of the plugin?
     
  5. Hmm I tried using it in a local test server, only ReportPlus and Vault and I had a lot more errors.

    Code (Text):
    [22:10:48] [Server thread/INFO]: [ReportPlus] Enabling ReportPlus v4.8
    [22:10:48] [Server thread/ERROR]: [ReportPlus] *** TitleAPI is not installed or not enabled. ***
    [22:10:48] [Server thread/ERROR]: [ReportPlus] *** Titles will not work. ***
    [22:10:49] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    [22:10:49] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
    [22:10:49] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [22:10:51] [JDA RateLimit-Queue Pool - Thread 1/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
    [22:10:51] [JDA RateLimit-Queue Pool - Thread 1/WARN]: SLF4J: Defaulting to no-operation MDCAdapter implementation.
    [22:10:51] [JDA RateLimit-Queue Pool - Thread 1/WARN]: SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
    [22:10:53] [Server thread/WARN]: [Server thread] INFO JDA - Login Successful!
    [22:10:54] [Server thread/WARN]: javax.security.auth.login.LoginException: The provided token is invalid!
    [22:10:54] [Server thread/WARN]:     at net.dv8tion.jda.core.entities.impl.JDAImpl.verifyToken(JDAImpl.java:276)
    [22:10:54] [Server thread/WARN]:     at net.dv8tion.jda.core.entities.impl.JDAImpl.verifyToken(JDAImpl.java:214)
    [22:10:54] [Server thread/WARN]:     at net.dv8tion.jda.core.entities.impl.JDAImpl.login(JDAImpl.java:161)
    [22:10:54] [Server thread/WARN]:     at net.dv8tion.jda.core.JDABuilder.buildAsync(JDABuilder.java:608)
    [22:10:54] [Server thread/WARN]:     at com.tjplaysnow.discord.object.ProgramBot.build(ProgramBot.java:34)
    [22:10:54] [Server thread/WARN]:     at com.tjplaysnow.discord.object.Bot.<init>(Bot.java:92)
    [22:10:54] [Server thread/WARN]:     at me.xbones.reportplus.spigot.ReportPlus.onEnable(ReportPlus.java:93)
    [22:10:54] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [22:10:54] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    [22:10:54] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
    [22:10:54] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
    [22:10:54] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
    [22:10:54] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
    [22:10:54] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
    [22:10:54] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
    [22:10:54] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
    [22:10:54] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
    [22:10:54] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [22:10:54] [Server thread/ERROR]: [ReportPlus] Config is not configured! Please enter a valid token!
    [22:10:54] [JDA MainWS-WriteThread/WARN]: [JDA MainWS-WriteThread] INFO WebSocketClient - Connected to WebSocket
    [22:10:54] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [22:10:54] [Server thread/INFO]: Done (18.177s)! For help, type "help" or "?"
    [22:10:54] [JDA MainWS-ReadThread/WARN]: [JDA MainWS-ReadThread] INFO JDA - Finished Loading!
    [22:10:55] [Craft Scheduler Thread - 1/INFO]: [Vault] Checking for Updates ...
    [22:10:56] [Server thread/WARN]: [ReportPlus] Task #4 for ReportPlus v4.8 generated an exception
    java.lang.NullPointerException: null
        at me.xbones.reportplus.spigot.ReportPlus$3.run(ReportPlus.java:240) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
    [22:10:56] [Craft Scheduler Thread - 1/INFO]: [Vault] Stable Version: 1.5.6 | Current Version: 1.6.7
    [22:11:51] [Server thread/WARN]: [ReportPlus] Task #4 for ReportPlus v4.8 generated an exception
    java.lang.NullPointerException: null
        at me.xbones.reportplus.spigot.ReportPlus$3.run(ReportPlus.java:240) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
    [22:12:43] [Server thread/WARN]: [ReportPlus] Task #4 for ReportPlus v4.8 generated an exception
    java.lang.NullPointerException: null
        at me.xbones.reportplus.spigot.ReportPlus$3.run(ReportPlus.java:240) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-2086bb0-d0a3620]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-2086bb0-d0a3620]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]

    I have no idea how to solve it, sorry :c
     
  6. Yours is an easy fix.
    Code (Text):
    [22:10:54] [Server thread/WARN]: javax.security.auth.login.LoginException: The provided token is invalid!
    Yours is working fine :p
     
  7. You should probably ask for support at the official JDA discord.