Debugging with Eclipse - NPE

Discussion in 'Plugin Development' started by Zettelkasten, Sep 2, 2014.

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

    Zettelkasten

    Hello,
    I have set up my Eclipse to run a Bukkit server as this tutorial shows: https://forums.bukkit.org/threads/debugging-plugins-in-eclipse.4043/
    This throws an error though after it started to load libraries:
    Code:
    Loading libraries, please wait...
    java.lang.ExceptionInInitializerError
    at org.bukkit.craftbukkit.Main.main(Main.java:159)
    Caused by: java.lang.NullPointerException
    at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:182)
    at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:145)
    at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:81)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:83)
    at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:34)
    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:387)
    at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:322)
    at net.minecraft.server.v1_7_R3.MinecraftServer.<clinit>(MinecraftServer.java:47)
    ... 1 more
    
    I would highly appreciate if someone could help me with the problem :)

    Code:
    Bukkit Version: 1.7.9-R0.2
    Win 8.1
    java version "1.8.0_20"
    Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
    Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
    When running the craftbukkit.jar manually, the server starts up fine.
     
  2. Offline

    mine-care

    its a null pointer in bukkit!? i havent faced that in the past.. im sorry mabe try another bukkit version
     
  3. Offline

    mythbusterma

Thread Status:
Not open for further replies.

Share This Page