Error Setting Up New Server :(

Discussion in 'Bukkit Help' started by Neko250, Feb 20, 2013.

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

    Neko250

    When I try to set up a new server using CraftBukkit 1.4.7 R1.0 , it throws me an error.
    I've been creating servers for my friends for a long time... so, I think I'm not doing anything wrong.
    Just download .jar (Recommended Build), create .bat and RUN ! But it does not work this time :(
    I'm using JRE v7 Update 15.

    Here's the error on the console:

    Code:
    java.lang.NullPointerException
            at java.io.Reader.<init>(Unknown Source)
            at java.io.InputStreamReader.<init>(Unknown Source)
            at net.minecraft.server.v1_4_R1.AchievementMap.<init>(SourceFile:15)
            at net.minecraft.server.v1_4_R1.AchievementMap.<clinit>(SourceFile:9)
            at net.minecraft.server.v1_4_R1.Statistic.g(SourceFile:37)
            at net.minecraft.server.v1_4_R1.CounterStatistic.g(SourceFile:15)
            at net.minecraft.server.v1_4_R1.StatisticList.<clinit>(SourceFile:30)
            at net.minecraft.server.v1_4_R1.MinecraftServer.main(MinecraftServer.jav
    a:619)
            at org.bukkit.craftbukkit.Main.main(Main.java:152)
    java.lang.ExceptionInInitializerError
            at net.minecraft.server.v1_4_R1.LocaleI18n.<clinit>(SourceFile:4)
            at net.minecraft.server.v1_4_R1.Item.t(SourceFile:498)
            at net.minecraft.server.v1_4_R1.StatisticList.a(SourceFile:142)
            at net.minecraft.server.v1_4_R1.StatisticList.c(SourceFile:88)
            at net.minecraft.server.v1_4_R1.Item.<clinit>(SourceFile:302)
            at net.minecraft.server.v1_4_R1.Block.<clinit>(Block.java:689)
            at net.minecraft.server.v1_4_R1.StatisticList.a(SourceFile:125)
            at net.minecraft.server.v1_4_R1.StatisticList.<clinit>(SourceFile:58)
            at net.minecraft.server.v1_4_R1.MinecraftServer.main(MinecraftServer.jav
    a:619)
            at org.bukkit.craftbukkit.Main.main(Main.java:152)
    Caused by: java.lang.NullPointerException
            at java.io.Reader.<init>(Unknown Source)
            at java.io.InputStreamReader.<init>(Unknown Source)
            at net.minecraft.server.v1_4_R1.LocaleLanguage.e(SourceFile:30)
            at net.minecraft.server.v1_4_R1.LocaleLanguage.<init>(SourceFile:17)
            at net.minecraft.server.v1_4_R1.LocaleLanguage.<clinit>(SourceFile:8)
            ... 10 more
    Thank you in advance.
     
  2. Offline

    Sawcar

    Does the server run and you can join at all? Or if it doesn't.. What error message in Minecraft when you try to join?
     
  3. Offline

    Neko250

    No, it doesn't run...
    As I said, I have the .jar (Last Recommended Build), I create the .bat to run it, and when I try to run, on the console, KABOOM ! ... I get that error. :\

    It doesn't create plugins folder, worlds forlders nor config files...

    Bump !

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  4. Offline

    nhadobas

    Do not bump so fast, you may only bump every 12 hours. Complete startup? Server.properties? Startup script?
    We need more info man.
     
  5. Offline

    Neko250

    LoL, I said... -.-

    I'll try to explain better:
    A folder, "craftbukkit_1.4.7_R1.0.jar" in it, run.bat (java "craftbukkit bleh bleh bleh) in the same folder...
    Then I double click on run.bat, wild console appears, then, suddenly, error... Console closes and as I've already said:
     
  6. Offline

    nhadobas

    "Java "craftbukkit bleh bleh bleh"

    I have lost almost all hope for the new generations. Post the FULL startup script you are using, dont just go half lazy and input random bleh's....
     
    number1_Master likes this.
  7. Offline

    Neko250

    OMG, the problem is not the bat, as long as the console shows an error with java, what means that the command in bat invoking java to start the .jar is run correctly...

    But, nevermind... here it goes:

    Code:
    @ECHO OFF
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx2048M -jar "craftbukkit-1.4.7-R1.0.jar"
    IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xincgc -Xmx2048M -jar "craftbukkit-1.4.7-R1.0.jar"
    PAUSE
    Meh...
     
  8. Offline

    nhadobas

    Although the startup is the problem. You're reaching into things your user may not have access to. Try a simple one like this.
    Code:
     java -Xincgc -Xmx2048M -Xms1024M -jar "craftbukkit-1.4.7-R1.0.jar"
     
  9. Offline

    Neko250

    Same error.
     
  10. Offline

    nhadobas

    Have java 7 installed and every other version of java uninstalled? Are you an administrator on your computer?
     
  11. Offline

    Neko250

    Ok, problem solved, it was stupid...
    In the path to the server there was a '!' and it seems it's illegal for java to find '!' in path... lol
     
Thread Status:
Not open for further replies.

Share This Page