Error using Set Role in Rapid Analytics

marcoz
marcoz New Altair Community Member
edited November 5 in Community Q&A
Hi,
I have created a process using "set role" block inside. In local rapid miner, the process correctly works but when I run it on rapid analytics server the process fails with the following error:
com.rapidminer.operator.UserError: The attribute '' does not exist.

Please, Could anybody help me ? Thanks.

Answers

  • georgemadathil
    georgemadathil New Altair Community Member
    Hi,

    I faced the same issue today. I print the xml for the set role operator in my java code,

    Operator op = process0.getOperator("Role_test");
    System.out.println("c "+op.getXML(false));


    I found that the attribute name is missing in the xml even if the property "attribute name" set from the Rapidminer GUI.

    so I set the attribute from my java code and the problem sloved

    process0.getOperator("Role_test").setParameter("name", "icd_code");


    Hope this helps
    :)

    Ciju George


  • marcoz
    marcoz New Altair Community Member
    Yes, I'm interested ,
    can you tell me where you found this xml?
    thanks