[SOLVED] Crash on almost every process, even simple ones

jforr
jforr New Altair Community Member
edited November 5 in Community Q&A
I'm not sure what's going on here, but pretty much every model I've tried is failing with the error below.  I've used Rapidminer successfully before, but I'm sure I'm doing something dumb.

RapidMiner: 5.3.000
recommenders: 5.0.010
WordNet: 5.2.000
DM Assistant: 5.1.002
MLWizard: 5.2.002
Anomaly Detection: 1.3.000
Reporting: 5.2.000
Series: 5.2.000
Text Processing: 5.3.000
Parallel Processing: 5.1.000
Intelligent Discovery Assistant: 5.1.000
Weka: 5.1.001
Community: 5.1.000
Optimization: 1.0.0



Stack trace:
------------

Exception: java.lang.IllegalArgumentException
Message: null
Stack trace:
 java.util.concurrent.ThreadPoolExecutor.setMaximumPoolSize(Unknown Source)
 com.rapidminer.operator.executor.ParallelUnitExecutorService.setPoolSize(ParallelUnitExecutorService.java:119)
 com.rapidminer.operator.executor.ParallelUnitExecutorService.decreasePoolSize(ParallelUnitExecutorService.java:111)
 com.rapidminer.operator.executor.ParallelUnitExecutor.execute(ParallelUnitExecutor.java:183)
 com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:711)
 com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
 com.rapidminer.operator.Operator.execute(Operator.java:852)
 com.rapidminer.Process.run(Process.java:949)
 com.rapidminer.Process.run(Process.java:873)
 com.rapidminer.Process.run(Process.java:832)
 com.rapidminer.Process.run(Process.java:827)
 com.rapidminer.Process.run(Process.java:817)
 com.rapidminer.gui.ProcessThread.run(ProcessThread.java:63)



Process:
------------

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.000">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="5.3.000" expanded="true" name="Process">
   <parameter key="logverbosity" value="init"/>
   <parameter key="random_seed" value="2001"/>
   <parameter key="send_mail" value="never"/>
   <parameter key="notification_email" value=""/>
   <parameter key="process_duration_for_mail" value="30"/>
   <parameter key="encoding" value="SYSTEM"/>
   <parameter key="parallelize_main_process" value="true"/>
   <process expanded="true" height="756" width="898">
     <operator activated="true" class="retrieve" compatibility="5.3.000" expanded="true" height="60" name="Retrieve" width="90" x="45" y="75">
       <parameter key="repository_entry" value="PATWriteOffs"/>
     </operator>
     <operator activated="true" class="x_validation" compatibility="5.3.000" expanded="true" height="112" name="Validation" width="90" x="302" y="103">
       <parameter key="create_complete_model" value="false"/>
       <parameter key="average_performances_only" value="true"/>
       <parameter key="leave_one_out" value="false"/>
       <parameter key="number_of_validations" value="2"/>
       <parameter key="sampling_type" value="shuffled sampling"/>
       <parameter key="use_local_random_seed" value="false"/>
       <parameter key="local_random_seed" value="1992"/>
       <parameter key="parallelize_training" value="false"/>
       <parameter key="parallelize_testing" value="false"/>
       <process expanded="true" height="756" width="430">
         <operator activated="true" class="k_nn" compatibility="5.3.000" expanded="true" height="76" name="k-NN" width="90" x="159" y="77">
           <parameter key="k" value="3"/>
           <parameter key="weighted_vote" value="false"/>
           <parameter key="measure_types" value="MixedMeasures"/>
           <parameter key="mixed_measure" value="MixedEuclideanDistance"/>
           <parameter key="nominal_measure" value="NominalDistance"/>
           <parameter key="numerical_measure" value="EuclideanDistance"/>
           <parameter key="divergence" value="GeneralizedIDivergence"/>
           <parameter key="kernel_type" value="radial"/>
           <parameter key="kernel_gamma" value="1.0"/>
           <parameter key="kernel_sigma1" value="1.0"/>
           <parameter key="kernel_sigma2" value="0.0"/>
           <parameter key="kernel_sigma3" value="2.0"/>
           <parameter key="kernel_degree" value="3.0"/>
           <parameter key="kernel_shift" value="1.0"/>
           <parameter key="kernel_a" value="1.0"/>
           <parameter key="kernel_b" value="0.0"/>
         </operator>
         <connect from_port="training" to_op="k-NN" to_port="training set"/>
         <connect from_op="k-NN" from_port="model" to_port="model"/>
         <portSpacing port="source_training" spacing="0"/>
         <portSpacing port="sink_model" spacing="0"/>
         <portSpacing port="sink_through 1" spacing="0"/>
       </process>
       <process expanded="true" height="756" width="430">
         <operator activated="true" class="apply_model" compatibility="5.3.000" expanded="true" height="76" name="Apply Model" width="90" x="71" y="127">
           <list key="application_parameters"/>
           <parameter key="create_view" value="false"/>
         </operator>
         <operator activated="true" class="performance" compatibility="5.3.000" expanded="true" height="76" name="Performance" width="90" x="210" y="196">
           <parameter key="use_example_weights" value="true"/>
         </operator>
         <connect from_port="model" to_op="Apply Model" to_port="model"/>
         <connect from_port="test set" to_op="Apply Model" to_port="unlabelled data"/>
         <connect from_op="Apply Model" from_port="labelled data" to_op="Performance" to_port="labelled data"/>
         <connect from_op="Performance" from_port="performance" to_port="averagable 1"/>
         <portSpacing port="source_model" spacing="0"/>
         <portSpacing port="source_test set" spacing="0"/>
         <portSpacing port="source_through 1" spacing="0"/>
         <portSpacing port="sink_averagable 1" spacing="0"/>
         <portSpacing port="sink_averagable 2" spacing="0"/>
       </process>
     </operator>
     <connect from_op="Retrieve" from_port="output" to_op="Validation" to_port="training"/>
     <connect from_op="Validation" from_port="model" to_port="result 1"/>
     <connect from_op="Validation" from_port="training" to_port="result 2"/>
     <connect from_op="Validation" from_port="averagable 1" to_port="result 3"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
     <portSpacing port="sink_result 2" spacing="0"/>
     <portSpacing port="sink_result 3" spacing="0"/>
     <portSpacing port="sink_result 4" spacing="0"/>
   </process>
 </operator>
