[Help] PLEASE! server.Exception in thread "main" java.lang.NullPointerException

Junior Spellweaver
Joined
Jul 19, 2011
Messages
152
Reaction score
2
[Help] PLEASE! server.Exception in thread "main" java.lang.NullPointerException

When I start my server ( source: MoopleDEV ), Also checked all ports.
I get this error:

Starting world 0
Channel 1: Listening on port 7575
Channel 2: Listening on port 7576
Finished loading world 0

Listening on port 8484

Loading server.Exception in thread "main" java.lang.NullPointerExceptio
at client.SkillFactory.loadFromData(SkillFactory.java:355)
at client.SkillFactory.loadAllSkills(SkillFactory.java:110)
at net.server.Server.run(Server.java:193)
at net.server.Server.main(Server.java:212)


PLEASE HELP :o!

~ Em.
 
Re: [Help] PLEASE! server.Exception in thread "main" java.lang.NullPointerException

Go to SkillFactory and find out the event exception at line 355 .
By the way, I'm facing this issue once in a while, but it's my fucked-up Windows (Just restarting the pc)...
 
Upvote 0
Re: [Help] PLEASE! server.Exception in thread "main" java.lang.NullPointerException

whats with it O_o

Go to SkillFactory and find out the event exception at line 355 .
By the way, I'm facing this issue once in a while, but it's my fucked-up Windows (Just restarting the pc)...


355 =
for (MapleData level : data.getChildByPath("level")) {

Code:
at client.SkillFactory.loadFromData(SkillFactory.java:355)
at client.SkillFactory.loadAllSkills(SkillFactory.java:110)

read those lines

110=
skills.put(skillid, loadFromData(skillid, data2));
355=
for (MapleData level : data.getChildByPath("level")) {

I don't see whats wrong?
 
Upvote 0
Re: [Help] PLEASE! server.Exception in thread "main" java.lang.NullPointerException

Are you trying to use a different version's WZ on your source? If so you gotta recode it to work with it, as the XMLs change from different versions of wz.
 
Upvote 0
Back