The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Error using Set Role in Rapid Analytics

marcozmarcoz Member Posts: 2 Contributor I
edited July 2019 in Help
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

  • georgemadathilgeorgemadathil Member Posts: 1 Learner III
    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


  • marcozmarcoz Member Posts: 2 Contributor I
    Yes, I'm interested ,
    can you tell me where you found this xml?
    thanks
Sign In or Register to comment.