</process>



System properties:
------------

os properties:
 os.name = Windows Server 2008 R2
 os.version = 6.1
 os.arch = amd64
java properties:
 java.home = C:\Program Files\Rapid-I\RapidMiner5\jre
 java.endorsed.dirs = C:\Program Files\Rapid-I\RapidMiner5\jre\lib\endorsed
 java.vendor.url = http://java.oracle.com/
 java.version = 1.7.0_11
 java.vendor.url.bug = http://bugreport.sun.com/bugreport/
 java.runtime.name = Java(TM) SE Runtime Environment
 java.specification.name = Java Platform API Specification
 java.io.tmpdir = C:\Users\ADMINI~1\AppData\Local\Temp\2\
 java.vm.info = mixed mode
 java.vm.specification.name = Java Virtual Machine Specification
 java.awt.printerjob = sun.awt.windows.WPrinterJob
 java.specification.vendor = Oracle Corporation
 java.vm.name = Java HotSpot(TM) 64-Bit Server VM
 java.library.path = C:\Program Files\Rapid-I\RapidMiner5\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.
 java.class.version = 51.0
 java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
 java.vm.specification.version = 1.7
 java.ext.dirs = C:\Program Files\Rapid-I\RapidMiner5\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
 java.vm.vendor = Oracle Corporation
 java.vm.version = 23.6-b04
 java.class.path = lib/launcher.jar
 java.vm.specification.vendor = Oracle Corporation
 java.runtime.version = 1.7.0_11-b21
 java.vendor = Oracle Corporation
 java.specification.version = 1.7
