Welcome! Log In Create A New Profile

Advanced

Production exception: java.lang.ArrayIndexOutofBoundsException: -1

Posted by stephen george 
Production exception: java.lang.ArrayIndexOutofBoundsException: -1
November 02, 2009 02:20AM
Finally got the reprap to work in the control pannel.

Started a test run of the mini mug without any filliment

Get to the second layer and get

Production exception: java.lang.ArrayIndexOutofBoundsException: -1

Also fails when I just try and print to a file without the reprap.

Did a search and on the forum and nothing came up.

Any ideas?

Stephen
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
November 02, 2009 02:21AM
Sorry forgot to say running 20090804 reprap host.

Stephen
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
November 02, 2009 06:39PM
Error occures on Ubuntu 9.04
Error occrs on older version of reprap software. 20090613.

Maybe its the ini setup or the system itself.

Okay tried a completely different machine. With Ubuntu 8.04.
Same error.

Switching from fived from false to true
same error

Okay

Will wipe machine and install only software required for reprap host
with default setup and mini mug.

See if that works

Stephen
Solved
November 02, 2009 09:43PM
clean install
Ubuntu 8.04 and Java 5 jre and reprap host 20090804
- still failed

#Solution was
set infill material type

from
PLA-infill
to
PLA

and it seems to be working.

My reprap is currently bulding a mini-mug (without plastic) as a test.

My current config changes are

Globals.FiveD = false
Globals.Number of extruders 1
Extruder0.extruder 0 infill material type PLA
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
November 03, 2009 06:30AM
Still think I have a problem.

Here is the mini mug trace.

Should it have those 2 lines going through the mug?

regards

Stephen
Attachments:
open | download - Screenshot.png (54.5 KB)
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
June 16, 2010 06:21AM
Hi Stephen,

did you ever get the problem resolved?

Im having the same issue, and not really sure where to start. Problem could be with drawing but suspect its a setting.

cheers graham.
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
June 16, 2010 07:03PM
Yes I did solve the issue.

Basically I was making "inteligent" desisions in the configuration. For example I only have one extruder so I setup the system to be 1 extruder not the 3 which is the default. This was the wrong way to proceed.

Anyway the solution was to wipe the whole setup. Reinstall and and do a dummy run using the defaults.
(i.e. Send gcode to a file rather than reprap).
When that works make 1 change to the setup and repeat the dummy run.
In this fasion you will soon find out which setting you changed which resulted in the issue.

hope that helps

regard

Stephen
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
June 24, 2010 06:33PM
There is no need to reinstall to return the reprap host software to defaults! Just delete the reprap.properties file, which is under ~/.reprap/ on Unix-like host OSes. I forget where it ends up under Windows.



Jonathan
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
June 24, 2010 06:36PM
Hi jmarsden

Good point, well made.

Stephen
Re: Production exception: java.lang.ArrayIndexOutofBoundsException: -1
June 27, 2010 05:29PM
Setting the extruders to below 3 seems to cause problems. I am still looking at this to see if I can work out what the reason for the issue is

Cheers

David
Sorry, only registered users may post in this forum.

Click here to login