java.lang.IllegalArgumentException

Problems with option: stream

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via Unknown by Bander Bander,
  • via Unknown by Mahdi Bazargani,
  • Stack trace

    • java.lang.IllegalArgumentException: Problems with option: stream at moa.options.ClassOption.setValueViaCLIString(ClassOption.java:69) at moa.tasks.EvaluateInterleavedTestThenTrain.doMainTask(EvaluateInterleavedTestThenTrain.java:103) at moa.tasks.MainTask.doTaskImpl(MainTask.java:50) at moa.tasks.AbstractTask.doTask(AbstractTask.java:57) at moa.tasks.TaskThread.run(TaskThread.java:76) Caused by: java.lang.Exception: Problem with options to 'ArffFileStream'. Valid options for ArffFileStream: -f arffFile ARFF file to load. -c classIndex (default: -1) Class index of data. 0 for none or -1 for last attribute in file. at moa.options.ClassOption.cliStringToObject(ClassOption.java:156) at moa.options.ClassOption.setValueViaCLIString(ClassOption.java:67) ... 4 more Caused by: java.lang.IllegalArgumentException: Unknown option: -i at moa.options.Options.setViaCLIString(Options.java:149) at moa.options.ClassOption.cliStringToObject(ClassOption.java:154) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.