[Error] Invalid Argument Exception

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Holki
Posts: 2
Joined: Thu May 03, 2012 9:32 am

[Error] Invalid Argument Exception

Post 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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: [Error] Invalid Argument Exception

Post 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.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Holki
Posts: 2
Joined: Thu May 03, 2012 9:32 am

Re: [Error] Invalid Argument Exception

Post 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.
Post Reply