ahmedsuffian / aionxemu

Automatically exported from code.google.com/p/aionxemu
0 stars 0 forks source link

Bug pet_template #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[ERROR 2011-03-18 22:03:20] gameserver.network.aion.AionClientPacket:71 - Error 
handling client (xxnovaxx) message :[C] 0x84 CM_PET
java.lang.NullPointerException
    at gameserver.model.templates.pet.PetTemplate.getWarehouseFunction(PetTemplate.java:71)
    at gameserver.services.ToyPetService.summonPet(ToyPetService.java:85)
    at gameserver.network.aion.clientpackets.CM_PET.runImpl(CM_PET.java:97)
    at gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at gameserver.taskmanager.FIFORunnableQueue.removeAndExecuteFirst(FIFORunnableQueue.java:28)
    at gameserver.taskmanager.FIFOExecutableQueue.run(FIFOExecutableQueue.java:65)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:54)
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.run(ExecuteWrapper.java:39)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

How fix it ??

Original issue reported on code.google.com by apophis1...@gmail.com on 18 Mar 2011 at 9:34

GoogleCodeExporter commented 9 years ago
I've done a fix will be committed soon.

Original comment by ZeroSign...@gmail.com on 22 Mar 2011 at 10:03

GoogleCodeExporter commented 9 years ago
Committed Revision 204.

ToyPetService.summonPet, PetFunction object NULL sanity check.

Original comment by ZeroSign...@gmail.com on 22 Mar 2011 at 1:55