I'm currently having a problem loading models using the READ MODEL function. On my computer configured with Windows XP, RapidMiner 5.2.002, Java 6.0.310.5, the follwing code snippet works fine. But on my computer configured with Windows 7, RapidMiner 5.2.001 (64-bit), Java 6.0.310.5, the same code snippet fails with the following message:
Could not read file "C:\RapidMiner\Work\LearnerMdl.mod"
Java.io.IOException: cannot read XML strem, wrong format:
org/xml/pull/v1/XmlPullParseFactory.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.002">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.2.002" expanded="true" name="Process">
<process expanded="true" height="100" width="413">
<operator activated="true" class="read_model" compatibility="5.2.002" expanded="true" height="60" name="Read Model" width="90" x="313" y="30">
<parameter key="model_file" value="C:\RapidMiner\Work\LearnerMdl.mod"/>
</operator>
<connect from_op="Read Model" from_port="output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
This problem has me really confused. Has anyone else experienced any similiar issues, or can suggest any fixes. I'm thinking it might be a Java compatibility issue since the same code worked previously on both my machines.
Thanks in advance..