RapidMiner Parameters:
 connection.timeout = 20000
 ftp.nonProxyHosts =
 ftp.proxyHost =
 ftp.proxyPassword =
 ftp.proxyPort =
 ftp.proxySet = false
 ftp.proxyUsername =
 http.nonProxyHosts =
 http.proxyHost =
 http.proxyPassword =
 http.proxyPort =
 http.proxySet = false
 http.proxyUsername =
 https.proxyHost =
 https.proxyPassword =
 https.proxyPort =
 https.proxySet = false
 https.proxyUsername =
 rapidminer.elico.ida.converter.column_threshold = 20
 rapidminer.elico.ida.flora.host = localhost
 rapidminer.elico.ida.flora.path = C:\XSBFLORABUNDLE
 rapidminer.elico.ida.flora.port = 2000
 rapidminer.elico.ida.flora.temppath = C:\Users\Administrator\.RapidMiner5\ida\flora
 rapidminer.elico.ida.num_plans = 3
 rapidminer.elico.ida.use_server = false
 rapidminer.general.capabilities.warn = false
 rapidminer.general.debugmode = false
 rapidminer.general.encoding = SYSTEM
 rapidminer.general.fractiondigits.numbers = 3
 rapidminer.general.fractiondigits.percent = 2
 rapidminer.general.locale.language = en
 rapidminer.general.logfile.format = no
 rapidminer.general.max_rows_used_for_guessing = 100
 rapidminer.general.md_nominal_values_limit = 100
 rapidminer.general.number_of_threads = 0
 rapidminer.general.randomseed = 2001
 rapidminer.general.timezone = SYSTEM
 rapidminer.gui.add_breakpoint_results_to_history = false
 rapidminer.gui.attributeeditor.columnlimit = 20
 rapidminer.gui.attributeeditor.rowlimit = 50
 rapidminer.gui.auto_switch_to_resultview = true
 rapidminer.gui.autowire_input = true
 rapidminer.gui.autowire_output = true
 rapidminer.gui.beep.breakpoint = true
 rapidminer.gui.beep.error = true
 rapidminer.gui.beep.success = true
 rapidminer.gui.close_all_results_without_confirmation = ask
 rapidminer.gui.close_results_before_run = true
 rapidminer.gui.confirm_exit = true
 rapidminer.gui.disconnect_on_disable = true
 rapidminer.gui.evaluate_meta_data_for_sql_queries = true
 rapidminer.gui.fetch_data_base_table_names = true
 rapidminer.gui.log_level = CONFIG
 rapidminer.gui.max_displayed_values = 50
 rapidminer.gui.max_sortable_rows = 100000
 rapidminer.gui.max_statistics_rows = 100000
 rapidminer.gui.messageviewer.highlight.errors = 255,51,204
 rapidminer.gui.messageviewer.highlight.logservice = 184,184,184
 rapidminer.gui.messageviewer.highlight.notes = 51,151,51
 rapidminer.gui.messageviewer.highlight.warnings = 51,51,255
 rapidminer.gui.messageviewer.rowlimit = 1000
 rapidminer.gui.plaf = system
 rapidminer.gui.plotter.colors.classlimit = 10
 rapidminer.gui.plotter.legend.classlimit = 20
 rapidminer.gui.plotter.legend.maxcolor = 255,0,0
 rapidminer.gui.plotter.legend.mincolor = 0,0,255
 rapidminer.gui.plotter.matrixplot.size = 200
 rapidminer.gui.plotter.rows.maximum = 5000
 rapidminer.gui.processinfo.show = true
 rapidminer.gui.resolve_relative_repository_locations = true
 rapidminer.gui.result_display_type = docking
 rapidminer.gui.run_process_on_rapidanalytics_now = ask
 rapidminer.gui.save_before_run = true
 rapidminer.gui.save_on_process_creation = false
 rapidminer.gui.savedialog = true
 rapidminer.gui.snap_to_grid = true
 rapidminer.gui.transfer_usagestats = ask
 rapidminer.gui.undolist.size = 10
 rapidminer.gui.update.check = true
 rapidminer.init.plugins = true
 rapidminer.init.plugins.location =
 rapidminer.parallel.number_of_threads = 1
 rapidminer.paren.wizard.meta_learning_model =
 rapidminer.tools.db.assist.show_only_standard_tables = true
 rapidminer.tools.editor =
 rapidminer.tools.gnuplot.command = gnuplot
 rapidminer.tools.mail.default_recipient =
 rapidminer.tools.mail.method = SMTP
 rapidminer.tools.mail.process_duration_for_mail = 30
 rapidminer.tools.myexperiment_url = http://www.myexperiment.org/
 rapidminer.tools.sendmail.command = /usr/sbin/sendmail
 rapidminer.tools.smtp.host =
 rapidminer.tools.smtp.passwd =
 rapidminer.tools.smtp.port =
 rapidminer.tools.smtp.user =
 rapidminer.update.check = true
 rapidminer.update.incremental = true
 rapidminer.update.purchased.not_installed.check = true
 rapidminer.update.to_home = true
 rapidminer.update.url = http://rapidupdate.de:8180/UpdateServer
 rapidminer.version = 5.2.006
 recommender.allow_process_upload = true
 recommender.service_url = http://recommender.rapid-i.com:80/OperatorRecommenderService/RecommenderService?wsdl
 socksProxyHost =
 socksProxyPort =
Tagged:

Answers

  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    apparently there was a bug that occured when determining the number of threads for the process that should be started. We have fixed the bug and will deliver an update soon.
    Meanwhile please set the number of threads that is defined in the preference rapidminer.parallel.number.of.threads to a number greater than 1. This should fix it.

    Best,
    Nils
  • jforr
    jforr New Altair Community Member
    Thank You! I figured from the report it was something with the parallel processing, but my searches turned up nothing.