It is currently 12 Sep 2025, 21:23
   
Text Size

Unable to launch Local Server

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Unable to launch Local Server

Postby Boxel » 09 Jan 2015, 18:20

(Windows 7 64 bit, Java ver 1.8.0_25-b18)

When attempting to launch the Server by any means, I am unable to connect locally or even launch the server and receive the following Java error in the console. I've updated Java, run as admin, and tried everything I can think of. When I first installed XMage I was able to connect to and launch the local server once after many messages of "Unable to connect to server. Server is likely offline." I chalked this up to the server needing time to launch and get running, but now I cannot launch the local server at all. The client also spits out an error when I try to connect locally but I haven't pasted it here (mostly the same thing).


Code: Select all
INFO  2015-01-09 11:55:10,657 Loading cards...                                                                           =>[main] Main.main
org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]

...

Exception in thread "main" java.lang.NullPointerException
   at mage.cards.repository.ExpansionRepository.add(ExpansionRepository.java:52)
   at mage.cards.repository.CardScanner.scan(CardScanner.java:58)
   at mage.server.Main.main(Main.java:116)
Boxel
 
Posts: 2
Joined: 09 Jan 2015, 17:52
Has thanked: 0 time
Been thanked: 0 time

Re: Unable to launch Local Server

Postby Boxel » 09 Jan 2015, 19:28

UPDATE: After letting the server client run for > 30 minutes without trying to connect or even touch XMage, it somehow corrected itself and allowed me to connect. The following snippet is from the same server console window that I've had open all morning.

Code: Select all
Exception in thread "main" java.lang.NullPointerException
   at mage.cards.repository.ExpansionRepository.add(ExpansionRepository.java:52)
   at mage.cards.repository.CardScanner.scan(CardScanner.java:58)
   at mage.server.Main.main(Main.java:116)
INFO  2015-01-09 12:59:32,682 Starting MAGE server version 1.3.0dev2014-11-29v7                                          =>[main] Main.main
INFO  2015-01-09 12:59:32,684 Logging level: DEBUG                                                                       =>[main] Main.main
INFO  2015-01-09 12:59:32,685 Loading cards...                                                                           =>[main] Main.main
INFO  2015-01-09 12:59:41,131 Cards need storing in DB: 17681                                                            =>[main] CardScanner.scan
INFO  2015-01-09 12:59:58,681 Done.                                                                                      =>[main] Main.main
Boxel
 
Posts: 2
Joined: 09 Jan 2015, 17:52
Has thanked: 0 time
Been thanked: 0 time


Return to XMage

Who is online

Users browsing this forum: No registered users and 21 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 21 users online :: 0 registered, 0 hidden and 21 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 21 guests

Login Form