Read Model operator can't read the .mod-file.

Illya
Illya New Altair Community Member
edited November 2024 in Community Q&A
Hi,
i receive this message, while my process runs:
Pfad/M5P_PM10.mod': java.io.IOException: Cannot read from XML stream, wrong format: Illegal exception table range in class file org/xmlpull/mxp1/MXParser.
Can you help me please to figure this out?
This is the part of the .mod-File:
<object-stream>
  <WekaClassifier id="1" serialization="custom">
    <com.rapidminer.operator.IOObjectReader>
      <default>
        <source>W-M5P</source>
      </default>
    </com.rapidminer.operator.AbstractIOObject>
    <com.rapidminer.operator.ResultObjectAdapter>
      <default>
        <annotations id="2">
          <keyValueMap id="3"/>
        </annotations>
      </default>


Best Regards,
Illya
Tagged:

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    Hi,

    I can't give you any information on this specific problem, but the Read Model operator is deprecated anyway. Usually you should store your models in the repository with the Store operator. You can then load them in another process with the Retrieve operator. That way no direct interaction with the file system is required - everything is available directly from within RapidMiner via the repositories.

    Best regards,
    Marius
  • sinead_bracken
    sinead_bracken New Altair Community Member

    Hi there,

     

    I am having the same problem. 

     

     

    Did you ever figure this out?

     

    I save the file using the operator : write model as a .mod file, but when I go to read this model using 'read model' in another process an error arises