error message: FatalError: java.lang.ArrayIndexOutOf BoundsException: 784

72 views
Skip to first unread message

Helle

unread,
Sep 14, 2007, 5:44:13 AM9/14/07
to Maxent
Dear all

I am trying to do a cross-check of the distribution of my species as
done by Peterson et al. (2007), by splitting my dataset in four
quadrants and then testing if the North-West and South-East
distribution (A) can predict the distribution in the South-West and
North-East quadrants (B) and the other way around.

The fist part performed fine (calibration A, test B), but when I tried
the other way around (calibration B, test A) I get this error message:
FatalError: java.lang.ArrayIndexOutOf BoundsException: 784.

I pasted in part of the maxent log below.

Does anyone have an idea as to why this happens?

Thank you

Helle

*****

Fri Sep 14 10:55:29 CEST 2007
MaxEnt version 3.0.4 beta
Reading file Tilia_background.csv
readGrid: max memory 532742144, total allocated 2965504, free 106944,
used 2858560, increment 2858560
Reading samples from TpEU50BB.csv
Warning: Unused field Y in TpEU50BB.csv
Warning: Unused field AMT in TpEU50BB.csv
...
Time since start: 3.297
Reading samples from TpEU50AA.csv
Warning: Unused field Y in TpEU50AA.csv
Warning: Unused field AMT in TpEU50AA.csv
...
Adding samples to background in feature space
Command line:
Species: tilia_platyphyllos_EU50
Layers: DDEG5 TMIN WBAL
Layertypes: Continuous Continuous Continuous
Linear: true, Quadratic: true, Product: true, Threshold: true, Hinge:
true, Auto: true
Species file: E:\Helle\Data\TpEU50BB.csv
Environmental variables directory: E:\Helle\Data\Tilia_background.csv
Output directory: E:\Helle\MaxEnt\AABB-tests\TpEU50_STDvar
\TpEU50_STDvar_BA
Projection layers directory:
Output format: Cumulative
Output file type: .asc
Maximum iterations: 500
Convergence threshold: 1.0E-5
Remove duplicates: false
Number of background points: 10000
Bias file:
Random test percentage: 0
Test sample file: E:\Helle\Data\TpEU50AA.csv

getSamples: max memory 532742144, total allocated 4608000, free
1088672, used 3519328, increment 660768
Time since start: 4.484
Making features
makeFeatures: max memory 532742144, total allocated 4608000, free
720304, used 3887696, increment 368368
tilia_platyphyllos_EU50:
beta_cat = 0.25,beta_thr = 1.0,beta_hge = 0.5,beta_lqp = 0.05
Beta multiplier: 1.0
393 samples
Density: max memory 532742144, total allocated 10563584, free 2406408,
used 8157176, increment 4269480
linearPredictor: max memory 532742144, total allocated 10563584, free
2337640, used 8225944, increment 68768
FeaturedSpace: max memory 532742144, total allocated 10563584, free
2910880, used 7652704, increment -573240
Sequential: max memory 532742144, total allocated 10563584, free
2882568, used 7681016, increment 28312
Initial loss: 9.048291920021784
Initial test loss: 9.048291920021784
Undoing contribution: was 0.002402186339766743Time since start: 10.063
now 0.0020502583811303765
Undoing contribution: was 0.0018715960673052479 now
0.0015795852454258963
Undoing contribution: was 0.5462107152945332 now 0.5460715643812266
Undoing contribution: was 0.001957920950249381 now 0.0
Undoing contribution: was 0.002058440427992636 now 0.0010674260594703
Undoing contribution: was 0.05220273627061367 now 0.05200543223012044
Undoing contribution: was 0.10099076486605885 now 0.10053775633333029
Undoing contribution: was 0.05622728784512088 now 0.05606139302116997
Undoing contribution: was 0.05606139302116997Time since start: 11.125
now 0.055896120266810456
....
now 0.011235539225387114
Undoing contribution: was 1.61325074710561E-4 now 7.619735774611058E-5
Undoing contribution: was 0.0018213504313164819 now
0.001814521807085967
Undoing contribution: was 3.5283100174599014E-4 now
3.5111112862473703E-4
Undoing contribution: was 0.0017360320637545001 now
0.0017339587704734427
Undoing contribution: was 5.489790970436559E-5 now
5.332504886457201E-5
Undoing contribution: was 1.1156570879222727E-4 now
1.1028457788953006E-4
Undoing contribution: was 5.332504886457201E-5Time since start: 42.234
now 4.100788376693032E-5
Undoing contribution: was 2.979869138490798E-4 now
2.902230019206087E-4
Undoing contribution: was 5.334537329204636E-5 now
4.943684691216532E-5
Undoing contribution: was 3.018586207836904E-5 now
2.7349042920121747E-5
Undoing contribution: was 0.30592021711700923 now 0.30591863373585326
Undoing contribution: was 2.902230019206087E-4 now
2.697202096646478E-4
Undoing contribution: was 0.017636895175310308 now
0.017633779078432887
Undoing contribution: was 0.09925731596133236 now 0.09924834064920507
Undoing contribution: was 0.0017562906804498013Time since start:
43.391
now 0.0017552773548237255
500: time = 38.438000 loss = 7.554930 testLoss 8.351219
Time since start: 44.703
Fatal Error: java.lang.ArrayIndexOutOfBoundsException: 393
java.lang.ArrayIndexOutOfBoundsException: 393
at density.Runner.writeCumulativeIndex(Runner.java:1245)
at density.Runner.start(Runner.java:382)
at density.GUI$7.construct(GUI.java:392)
at density.SwingWorker$2.run(SwingWorker.java:108)
at java.lang.Thread.run(Thread.java:534)

B. Miller

unread,
Sep 14, 2007, 9:21:55 AM9/14/07
to Max...@googlegroups.com
Sounds like an interesting paper what is the full citation
of Peterson et al. (2007)??

Bruce

Steven Phillips

unread,
Sep 14, 2007, 5:15:34 PM9/14/07
to Max...@googlegroups.com
Helle,

We've just released a new software version, 3.0.6 beta, that fixes
a bug that I believe was causing that error.

-- Steven

Helle

unread,
Sep 17, 2007, 7:24:05 AM9/17/07
to Maxent
Problem solved. Thanks

Helle

unread,
Sep 17, 2007, 7:43:01 AM9/17/07
to Maxent
Here is a link to the article,

http://www.blackwell-synergy.com/doi/full/10.1111/j.2007.0906-7590.05102.x

On 14 Sep., 15:21, "B. Miller" <batsnc...@hughes.net> wrote:
> Sounds like an interesting paper what is the full citation
> of Peterson et al. (2007)??
>
> Bruce
>
> At 03:44 AM 9/14/2007, you wrote:
>
>
>

> >Dear all
>
> >I am trying to do a cross-check of the distribution of my species as
> >done by Peterson et al. (2007), by splitting my dataset in four
> >quadrants and then testing if the North-West and South-East
> >distribution (A) can predict the distribution in the South-West and

> >North-East quadrants (B) and the other way around.- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -

Reply all
Reply to author
Forward
0 new messages