Error: IndexOutOfBoundsException

This forum is closed, and read-only.
Locked
Dimmadome
PLS Junior User
Posts: 3
Joined: Thu Oct 16, 2014 1:37 pm
Real name and title: Rob van den Berg BSc

Error: IndexOutOfBoundsException

Post by Dimmadome »

I have a problem. Whatever I try, I get the error as stated in the title. How can I fix this? Any help is very much appreciated.
jmbecker
SmartPLS Developer
Posts: 1284
Joined: Tue Mar 28, 2006 11:09 am
Real name and title: Dr. Jan-Michael Becker

Re: Error: IndexOutOfBoundsException

Post by jmbecker »

First, please open a support request.
Second, please provide more information: 1) Which algorithm, 2) What kind of model, 3) When exactly does the error ocurr?
If posible you may also send an example dataset and model with your support request or at least a screen shot, so that we can find the problem.
Dr. Jan-Michael Becker, BI Norwegian Business School, SmartPLS Developer
Researchgate: https://www.researchgate.net/profile/Jan_Michael_Becker
GoogleScholar: http://scholar.google.de/citations?user ... AAAJ&hl=de
Dimmadome
PLS Junior User
Posts: 3
Joined: Thu Oct 16, 2014 1:37 pm
Real name and title: Rob van den Berg BSc

Re: Error: IndexOutOfBoundsException

Post by Dimmadome »

Thanks for the reply and sorry for the incompleteness of my previous post. I hoped that this was a common error and easy to fix.

I have a data (CSV-)file with a total of 85 indicators and 102 cases. Some data is missing. These cells are left empty.
When I import the data file, SmartPLS provides the information about the raw file as shown in the picture I attached.

When I test random relations between latent variables (indicators assigned to the variables with no further theoretical meaning) by using the PLS Algorithm button, SmartPLS runs without problems in some cases. I do not know if this is a coincidence or not, but all (random) models I try including only indicators 1 to 34 work perfectly well. As soon as indicator 35 or higher is included, I get the error message as in the picture I also attached (after hitting the PSL Algorithm button, using default settings). (Sometimes it says Index: 97, Size: 97. Or 99).

Another question: Why does SmartPLS say that there is a total of 97 rows?

This is the first time I use this program, so I hope I am not a burden in this forum. I will also open a support request as suggested.
Attachments
SmartPLSerror.jpg
SmartPLSerror.jpg (77.54 KiB) Viewed 6422 times
SmartPLSimage.jpg
SmartPLSimage.jpg (210.78 KiB) Viewed 6422 times
jmbecker
SmartPLS Developer
Posts: 1284
Joined: Tue Mar 28, 2006 11:09 am
Real name and title: Dr. Jan-Michael Becker

Re: Error: IndexOutOfBoundsException

Post by jmbecker »

You need a specific numeric value as missing value. I would suggest something like -999

Actually, your data file should not validate, but at the moment there is a problem with missing values that are really missing (as in your case). We will try to fix that in one of the next releases. Nevertheless, you will need a specific numeric value for your missing values.
Dr. Jan-Michael Becker, BI Norwegian Business School, SmartPLS Developer
Researchgate: https://www.researchgate.net/profile/Jan_Michael_Becker
GoogleScholar: http://scholar.google.de/citations?user ... AAAJ&hl=de
Dimmadome
PLS Junior User
Posts: 3
Joined: Thu Oct 16, 2014 1:37 pm
Real name and title: Rob van den Berg BSc

Re: Error: IndexOutOfBoundsException

Post by Dimmadome »

Thank you very much. The calculations run very smoothly now.
Locked