03-02-2015, 03:06 AM
Ставлю кастомного бафера на сервер,и в процессе эксплуатации выдает ошибки. Нубас в кодинге) Разжуйте что посмотреть,где подправить
http://pastebin.com/L7nf4P3H
В логах такие ошибки :
http://pastebin.com/L7nf4P3H
В логах такие ошибки :
Bad RequestBypassToServer:
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.quest.QuestState.getStateId(QuestState.java:270)
at net.sf.l2j.gameserver.model.quest.Quest.createQuestInDb(Quest.java:1003)
at net.sf.l2j.gameserver.model.quest.Quest.newQuestState(Quest.java:178)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWindow(L2NpcInstance.java:1312)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeedback(L2NpcInstance.java:953)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFeedback(L2FolkInstance.java:339)
at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypassFeedback(L2MerchantInstance.java:156)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:130)
at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
/root/l2j/gameserver/data/scripts/custom/q912_buffe/__init__.py
Traceback (innermost last):
File "__init__.py", line 1255, in onTalk
AttributeError: getQuestState
at org.python.core.Py.AttributeError(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode.serializable._pyx1425254171034.onTalk$4(__init__.py:1255)
at org.python.pycode.serializable._pyx1425254171034.call_function(__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject._jcallexc(Unknown Source)
at org.python.core.PyObject._jcall(Unknown Source)
at org.python.proxies.main$Quest$351.onTalk(Unknown Source)
at net.sf.l2j.gameserver.model.quest.Quest.notifyTalk(Quest.java:358)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWindow(L2NpcInstance.java:1279)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeedback(L2NpcInstance.java:953)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFeedback(L2FolkInstance.java:339)
at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypassFeedback(L2MerchantInstance.java:156)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:130)
at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.quest.QuestState.getStateId(QuestState.java:270)
at net.sf.l2j.gameserver.model.quest.Quest.createQuestInDb(Quest.java:1003)
at net.sf.l2j.gameserver.model.quest.Quest.newQuestState(Quest.java:178)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWindow(L2NpcInstance.java:1312)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeedback(L2NpcInstance.java:953)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFeedback(L2FolkInstance.java:339)
at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypassFeedback(L2MerchantInstance.java:156)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:130)
at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
/root/l2j/gameserver/data/scripts/custom/q912_buffe/__init__.py
Traceback (innermost last):
File "__init__.py", line 1255, in onTalk
AttributeError: getQuestState
at org.python.core.Py.AttributeError(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode.serializable._pyx1425254171034.onTalk$4(__init__.py:1255)
at org.python.pycode.serializable._pyx1425254171034.call_function(__init__.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject._jcallexc(Unknown Source)
at org.python.core.PyObject._jcall(Unknown Source)
at org.python.proxies.main$Quest$351.onTalk(Unknown Source)
at net.sf.l2j.gameserver.model.quest.Quest.notifyTalk(Quest.java:358)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.showQuestWindow(L2NpcInstance.java:1279)
at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onBypassFeedback(L2NpcInstance.java:953)
at net.sf.l2j.gameserver.model.actor.instance.L2FolkInstance.onBypassFeedback(L2FolkInstance.java:339)
at net.sf.l2j.gameserver.model.actor.instance.L2MerchantInstance.onBypassFeedback(L2MerchantInstance.java:156)
at net.sf.l2j.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:130)
at net.sf.l2j.gameserver.clientpackets.ClientBasePacket.run(ClientBasePacket.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)