[SOLVED] Expected data of type IOObject

NoorNoor MemberPosts:5Contributor I
edited November 2018 inHelp
I have created a new filter operator and added it inside the ProcessDocument operator, after Tokenize operator.

When I try to run the process, the following error occurs.
Process Failed
Wrong data of type of Document was delivered at port 'document'
Expected data of type IOObject

The xml of the ProcessDocument is





<宏/ >



























Any idea what can be wrong?
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University ProfessorPosts:1,984RM Engineering
    Hi,

    your operator needs to return the type "com.rapidminer.operator.text.Document". Otherwise the output of your operator is not compatible to the expected input on the right side of the "Process Documents" operator. Make sure to not run into the duplicate class loading trap as describedhere.

    Regards,
    Marco
  • NoorNoor MemberPosts:5Contributor I
    Hello,

    I have downloaded the source code of TextProcessing_Unuk and added it as a required Project, removed the rmx_text.jar file from the library folder.

    And now I have successfully integrated my operator in RapidMiner.

    Thanks a lot Sir.

    Aniee
  • ahtsham58ahtsham58 MemberPosts:1Contributor I

    Hi Ainee

    I am encountering the same problem while tokenizing document


    @Noorwrote:
    Hello,

    I have downloaded the source code of TextProcessing_Unuk and added it as a required Project, removed the rmx_text.jar file from the library folder.

    And now I have successfully integrated my operator in RapidMiner.

    Thanks a lot Sir.

    Aniee


    I get the same error.
    Can you please elaborate the steps how did you fix it?

  • jczogallajczogalla Employee, MemberPosts:144RM Engineering

    Hi ahtsham,

    I think this might help with using the text extension as a depdendency:RapidProM-extension-issue

    The process is the same, just exchange RapidProM extension with text extension.:)

    Cheers

Sign InorRegisterto comment.