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
RM says: my operator is a dummy Operator!!!
siamak_want
Member Posts: 98 Contributor II
Hi,
I have developed my own operator for RM and it works in RM like a charm. Now, I want to call a process which contains my own operator from my java program. But RM says:
I have developed my own operator for RM and it works in RM like a charm. Now, I want to call a process which contains my own operator from my java program. But RM says:
As I mentioned previously, my operator MClusterValidator works well in RM. but I am not able to call it from my own java program!!! It has made me so confused. Any Idea please?
...
com.rapidminer.operator.UserError: The dummy operator MClusterValidator (replacing tutorial:MClusterValidator) cannot be executed.
Tagged:
0
Answers
did you call RapidMiner.init() before executing the process? Plugins need to be initiated before you can use them.
Best,
Nils
Thanks for your guide. I have called rapidminer.init(). I changed the ExecutionMode to "EMBEDDED_WITHOUT_UI" and RM find my plugins and works fine. I mean When I change the ExecutionMode to "EMBEDDED_WITH_UI" my plugins are not identified by RM. Do you know what is the difference between these two execution modes and where is the problem?
Thanks again
the difference between both modes is that EMBEDDED_WIHTOUT_UI is headless whereas EMBEDDED_WITH_UI is not headless.
It shouldn't change anything regarding plugin loading. So I have to admit I don't know what causes these error but you can have a look yourself at RapidMiner.java line 111.
There ExecutionMode is defined. Furthermore you can try to call Plugin.setInitPlugins(true); before RapidMiner.init()
Best,
Nils