All pastes #926197 Raw Edit

NPEs

public text v1 · immutable
·published 2008-03-03 16:36 UTC
rendered paste body
Client: [Character: lyonXD - Account: lyonxd - IP: 201.50.144.10] - Failed running: [C] 2F RequestMagicSkillUse - L2J Server Version: 1770M - DP Revision: 4183
java.lang.NullPointerException
        at net.sf.l2j.gameserver.skills.conditions.ConditionTargetRaceId.testImpl(ConditionTargetRaceId.java:40)
        at net.sf.l2j.gameserver.skills.conditions.Condition.test(Condition.java:60)
        at net.sf.l2j.gameserver.model.L2Skill.checkCondition(L2Skill.java:1302)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2PcInstance.java:7643)
        at net.sf.l2j.gameserver.clientpackets.RequestMagicSkillUse.runImpl(RequestMagicSkillUse.java:86)
        at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)



Could not insert item 268680525 into DB: Reason: Duplicate entry '268680525' for key 1
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268680525' for key 1
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
        at com.mysql.jdbc.Util.getInstance(Util.java:381)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1016)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2022)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1940)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1925)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
        at net.sf.l2j.gameserver.model.L2ItemInstance.insertIntoDb(L2ItemInstance.java:1165)
        at net.sf.l2j.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:946)
        at net.sf.l2j.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:910)
        at net.sf.l2j.gameserver.model.ItemContainer.addItem(ItemContainer.java:251)
        at net.sf.l2j.gameserver.model.PcInventory.addItem(PcInventory.java:326)
        at net.sf.l2j.gameserver.model.quest.QuestState.giveItems(QuestState.java:453)
        at net.sf.l2j.gameserver.model.quest.QuestState.giveItems(QuestState.java:437)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)
        at org.python.core.PyMethod.__call__(PyMethod.java:99)
        at org.python.core.PyObject.__call__(PyObject.java:650)
        at org.python.pycode._pyx284.onKill$6(__init__.py:302)
        at org.python.pycode._pyx284.call_function(__init__.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:217)
        at org.python.core.PyTableCode.call(PyTableCode.java:437)
        at org.python.core.PyTableCode.call(PyTableCode.java:333)
        at org.python.core.PyFunction.__call__(PyFunction.java:195)
        at org.python.core.PyMethod.__call__(PyMethod.java:99)
        at org.python.core.PyObject.__call__(PyObject.java:615)
        at org.python.core.PyObject._jcallexc(PyObject.java:2678)
        at org.python.core.PyObject._jcall(PyObject.java:2710)
        at org.python.proxies.main$Quest$284.onKill(Unknown Source)
        at net.sf.l2j.gameserver.model.quest.Quest.notifyKill(Quest.java:292)
        at net.sf.l2j.gameserver.model.L2Attackable.doDie(L2Attackable.java:470)
        at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.doDie(L2MonsterInstance.java:199)
        at net.sf.l2j.gameserver.model.actor.status.CharStatus.reduceHp(CharStatus.java:231)
        at net.sf.l2j.gameserver.model.actor.status.NpcStatus.reduceHp(NpcStatus.java:45)
        at net.sf.l2j.gameserver.model.L2Character.reduceCurrentHp(L2Character.java:6375)
        at net.sf.l2j.gameserver.model.L2Attackable.reduceCurrentHp(L2Attackable.java:417)
        at net.sf.l2j.gameserver.model.L2Attackable.reduceCurrentHp(L2Attackable.java:361)
        at net.sf.l2j.gameserver.skills.l2skills.L2SkillDrain.useSkill(L2SkillDrain.java:160)
        at net.sf.l2j.gameserver.model.L2Character.callSkill(L2Character.java:6063)
        at net.sf.l2j.gameserver.model.L2Character.onMagicHitTimer(L2Character.java:5766)
        at net.sf.l2j.gameserver.model.L2Character$MagicUseTask.run(L2Character.java:2067)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

Client [Character: DarkEnergy - Account: darkone - IP: 200.220.219.124] disconnected abnormally.
Could not insert item 268680525 into DB: Reason: Duplicate entry '268680525' for key 1
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268680525' for key 1
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
        at com.mysql.jdbc.Util.getInstance(Util.java:381)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1016)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2022)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1940)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1925)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
        at net.sf.l2j.gameserver.model.L2ItemInstance.insertIntoDb(L2ItemInstance.java:1165)
        at net.sf.l2j.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:946)
        at net.sf.l2j.gameserver.model.ItemContainer.updateDatabase(ItemContainer.java:545)
        at net.sf.l2j.gameserver.network.L2GameClient.saveCharToDisk(L2GameClient.java:271)
        at net.sf.l2j.gameserver.network.L2GameClient$AutoSaveTask.run(L2GameClient.java:607)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)



java.lang.NullPointerException
        at javolution.util.FastList$Node.access$300(Unknown Source)
        at javolution.util.FastList.valueOf(Unknown Source)
        at javolution.util.FastCollection.remove(Unknown Source)
        at net.sf.l2j.gameserver.instancemanager.ItemsOnGroundManager.removeObject(ItemsOnGroundManager.java:169)
        at net.sf.l2j.gameserver.model.L2Object.decayMe(L2Object.java:155)
        at net.sf.l2j.gameserver.model.L2Character.onDecay(L2Character.java:312)
        at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.onDecay(L2NpcInstance.java:2203)
        at net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance.endDecayTask(L2NpcInstance.java:2265)
        at net.sf.l2j.gameserver.handler.skillhandlers.Sweep.useSkill(Sweep.java:97)
        at net.sf.l2j.gameserver.model.L2Character.callSkill(L2Character.java:6061)
        at net.sf.l2j.gameserver.model.L2Character.onMagicHitTimer(L2Character.java:5766)
        at net.sf.l2j.gameserver.model.L2Character$MagicUseTask.run(L2Character.java:2067)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)