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.
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?
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.
Do not bump so fast, you may only bump every 12 hours. Complete startup? Server.properties? Startup script? We need more info man.
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:
"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....
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...
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"
Have java 7 installed and every other version of java uninstalled? Are you an administrator on your computer?
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