Hi everyone. I have been doing some work with RM over the past few months and I keep running into a problem that I can only make go away by magic. Using 32-bit RM 4.2 under xp
[tt] P Jul 29, 2008 3:53:52 PM: [Fatal] StringIndexOutOfBoundsException occured in 1st application of Input (ExampleSource) P Jul 29, 2008 3:53:52 PM: [Fatal] Process failed: operator cannot be executed. Check the log messages... Root (Process) here ==> +- Input (ExampleSource) +- Learner (DecisionTree)[/tt]
I am only trying a simple decision tree, and I have checked for missing variables at the end of rows (none), made sure that everything is typed properly, I have tried both comma and tab delimited files for input and get the same .dat output -- as you can see I am grasping at straw here. So two questions: 1. Is there a simple explanation for what throws this error, and 2. where is that log file that it is talking about? I have looked at the object info and the message window with is where I copied the message from in the first place.
3. Ask the development team is there any way to make ExampSource print on which line it stopped?
Actually, we already place at least a message in the message viewer at the bottom (maybe you have to scroll up a bit?) saying things like:
"G Jul 31, 2008 6:53:01 PM: [Error] Data format error in line 6: the line does not provide the expected number of columns (was: 59, expected: 61)! Stop reading..."
if there is something going wrong (here, for example, in line 6). So maybe you just missed this message.
On the other your data file actually simply contains something we did not tried ourself. In the latter case, such a message is probably not provided and we would like to ask if you could provide as a sample of the data (if it is not too sensible) so that we can try to improve the error messages.