Page 1 of 1

[Error] Invalid Argument Exception

Posted: Sat May 05, 2012 2:43 am
by Holki
Hi,
I've got a strange error while running the gameserver.... I've followed the eclipse guide to the letter, except that I use navicat, not heidisql.
L2J Revision Number: 5313
L2JDP Revision Number: couldn't finde file, but should be latest

This is what I got:
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.l2jserver.gameserver.datatables.SkillTreesData.getInstance(SkillT
reesData.java:1204)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:217)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:455)
Caused by: java.lang.IllegalArgumentException: Integer value required, but not s
pecified: skillId!
at com.l2jserver.gameserver.model.StatsSet.getInteger(StatsSet.java:202)

at com.l2jserver.gameserver.model.L2SkillLearn.<init>(L2SkillLearn.java:
83)
at com.l2jserver.gameserver.datatables.SkillTreesData.parseDocument(Skil
lTreesData.java:193)
at com.l2jserver.gameserver.engines.DocumentParser.parseFile(DocumentPar
ser.java:92)
at com.l2jserver.gameserver.engines.DocumentParser.parseDirectory(Docume
ntParser.java:121)
at com.l2jserver.gameserver.datatables.SkillTreesData.load(SkillTreesDat
a.java:124)
at com.l2jserver.gameserver.datatables.SkillTreesData.<init>(SkillTreesD
ata.java:103)
at com.l2jserver.gameserver.datatables.SkillTreesData$SingletonHolder.<c
linit>(SkillTreesData.java:1212)
... 3 more
I would appreciate the help, as I can't figure out what to do.

Re: [Error] Invalid Argument Exception

Posted: Sat May 05, 2012 3:06 am
by Zoey76
Seems that you have an error in datapack, check that you dont miss "skillId" attribute.

If you have eclipse you can use the XSD to validate all skill trees and check which one is wrong.

Re: [Error] Invalid Argument Exception

Posted: Sat May 05, 2012 10:17 am
by Holki
They were indeed missing... I've used the nightly files rar for database, as the guide said ( don't ask why :P ), but now I complied it and it works. Thanks for the help! Issue rsolved.