Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Linux- MapleDataProviderFactory.getWZ Error? Clueless at this point

Mythic Archon
Joined
Jul 2, 2013
Messages
723
Reaction score
70
This is for sure a linux issue because it runs fine on windows. I made sure the start.java looked for the wz folder (case sensitive too) and it does, so I am not sure. Sorry for the scrub question, thanks a bunches everyone and happy thanks giving!

[Lithium] Revision: -1
Loader 1...
Loader 2...
Loader 3...
Exception in thread "main" java.lang.ExceptionInInitializerError
at server.Start.run(Start.java:65)
at server.Start.main(Start.java:125)
Caused by: java.lang.NullPointerException
at provider.MapleDataProvider.fillMapleDataEntitys(MapleDataProvider.jav
a:39)
at provider.MapleDataProvider.<init>(MapleDataProvider.java:35)
at provider.(MapleDataProviderFactory.java
:31)
at provider.MapleDataProviderFactory.getDataProvider(MapleDataProviderFa
ctory.java:37)
at server.life.MapleLifeFactory.<clinit>(MapleLifeFactory.java:46)
... 2 more
Press any key to continue . . .
 
Last edited:
Junior Spellweaver
Joined
Feb 19, 2012
Messages
125
Reaction score
25
I think it could not read correct wz(xml) path.
(A Linux can not use '\' for folder-separater. It have another function.)
I recommended this modify.
From (launch.bat)):
Code:
@echo off [USER=2000164417]Tit[/USER]le Lithium Server Console
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz\ server.Start
Change to(launch.sh):
Code:
#!/bin/sh
#@echo off
#@Lithium Server Console
export CLASSPATH=".:dist/Lithium.jar:dist/mina-core.jar:dist/slf4j-api.jar:dist/slf4j-jdk14.jar:dist/mysql-connector-java-bin.jar"
java -server -Dnet.sf.odinms.wzpath=[COLOR="#FF0000"]wz/[/COLOR] server.Start
 
Upvote 0
Junior Spellweaver
Joined
Jan 2, 2014
Messages
150
Reaction score
50
What namazi said..

But please use this for your classpath
Code:
export CLASSPATH=".:dist/*"
 
Upvote 0
Mythic Archon
Joined
Jul 2, 2013
Messages
723
Reaction score
70
I think it could not read correct wz(xml) path.
(A Linux can not use '\' for folder-separater. It have another function.)
I recommended this modify.
From (launch.bat)):
Code:
@echo off @[I][B][URL="https://forum.ragezone.com/members/2000164417.html"]Tit[/URL][/B][/I]le Lithium Server Console
set CLASSPATH=.;dist\Lithium.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -server -Dnet.sf.odinms.wzpath=wz\ server.Start
Change to(launch.sh):
Code:
#!/bin/sh
#@echo off
#@Lithium Server Console
export CLASSPATH=".:dist/Lithium.jar:dist/mina-core.jar:dist/slf4j-api.jar:dist/slf4j-jdk14.jar:dist/mysql-connector-java-bin.jar"
java -server -Dnet.sf.odinms.wzpath=[COLOR=#FF0000]wz/[/COLOR] server.Start

What namazi said..

But please use this for your classpath
Code:
export CLASSPATH=".:dist/*"

The xmls were fine to begin with, it was just the source itself was previously a custom server. It hard coded it's specific wz files into the source and tried to load specific xmls; when they were not found, it returned this generic error. Thanks for support guys, but I figured it out.
 
Upvote 0
Back
Top