Fatal Error: java.lang.ArrayIndexOutOfBoundsException: 27

372 views
Skip to first unread message

Matt

unread,
Apr 16, 2012, 12:23:43 PM4/16/12
to Maxent
I am using Maxent 3.3.3k to model habitat suitability for 9 groups of
deep sea corals. I am using 22 predictors (15 continuous, 7
categorical) and doing 10 replicate runs with subsampling (70%
training, 30% test). For 2 of the groups I am getting the error
message "Fatal Error: java.lang.ArrayIndexOutOfBoundsException: 27"
after the 10 replicate runs have completed and the average response
curves are being generated.

I do not get this error for the other 7 groups, nor did I get the
error for previous versions of the models (with additional predictors,
masked to a slightly smaller extent).

I have tried recreating the ASCII predictor grids and sample .csv
files in different folders as well as re-booting my machine to reset
the Java environment (these were suggested solutions found from a
quick Google search). I have also tried running Maxent on a different
machine and still get the same error.

I have pasted part of maxent log file below.

Does anyone know what might be causing this error? Any help would be
greatly appreciated.

Thanks!

Matt

-----------------------------------------

Group1 average response curves
Fatal Error: java.lang.ArrayIndexOutOfBoundsException: 27
java.lang.ArrayIndexOutOfBoundsException: 27
at density.Runner.interpolateCatValues(Runner.java:919)
at density.Runner.replicatedProfiles(Runner.java:821)
at density.Runner.replicateHtmlPage(Runner.java:701)
at density.Runner.maybeReplicateHtml(Runner.java:629)
at density.Runner.start(Runner.java:585)
at density.GUI$7.construct(GUI.java:319)
at density.SwingWorker$2.run(SwingWorker.java:108)
at java.lang.Thread.run(Unknown Source)

Peter Speldewinde

unread,
May 4, 2014, 9:39:09 PM5/4/14
to max...@googlegroups.com
Has anyone found a solution to this problem????
I am having a similar issue- it runs 10 replicates then when averaging it falls over and gives "Fatal Error:java.lang.ArrayIndexOutOfBoundsException:1674"

Tamara Schenekar

unread,
Nov 9, 2021, 12:56:35 AM11/9/21
to Maxent
Same problem here. Only execption is that I try to run 3 iterations and get a "7" instead of "27" in the error message. Any solution for this?
Reply all
Reply to author
Forward
0 new messages