Error using Set Role in Rapid Analytics
marcoz
New Altair Community Member
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.
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.
0
Answers
-
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
0 -
Yes, I'm interested ,
can you tell me where you found this xml?
thanks0