Process failed: operator cannot be executed. Check the log messages

reports01
reports01 New Altair Community Member
edited November 5 in Community Q&A
Oke, so I look in the logfile (which is the same as the log... but I don't see where it goes wrong, as I don't see any data (in the source file) that could go out of bounds.... "StringIndexOutOfBoundsException"... what am I missing?

P Oct 13, 2008 11:54:28 AM: Logging: log file is 'logfile.log'...
P Oct 13, 2008 11:54:28 AM: Initialising process setup
P Oct 13, 2008 11:54:28 AM: [NOTE] No filename given for result file, using stdout for logging results!
P Oct 13, 2008 11:54:28 AM: Checking properties...
P Oct 13, 2008 11:54:28 AM: Properties are ok.
P Oct 13, 2008 11:54:28 AM: Checking process setup...
P Oct 13, 2008 11:54:28 AM: Inner operators are ok.
P Oct 13, 2008 11:54:28 AM: Checking i/o classes...
P Oct 13, 2008 11:54:28 AM: i/o classes are ok. Process output: ExampleSet, AttributeWeights, PerformanceVector.
P Oct 13, 2008 11:54:28 AM: Process ok.
P Oct 13, 2008 11:54:28 AM: Process initialised
P Oct 13, 2008 11:54:28 AM: [NOTE] Process starts
P Oct 13, 2008 11:54:28 AM: Process:
  Root[1] (Process)
  +- ExampleSource[1] (ExampleSource)
  +- GA[0] (GeneticAlgorithm)
     +- XVal[0] (XValidation)
        +- Learner[0] (LibSVMLearner)
        +- ApplierChain[0] (OperatorChain)
           +- Applier[0] (ModelApplier)
           +- Evaluator[0] (Performance)
P Oct 13, 2008 11:54:28 AM: [Fatal] StringIndexOutOfBoundsException occured in 1st application of ExampleSource (ExampleSource)
P Oct 13, 2008 11:54:28 AM: [Fatal] Process failed: operator cannot be executed. Check the log messages...
         Root[1] (Process)
here ==> +- ExampleSource[1] (ExampleSource)
         +- GA[0] (GeneticAlgorithm)
            +- XVal[0] (XValidation)
               +- Learner[0] (LibSVMLearner)
               +- ApplierChain[0] (OperatorChain)
                  +- Applier[0] (ModelApplier)
                  +- Evaluator[0] (Performance)
Tagged:

Answers

  • reports01
    reports01 New Altair Community Member
    <?xml version="1.0" encoding="windows-1252"?>
    <process version="4.2">

      <operator name="Root" class="Process" expanded="yes">
          <parameter key="logfile" value="C:\Users\jeroenwagner.PRODUCTIE\Documents\rm_workspace\Cadans\logfile.log"/>
          <operator name="ExampleSource" class="ExampleSource" breakpoints="after">
              <parameter key="attributes" value="C:\Users\jeroenwagner.PRODUCTIE\Documents\rm_workspace\Cadans\Att_desc_file.aml"/>
          </operator>
          <operator name="GA" class="GeneticAlgorithm" expanded="yes">
              <parameter key="show_stop_dialog" value="true"/>
              <operator name="XVal" class="XValidation" expanded="yes">
                  <parameter key="create_complete_model" value="true"/>
                  <operator name="Learner" class="LibSVMLearner">
                      <parameter key="calculate_confidences" value="true"/>
                      <list key="class_weights">
                      </list>
                  </operator>
                  <operator name="ApplierChain" class="OperatorChain" expanded="yes">
                      <operator name="Applier" class="ModelApplier">
                          <list key="application_parameters">
                          </list>
                      </operator>
                      <operator name="Evaluator" class="Performance">
                      </operator>
                  </operator>
              </operator>
          </operator>
      </operator>

    </process>
  • reports01
    reports01 New Altair Community Member
    Or is it posible rapid, can not handle special characters within text strings?... like: &   [ &amp; ]
  • reports01
    reports01 New Altair Community Member
    Using a different learner solved the problem  ;D