Welcome, Guest. Please login or register.

Author Topic: [Gameserver Error] There is an issue with the NPC skill loading?  (Read 60 times)

0 Members and 1 Guest are viewing this topic.

Offline xfranky

  • L2jHellas User
  • *
  • Posts: 4
  • Country: gb
  • Karma: 2
Good afternoon everyone. I need your help for troubleshooting the following error:
Quote
ItemTable: Loaded 1014 Armors.
ItemTable: Loaded 6880 Items.
ItemTable: Loaded 1313 Weapons.
ItemTable: Highest item Id used: 9208
ArmorSetsData: Loaded 51 armor sets.
ArmorSetsData: Loaded 51 custom armor sets.
SummonItems Loaded: 14 items.
SoulCrystalsTable: Loaded 39 SC(s) data and 124 NPC(s) data.
=======================================================================-[ Npc ]
NpcData: Loaded 6533 npc templates.
NpcData: Loaded 6548 npc templates.
NpcData: Loaded 0 custom droplist.
NpcData: Players droplist was cached.
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.l2jhellas.gameserver.datatables.sql.NpcData.getInstance(NpcData.java:740)
        at com.l2jhellas.gameserver.GameServer.<init>(GameServer.java:187)
        at com.l2jhellas.gameserver.GameServer.main(GameServer.java:468)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 119
        at com.l2jhellas.gameserver.datatables.sql.NpcData.restoreNpcData(NpcData.java:350)
        at com.l2jhellas.gameserver.datatables.sql.NpcData.<init>(NpcData.java:57)
        at com.l2jhellas.gameserver.datatables.sql.NpcData$SingletonHolder.<clinit>(NpcData.java:745)
        ... 3 more

I've tried to run a cleaR installation of the database, recompiled the pack, but without any changes, from the original work.
This happened suddenly and unexpectedly. I am running stock L2JHellas coding.

Looking forward for your help.
« Last Edit: October 22, 2019, 04:35:32 AM by xfranky »

Offline xfranky

  • L2jHellas User
  • *
  • Posts: 4
  • Country: gb
  • Karma: 2
Re: [Gameserver Error] There is an issue with the NPC skill loading?
« Reply #1 on: October 22, 2019, 09:41:32 PM »
Problem solved. This error is involved with the skill_learn.xml. I added my old work coding, and since it was old, the class_id was going greater than 118, and that was causing the error.

Even though the problem is now solved, it would be nice to have a safety and working layer on loading.

I'm locking the topic!