Jump to content
  • 0

Problem Conquerable Halls


Question

Posted

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at com.l2jserver.script.java.JavaScriptEngine.evalClass(JavaScriptEngine.java:375)

at com.l2jserver.script.java.JavaScriptEngine.access$200(JavaScriptEngine.java:56)

at com.l2jserver.script.java.JavaScriptEngine$JavaCompiledScript.eval(JavaScriptEngine.java:93)

at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:516)

at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:457)

at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeDataScripts(L2ScriptEngineManager.java:303)

at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScriptList(L2ScriptEngineManager.java:701)

at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:311)

at l2.brick.gameserver.GameServer.main(GameServer.java:501)

Caused by: java.lang.NullPointerException

at com.l2jserver.gameserver.model.entity.clanhall.SiegableHall.setSiege(SiegableHall.java:145)

at com.l2jserver.gameserver.model.entity.clanhall.ClanHallSiegeEngine.<init>(ClanHallSiegeEngine.java:82)

at ConquerableHalls.BanditStrongHold.BanditStrongHold.<init>(BanditStrongHold.java:94)

 

Line 145

 

	_siegeZone.setSiegeInstance(siegable);

 

Line 82

 

	_hall.setSiege(this);

 

Line 94

 

super(questId, name, descr, hallId);

 

4 answers to this question

Recommended Posts

  • 0
Posted

The problem is way more deeper than you can think. The problem isn't to fix the NPE, but to know why the engine is running and receives a null value. Logically, the engine shouldn't run at all, or the value shouldn't be null.

 

Probably you got such issue on every SCH, as they're probably handled the same way.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...