Skip to content

Help with errors

Featured Replies

Gracia Final ..

whith errors.

 

SpecialSkillTreeTable: Loaded 3 special skills
[Fatal Error] 19999-20000.xml:26:9: XML document structures must start and end w
ithin the same entity.
Error loading file C:\Users\Lele\Desktop\Server\GameServer\data\stats\skills\199
99-20000.xml
org.xml.sax.SAXParseException: XML document structures must start and end within
the same entity.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
urce)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
nown Source)
        at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
        at net.sf.l2j.gameserver.skills.DocumentBase.parse(DocumentBase.java:84)

        at net.sf.l2j.gameserver.skills.SkillsEngine.loadSkills(SkillsEngine.jav
a:89)
        at net.sf.l2j.gameserver.skills.SkillsEngine.loadAllSkills(SkillsEngine.
java:98)
        at net.sf.l2j.gameserver.datatables.SkillTable.<init>(SkillTable.java:42
)
        at net.sf.l2j.gameserver.datatables.SkillTable.<init>(SkillTable.java:29
)
        at net.sf.l2j.gameserver.datatables.SkillTable$SingletonHolder.<clinit>(
SkillTable.java:130)
        at net.sf.l2j.gameserver.datatables.SkillTable.getInstance(SkillTable.ja
va:37)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:212)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)

 

xml ....

 

<?xml version="1.0" encoding="UTF-8"?>
<list>
<skill id="19999" levels="1" name="Bowehpraacher">
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<set name="castRange" val="-1"/>
<for>
<mul order="0x50" stat="pAtk" val="2.50">
<using kind="Bow"/>
</mul>
<mul order="0x40" stat="accCombat" val="2.50">
<using kind="Bow"/>
</mul>
<mul order="0x30" stat="pAtkSpd" val="1.100">
<using kind="Bow"/>
</mul>
<mul order="0x30" stat="rCrit" val="2.50">
<using kind="Bow"/>
</mul>
<mul order="0x30" stat="atkReuse" val="1.2">
<using kind="Bow"/>
</mul>
</for>
</skill>

 

----------------------------------------------

 

Initializing FortManager
Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)

 

Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)
Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)
Loaded: 21 fortress

 

Tks !!

Aren't you missing </list> in the end of that xml?

  • Author

Aren't you missing </list> in the end of that xml?

=)

TKSSS

 

and other errors?

So listen up,

 

You're looking for someone to help you right? How the fuck is he supposed to do that with this shitty topic? Sorry but I am getting angry when you people want some damn help and you don't give some fucking information about your problem.

  • Author

Gracia Final ..

whith errors.

 

 

----------------------------------------------

 

Initializing FortManager
Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)

 

Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)
Exception: loadFortData(): null
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.entity.Fort.load(Fort.java:604)
        at net.sf.l2j.gameserver.model.entity.Fort.<init>(Fort.java:270)
        at net.sf.l2j.gameserver.instancemanager.FortManager.loadInstances(FortM
anager.java:171)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:297)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:553)
Loaded: 21 fortress

 

Tks !!

 

I did not say about my problem?

this crazy?

just do not know write in English.

 

My problem in this post.

You get a nullpointer exception when trying to access unexisting data (an empty array for example). Post the fort.load() method

  • Author

summarizing?

is error in java?

am with pre-configured ..

can no longer resolve this error??

If it's a preconfigured i can't help much. You may want to check the fort data for any errors. It should be in some file. Can't tell anything more because i'm not at home atm.

summarizing?

is error in java?

am with pre-configured ..

can no longer resolve this error??

 

Quote from Section Rules:

 

From now on, support for pre-configured (Aka ready packs without having the source code) is forbidden. These packs are for personal use and they cant be updated, and edited from java side.
Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.