Autor Tema: Error de Attack  (Leído 156 veces)

Mordor

  • Jr. Member
  • **
  • Mensajes: 83
  • Karma: +0/-0
    • Ver Perfil
Error de Attack
« en: Mayo 26, 2018, 07:27:05 pm »
Uno de los players matando un raid, quedo totalmente paralizado, en la consola me tiraban estos errores:

Código
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startMuted(L2Character.java:5208)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onStart(EffectMute.java:44)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.model.items.ItemWeapon.getOnCrit(ItemWeapon.java:289)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3562)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopMuted(L2Character.java:5065)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onExit(EffectMute.java:52)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3515)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
RaidBossSpawnData: Updated Immortal Savior Mardil respawn time to 1527491864468
Olympiad: Olympiad game started.
TaskOlympiadSave: Data updated successfully.
SevenSigns: Data updated successfully.
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startMuted(L2Character.java:5208)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onStart(EffectMute.java:44)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.model.items.ItemWeapon.getOnCrit(ItemWeapon.java:289)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3562)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtMuted(CharacterAI.java:575)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:325)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopMuted(L2Character.java:5065)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectMute.onExit(EffectMute.java:52)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:3515)
at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:1912)
at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:1750)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)
missing html page data/html/merchant/7839-bought.htm
RaidBossSpawnData: Updated Death Lord Hallate respawn time to 1527417307253

java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtRooted(CharacterAI.java:547)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:319)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:268)
at net.sf.l2j.gameserver.model.actor.L2Character.startRooted(L2Character.java:5229)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectRoot.onStart(EffectRoot.java:45)
at net.sf.l2j.gameserver.model.skills.effects.Effect.setInUse(Effect.java:192)
at net.sf.l2j.gameserver.model.actor.L2Character.addEffect(L2Character.java:1986)
at net.sf.l2j.gameserver.model.skills.effects.Effect.startEffectTask(Effect.java:261)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:374)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:984)
at net.sf.l2j.gameserver.model.skills.Skill.getEffects(Skill.java:946)
at net.sf.l2j.gameserver.handler.skill.SkillDebuff.useSkill(SkillDebuff.java:88)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)


java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable.java:694)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.callMinions(AttackableAI.java:1096)
at net.sf.l2j.gameserver.model.actor.ai.AttackableAI.onEvtAttacked(AttackableAI.java:1078)
at net.sf.l2j.gameserver.model.actor.ai.CharacterAI.onEvtRooted(CharacterAI.java:547)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:319)
at net.sf.l2j.gameserver.model.actor.ai.AbstractAI.notifyEvent(AbstractAI.java:279)
at net.sf.l2j.gameserver.model.actor.L2Character.stopRooting(L2Character.java:5092)
at net.sf.l2j.gameserver.model.skills.effects.type.EffectRoot.onExit(EffectRoot.java:51)
at net.sf.l2j.gameserver.model.skills.effects.Effect.scheduleEffect(Effect.java:420)
at net.sf.l2j.gameserver.model.skills.effects.Effect.exit(Effect.java:280)
at net.sf.l2j.gameserver.model.actor.L2Character.lambda$stopAllEffects$3(L2Character.java:2133)
at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
at net.sf.l2j.gameserver.model.actor.L2Character.stopAllEffects(L2Character.java:2133)
at net.sf.l2j.gameserver.model.actor.L2Character.doDie(L2Character.java:1385)
at net.sf.l2j.gameserver.model.actor.L2Npc.doDie(L2Npc.java:786)
at net.sf.l2j.gameserver.model.actor.L2Attackable.doDie(L2Attackable.java:341)
at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:128)
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:89)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.handler.skill.SkillMdam.useSkill(SkillMdam.java:130)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)

Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
Failed executed HitTaskjava.lang.NullPointerException
java.lang.NullPointerException
RaidBossSpawnData: Updated Cherub Galaxia respawn time to 1527433680738
RaidBossSpawnData: Updated Fire of Wrath Shuriel respawn time to 1527468823570

java.lang.NullPointerException
at net.sf.l2j.gameserver.model.actor.instance.L2MinionInstance.doDie(L2MinionInstance.java:94)
at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:194)
at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:4762)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:315)
at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Attackable.java:297)
at net.sf.l2j.gameserver.handler.skill.SkillMdam.useSkill(SkillMdam.java:130)
at net.sf.l2j.gameserver.model.actor.L2Character.callSkill(L2Character.java:4518)
at net.sf.l2j.gameserver.model.actor.L2Character.onMagicHitTimer(L2Character.java:4220)
at net.sf.l2j.gameserver.model.actor.L2Character$MagicUseTask.run(L2Character.java:1787)
at net.sf.l2j.gameserver.ThreadPoolManager$TaskWrapper.run(ThreadPoolManager.java:169)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)

RaidBossSpawnData: Updated Longhorn Golkonda respawn time to 1527453056606
« Última modificación: Mayo 29, 2018, 02:58:12 am por fissban »

fissban

  • Administrador
  • Full Member
  • *
  • Mensajes: 156
  • Karma: +0/-0
    • Ver Perfil
Re:Error de Attack
« Respuesta #1 en: Mayo 27, 2018, 01:33:31 am »
Al parecer el error se genera al usar root o silence sobre un mob q tiene minions.
proba este "parche" y decime si va todo con normalidad.

Código
Index: java/net/sf/l2j/gameserver/model/actor/ai/AttackableAI.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/ai/AttackableAI.java (revision 1091)
+++ java/net/sf/l2j/gameserver/model/actor/ai/AttackableAI.java (working copy)
@@ -1079,6 +1079,14 @@
 
  private void callMinions(L2Attackable me, L2Character attacker)
  {
+ if (attacker == null)
+ {
+ if (me.getMostHated() == null)
+ {
+ return;
+ }
+ attacker = me.getMostHated();
+ }
  // If this attackable is a L2MonsterInstance and it has spawned minions, call its minions to battle
  if (me instanceof L2MonsterInstance)
  {

Mordor

  • Jr. Member
  • **
  • Mensajes: 83
  • Karma: +0/-0
    • Ver Perfil
Re:Error de Attack
« Respuesta #2 en: Mayo 27, 2018, 09:31:04 am »
Buenísimo gracias ya lo pruebo y te confirmo  8)

Mordor

  • Jr. Member
  • **
  • Mensajes: 83
  • Karma: +0/-0
    • Ver Perfil
Re:Error de Attack
« Respuesta #3 en: Mayo 27, 2018, 12:32:24 pm »
Listo, fixeado.