Ticket #2739 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

Npe

Reported by: Censor Assigned to:
Priority: critical Milestone: milestone4
Keywords: Cc:
DP Revision: 4834 L2J Revision: 2227
Geodata: Disabled

Description

at java.lang.Thread.run(Thread.java:619) Error creating new instance of Class class net.sf.l2j.gameserver.skills.effects. EffectCharge? Exception was: java.lang.NullPointerException?

at net.sf.l2j.gameserver.model.CharEffectList?.getFirstEffect(CharEffectL

ist.java:101)

at net.sf.l2j.gameserver.model.L2Character.getFirstEffect(L2Character.ja

va:3118)

at net.sf.l2j.gameserver.serverpackets.EtcStatusUpdate?.<init>(EtcStatusU

pdate.java:37)

at net.sf.l2j.gameserver.skills.effects.EffectCharge?.<init>(EffectCharge?

.java:35)

at sun.reflect.GeneratedConstructorAccessor?46.newInstance(Unknown Source

)

at sun.reflect.DelegatingConstructorAccessorImpl?.newInstance(DelegatingC

onstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at net.sf.l2j.gameserver.skills.effects.EffectTemplate?.getEffect(EffectT

emplate.java:82)

at net.sf.l2j.gameserver.model.L2Skill.getEffects(L2Skill.java:2755) at net.sf.l2j.gameserver.skills.l2skills.L2SkillCharge.useSkill(L2SkillC

harge.java:62)

at net.sf.l2j.gameserver.model.L2Character.callSkill(L2Character.java:59

17)

at net.sf.l2j.gameserver.model.L2Character.onMagicHitTimer(L2Character.j

ava:5683)

at net.sf.l2j.gameserver.model.L2Character$MagicUseTask?.run(L2Character.

java:2319)

at java.util.concurrent.Executors$RunnableAdapter?.call(Executors.java:44

1)

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(ThreadPoolExec?

utor.java:885)

at java.util.concurrent.ThreadPoolExecutor?$Worker.run(ThreadPoolExecutor?

.java:907)

at java.lang.Thread.run(Thread.java:619)

Client: [Character: xXxGammaxXx - Account: ronaldinho10 - IP: 217.18.133.23] - F ailed writing: [S] 5a PledgeShowMemberListAll? - L2J Server Version: ${l2j.revisi on} - DP Revision: ${l2jdp.revision} java.lang.NullPointerException?

at net.sf.l2j.gameserver.model.L2Clan.getLeaderName(L2Clan.java:268) at net.sf.l2j.gameserver.serverpackets.PledgeShowMemberListAll?.writePled

ge(PledgeShowMemberListAll?.java:107)

at net.sf.l2j.gameserver.serverpackets.PledgeShowMemberListAll?.writeImpl

(PledgeShowMemberListAll?.java:80)

at net.sf.l2j.gameserver.serverpackets.L2GameServerPacket.write(L2GameSe

rverPacket.java:41)

at org.mmocore.network.SelectorThread?.putPacketIntoWriteBuffer(SelectorT

hread.java:1083)

at org.mmocore.network.SelectorThread?.prepareWriteBuffer2(SelectorThread?

.java:1040)

at org.mmocore.network.SelectorThread?.writePacket2(SelectorThread?.java:9

46)

at org.mmocore.network.SelectorThread?.run(SelectorThread?.java:239)

Attachments

Change History

06/28/08 14:10:58 changed by Ky6uk

  • priority changed from Normal to critical.
  • revision changed from 2203 to 2227.
  • dp set to 4834.
  • milestone set to milestone4.
Error creating new instance of Class class net.sf.l2j.gameserver.skills.effects.EffectCharge Exception was:
java.lang.NullPointerException
        at net.sf.l2j.gameserver.model.CharEffectList.getFirstEffect(CharEffectList.java:101)
        at net.sf.l2j.gameserver.model.L2Character.getFirstEffect(L2Character.java:3108)
        at net.sf.l2j.gameserver.serverpackets.EtcStatusUpdate.<init>(EtcStatusUpdate.java:37)
        at net.sf.l2j.gameserver.skills.effects.EffectCharge.<init>(EffectCharge.java:35)
        at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at net.sf.l2j.gameserver.skills.effects.EffectTemplate.getEffect(EffectTemplate.java:82)
        at net.sf.l2j.gameserver.model.L2Skill.getEffects(L2Skill.java:2776)
        at net.sf.l2j.gameserver.skills.l2skills.L2SkillCharge.useSkill(L2SkillCharge.java:62)
        at net.sf.l2j.gameserver.model.L2Character.callSkill(L2Character.java:5907)
        at net.sf.l2j.gameserver.model.L2Character.onMagicHitTimer(L2Character.java:5673)
        at net.sf.l2j.gameserver.model.L2Character$MagicUseTask.run(L2Character.java:2309)
        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)

07/10/08 12:34:23 changed by DrHouse

  • status changed from new to closed.
  • resolution set to fixed.

(In [2255]) Fixing some NPEs in CharEffectList?. Fixes #2739


Add/Change #2739 (Npe)




Change Properties
Action