L2JMobius

PathOfRogue Exception in thread

salamandra · 1 · 386

Offline salamandra

  • Vassal
  • *
    • Posts: 3
Doors problem

Quote
Exception in thread "L2jMobius High Priority ScheduledThread 4" java.lang.ClassCastException: class org.l2jmobius.gameserver.model.actor.instance.Door cannot be cast to class org.l2jmobius.gameserver.model.actor.Npc (org.l2jmobius.gameserver.model.actor.instance.Door and org.l2jmobius.gameserver.model.actor.Npc are in unnamed module of loader 'app')
   at org.l2jmobius.gameserver.model.actor.Creature.doDie(Creature.java:1836)
   at org.l2jmobius.gameserver.model.actor.instance.Door.doDie(Door.java:570)
   at org.l2jmobius.gameserver.model.actor.status.CreatureStatus.reduceHp(CreatureStatus.java:185)
   at org.l2jmobius.gameserver.model.actor.Creature.reduceCurrentHp(Creature.java:5159)
   at org.l2jmobius.gameserver.model.actor.instance.Door.reduceCurrentHp(Door.java:564)
   at org.l2jmobius.gameserver.model.actor.Creature.doAttack(Creature.java:5022)
   at org.l2jmobius.gameserver.model.actor.Creature.onHitTarget(Creature.java:4282)
   at org.l2jmobius.gameserver.model.actor.Creature.onSecondHitTimeForDual(Creature.java:4272)
   at org.l2jmobius.gameserver.taskmanager.CreatureAttackTaskManager$ScheduleAttackTask.run(CreatureAttackTaskManager.java:88)
   at org.l2jmobius.commons.threads.ThreadPool$RunnableWrapper.run(ThreadPool.java:237)
   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
   at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
   at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
   at java.base/java.lang.Thread.run(Thread.java:1583)
Exception in thread "L2jMobius High Priority ScheduledThread 3" java.lang.ClassCastException: class org.l2jmobius.gameserver.model.actor.instance.Door cannot be cast to class org.l2jmobius.gameserver.model.actor.Npc (org.l2jmobius.gameserver.model.actor.instance.Door and org.l2jmobius.gameserver.model.actor.Npc are in unnamed module of loader 'app')
   at org.l2jmobius.gameserver.model.actor.Creature.doDie(Creature.java:1836)
   at org.l2jmobius.gameserver.model.actor.instance.Door.doDie(Door.java:570)
   at org.l2jmobius.gameserver.model.actor.status.CreatureStatus.reduceHp(CreatureStatus.java:185)
   at org.l2jmobius.gameserver.model.actor.Creature.reduceCurrentHp(Creature.java:5159)
   at org.l2jmobius.gameserver.model.actor.instance.Door.reduceCurrentHp(Door.java:564)
   at org.l2jmobius.gameserver.model.actor.Creature.doAttack(Creature.java:5022)
   at org.l2jmobius.gameserver.model.actor.Creature.onHitTarget(Creature.java:4282)
   at org.l2jmobius.gameserver.model.actor.Creature.onSecondHitTimeForDual(Creature.java:4272)
   at org.l2jmobius.gameserver.taskmanager.CreatureAttackTaskManager$ScheduleAttackTask.run(CreatureAttackTaskManager.java:88)
   at org.l2jmobius.commons.threads.ThreadPool$RunnableWrapper.run(ThreadPool.java:237)
   at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
   at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358)
   at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
   at java.base/java.lang.Thread.run(Thread.java:1583)