Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while enabling DiscordBridge, IllegalStateException ("settings.token") must not be null #34

Closed
Okramto opened this issue Apr 20, 2016 · 3 comments

Comments

@Okramto
Copy link

Okramto commented Apr 20, 2016

[01:36:31 INFO]: [DiscordBridge] Enabling DiscordBridge v1.7.0
[01:36:31 ERROR]: Error occurred while enabling DiscordBridge v1.7.0 (Is it up to date?)
java.lang.IllegalStateException: plugin.config.getString("settings.token") must not be null
    at gg.obsidian.discordbridge.Configuration.load(Configuration.kt:43) ~[?:?]
    at gg.obsidian.discordbridge.Plugin.updateConfig(Plugin.kt:53) ~[?:?]
    at gg.obsidian.discordbridge.Plugin.onEnable(Plugin.kt:11) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [spigot-1.9.2.jar:git-Spigot-5a40365-b70058a]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]
@ezenity
Copy link

ezenity commented May 2, 2016

I also receive the same error upon updating from v1.6.0 to v1.7.0

Running CraftBukkit version git-Spigot-a1b8bf3-f01861f (MC: 1.9.2) (Implementing API version 1.9.2-R0.1-SNAPSHOT)

DiscordBridge 1.7.0 Error (Image Form)
DiscordBridge_1.7.0_Error

DiscordBridge 1.7.0 config.yml file, I removed my info however the way you see it is how i have it with my info inserted.
DiscordBridge_1.7.0_Config.yml

EDIT:

I just downgraded to v1.6.0 to see if it worked.

DiscordBridge_1.6.0_Success

@jacobwgillespie
Copy link
Member

I think I fixed this in 1.7.1: https://github.com/the-obsidian/DiscordBridge/releases/tag/v1.7.1.

Let me know if that resolves it

@Okramto
Copy link
Author

Okramto commented May 2, 2016

Issue resolved in 1.7.1

@Okramto Okramto closed this as completed May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants