Jump to content
  • 0

[Solved!!]Cannot launch server for the first time!


Roborooskie

Question

Title: Cannot launch server for the first time!

Version: 3.1.2

OS: Windows 7 Home premium 64Bit

Java Version: Java7

Description of Problem:

I recently went from bukkit to Tekkit, but I cannot start the server at all. I click the launch bat and It seems to try and start the server and then it just stops and tells me : Press any key to continue . . . when I do the cmd just closes down. I tried reinstalling java, I downloaded latest tekkit version (I downloaded it 3 days ago), I tried ajusting the Bat file to specify where Java is... Also, I adjusted the RAM it may take to something lower too.when I looked up the problem I didnt know what to specificly search for, what I tried to search for just gave me problems from people that tried logging into a server. but mine is starting my server... I am not an expert on these things... I hope I posted it correctly now, Thank you! (ps, this is not a launcer problem right?) ps: I DID instal newest java version and it says its fully updated!

Error Messages:

java.lang.NullPointerException ( I guess?)

Error Log:


C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>"C:\Program Files (x86)

\Java\jre7\bin\java.exe" -Xmx1G -Xms1G -jar Tekkit.jar nogui

java.lang.NullPointerException

        at java.io.Reader.<init>(Unknown Source)

        at java.io.InputStreamReader.<init>(Unknown Source)

        at net.minecraft.server.AchievementMap.<init>(SourceFile:15)

        at net.minecraft.server.AchievementMap.<clinit>(SourceFile:9)

        at net.minecraft.server.Statistic.d(SourceFile:38)

        at net.minecraft.server.CounterStatistic.d(SourceFile:15)

        at net.minecraft.server.StatisticList.<clinit>(StatisticList.java:17)

        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:634)

        at org.bukkit.craftbukkit.Main.main(Main.java:136)

java.lang.ExceptionInInitializerError

        at net.minecraft.server.LocaleI18n.<clinit>(SourceFile:5)

        at net.minecraft.server.Item.l(Item.java:293)

        at net.minecraft.server.StatisticList.a(StatisticList.java:124)

        at net.minecraft.server.StatisticList.c(StatisticList.java:59)

        at net.minecraft.server.Item.<clinit>(Item.java:361)

        at net.minecraft.server.Block.<clinit>(Block.java:1211)

        at net.minecraft.server.StatisticList.a(StatisticList.java:102)

        at net.minecraft.server.StatisticList.<clinit>(StatisticList.java:40)

        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:634)

        at org.bukkit.craftbukkit.Main.main(Main.java:136)

Caused by: java.lang.NullPointerException

        at java.io.Reader.<init>(Unknown Source)

        at java.io.InputStreamReader.<init>(Unknown Source)

        at net.minecraft.server.LocaleLanguage.b(LocaleLanguage.java:33)

        at net.minecraft.server.LocaleLanguage.<init>(LocaleLanguage.java:21)

        at net.minecraft.server.LocaleLanguage.<clinit>(LocaleLanguage.java:14)

        ... 10 more

 

C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>pause

Press any key to continue . . .

Link to comment
Share on other sites

25 answers to this question

Recommended Posts

  • 0

I had already changed the RAM to 1gb before by changing 4G to 1G, now I changed it to 1024M to be sure, still did not work.

Here is what is in my launch.bat:

"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar Tekkit.jar nogui

pause

It still isnt working.

did I do something wrong? what should I change in the config folder?

Thank you!

Link to comment
Share on other sites

  • 0

Nope, my pc is rather new (bought it slightly more than half a year ago). I'll try this, Thanks!

Edit: if I put in what you tell me it gives me this:

C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>java -Xmx1G -Xms1G -jar

Tekkit.jar nogui

'java' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>pause

Press any key to continue . . .

if I change the last part of mine with yours it gives me the first error again...

Link to comment
Share on other sites

  • 0

ok, uninstalled java, went to site, downloaded the 64bit java7, changed launch.bat to:

"C:\Program Files\Java\jre7\bin\java.exe" -Xmx1G -Xms1G -jar Tekkit.jar nogui

pause

and still no go...

still gives me the

C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>"C:\Program Files\Java\

jre7\bin\java.exe" -Xmx1G -Xms1G -jar Tekkit.jar nogui

java.lang.NullPointerException

at java.io.Reader.<init>(Unknown Source)

at java.io.InputStreamReader.<init>(Unknown Source)

at net.minecraft.server.AchievementMap.<init>(SourceFile:15)

at net.minecraft.server.AchievementMap.<clinit>(SourceFile:9)

at net.minecraft.server.Statistic.d(SourceFile:38)

at net.minecraft.server.CounterStatistic.d(SourceFile:15)

at net.minecraft.server.StatisticList.<clinit>(StatisticList.java:17)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:634)

at org.bukkit.craftbukkit.Main.main(Main.java:136)

java.lang.ExceptionInInitializerError

at net.minecraft.server.LocaleI18n.<clinit>(SourceFile:5)

at net.minecraft.server.Item.l(Item.java:293)

at net.minecraft.server.StatisticList.a(StatisticList.java:124)

at net.minecraft.server.StatisticList.c(StatisticList.java:59)

at net.minecraft.server.Item.<clinit>(Item.java:361)

at net.minecraft.server.Block.<clinit>(Block.java:1211)

at net.minecraft.server.StatisticList.a(StatisticList.java:102)

at net.minecraft.server.StatisticList.<clinit>(StatisticList.java:40)

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:634)

at org.bukkit.craftbukkit.Main.main(Main.java:136)

Caused by: java.lang.NullPointerException

at java.io.Reader.<init>(Unknown Source)

at java.io.InputStreamReader.<init>(Unknown Source)

at net.minecraft.server.LocaleLanguage.b(LocaleLanguage.java:33)

at net.minecraft.server.LocaleLanguage.<init>(LocaleLanguage.java:21)

at net.minecraft.server.LocaleLanguage.<clinit>(LocaleLanguage.java:14)

... 10 more

C:\Users\Roborooskie\Desktop\Server stuff\Tekkit server!>pause

Press any key to continue . . .

What should I do? did I do something wrong?

Edit: Technic launcher stopped working somehow? was this becouse I changed the Java thing?

Link to comment
Share on other sites

  • 0

Have you tried downloading the server again, just to make sure you don't have a corrupt download?

That's about the only other thing I can think of.

Technic may be remembering the the old java version, although as long as java is in your path I would expect it to still work, reinstall that too maybe

Link to comment
Share on other sites

  • 0

as i said try taking the ! out of your path, if you tried googling the first line of your error you would have found this

http://forums.bukkit.org/threads/server-crash-instantly-help.99285/

a link to a bukkit forum where they have the exact same output for errors

if that does not work for you then move the entire folder with corrected name to the root of your c:\ drive and try running it, that will rule out any issue with directory structure.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...