Error onLoad using Windows Server

Discussion in 'BungeeCord Plugin Development' started by NewEraStudios, Jan 13, 2019.

  1. When i load my plugin inside a Windows Server edition, this error appears .

    Code (Text):
    23:18:25 [WARNING] Error enabling plugin Bot-Sentry
    java.lang.NullPointerException
        at co.jaqobb.bot_sentry.BotSentry.onLoad(Unknown Source)
        at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:308)
        at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:211)
        at net.md_5.bungee.BungeeCord.start(BungeeCord.java:266)
        at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:56)
        at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

    Java version: 8 (tried with 9 and 10 and the same)
    Bungee Version: the latest
     
  2. Some more information would be useful (like the source of your class). Does this error only appears on windows server or at other platforms too (Windows, Debian, etc.)?
     
  3. Are we talking Bungeecord or Spigot plugins?
     
  4. Bungeecord. As you see in the exception there are only bungeecord classes.
     
  5. Dumb me :cry:
     
  6. Show us your BotSentry class and your plugin.yml
     
  7. md_5

    Administrator Developer

    And stop obfuscating it / compile with debug so we know what line
     
  8. Thanks for help, its fixed, the customer was was using a really old bungee version
     
  9. Already fixed the problem.

    My obfuscation seems weak, someone deobfuscated and leaked my plugin without any issues, as i can't put antileak ;/