- edited description
ArrayIndexOutOfBoundsException when calling armor.getScriptPackage().getScript(scriptName)
Issue #18
resolved
(armor is just an ARMO record I'm calling it upon, scriptName is the name of the script as String)
I always get a ArrayIndexOutOfBoundsException when calling armor.getScriptPackage().getScript(scriptName) (I'm using SkyProc Dist v2.2.0.6 fixed)
Here the important part from the error message in my logfiles:
[EXCEPTION] java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at skyproc.ScriptPackage.getScript(ScriptPackage.java:147)
at skyproc.ScriptPackage.getScript(ScriptPackage.java:136)
Comments (4)
-
reporter -
reporter - edited description
-
reporter - changed title to ArrayIndexOutOfBoundsException when calling armor.getScriptPackage().getScript(scriptName)
- edited description
-
repo owner - changed status to resolved
Fixed in my dev repo for 2.2.0.7
- Log in to comment