RapidMiner/Netbeans problem.

ReemReem MemberPosts:20Contributor I
edited November 2018 inHelp
Hi,

I am working on text classification project, I was trying to integrate the model I built in Rapidminer GUI but I have problems in the code which I couldn't solve to move on!

- I'm using rapid miner 5.3.015
- I added all rapid miner jars to the netbean project
- I am beginner user.
- here is my xml file:







<运营商激活= " true "类= compati“过程”bility="5.3.015" expanded="true" name="Process">






















































and here is my initial trials:
Following the API documentation:
public static void main(String[] args) {
try {
RapidMiner.setExecutionMode(RapidMiner.ExecutionMode.COMMAND_LINE);
RapidMiner.init();

Process process = new Process(new File("W:/RapidMinerRepository/textKNNClassifier.rmp"));
process.run();

} catch (IOException | XMLException | OperatorException ex) {
ex.printStackTrace();
}
}
In this code there is no editor errors but it showed me this error: com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'operatorName' must be specified!
So, I couldn't figure where is the problem exactly!
另一项试验这个线程:http://rapid-i.com/rapidforum/index.php/topic,3862.msg14364.html#msg14364
public static void main(String[] args) throws MalformedRepositoryLocationException, RepositoryException {
// this initializes RapidMiner with your repositories available
RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);
RapidMiner.init();

// loads the process from the repository
RepositoryLocation pLoc = new RepositoryLocation("W:/RapidMinerRepository/textKNNClassifier.rmp");
ProcessEntry pEntry = (ProcessEntry) pLoc.locateEntry();
String processXML = pEntry.retrieveXML();
Process myProcess = new Process(processXML); //error

// execute the process and get the resulting objects
IOContainer ioInput = new IOContainer(new IOObject[] {myIOObject});
myProcess.run(); //error
}
errors shown by netbean editor are for words creating Process object and calling run() method
So, any idea how to solve this problem?
Thanks in advance:)
Tagged:

Answers

  • fischerfischer MemberPosts:439Maven
    Hi,

    in the thread you mention, Marco has given you an example on how to load the process via the RepositoryLocation. In your third code block you are using it incorrectly since you are not referncing a repository entry (starting with "//"), but a file.

    For the second code block it would make sense to paste the stack trace. Looks like the parameter "operatorName" is not set in the process, but that parameter does not follow naming conventions, so I suspect a copy paste problem.

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

    a couple of things:

    1) new RepositoryLocation("W:/RapidMinerRepository/textKNNClassifier.rmp"); will not work because a repository location is NOT your filesystem, but rather the internal RapidMiner repository. So it should look more like new RepositoryLocation("//Local Repository/textKNNCLassifier").

    2) You probably imported java.lang.Process by accident instead of com.rapidminer.Process in your second example.

    3) The error you posted is not complete so helping you there is a bit difficult, however most of the time it simply means you did not specifiy a mandatory parameter for one of the operators.

    Regards,
    Marco
  • ReemReem MemberPosts:20Contributor I
    Hi,

    ——所以,第一个问题是r的路径epository.
    Do you mean it should be inside the workspace>java project?
    Sorry but i need more explanation about the difference between "my filesystem" and "internal RapidMiner repository"

    - I've double checked the imported lines, but It seems I imported com.rapidminer.Process not java.lang.Process.

    - My main problem is how could I figure out what are the operator that I miss naming them or one of their parameters.

    here is the code again with the error (I deleted couple of repeated lines since the post is limited to 20000 chars).

    import com.rapidminer.RapidMiner;
    import com.rapidminer.Process;
    import com.rapidminer.RapidMiner.ExecutionMode;
    import com.rapidminer.operator.OperatorException;
    import com.rapidminer.repository.ProcessEntry;
    import com.rapidminer.repository.RepositoryException;
    import com.rapidminer.repository.RepositoryLocation;
    import com.rapidminer.tools.XMLException;
    import java.io.IOException;


    public class RpaidMinerTest {

    public static void main(String[] args) throws RepositoryException {
    try {
    // this initializes RapidMiner with your repositories available
    RapidMiner.setExecutionMode(ExecutionMode.COMMAND_LINE);
    RapidMiner.init();

    // loads the process from the repository
    RepositoryLocation pLoc = new RepositoryLocation("//RMRepository/testKNNClassifier.rmp");
    ProcessEntry pEntry = (ProcessEntry) pLoc.locateEntry();
    String processXML = pEntry.retrieveXML();
    Process myProcess = new Process(processXML);
    myProcess.run();

    } catch (IOException | XMLException | OperatorException ex) {
    ex.printStackTrace();
    }
    }
    }
    run:
    Mar 08, 2014 9:03:07 PM com.rapidminer.tools.ParameterService init
    INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
    Mar 08, 2014 9:03:07 PM com.rapidminer.tools.I18N
    INFO: Set locale to en.
    Mar 08, 2014 9:03:08 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
    INFO: Property rapidminer.home is not set. Guessing.
    Mar 08, 2014 9:03:08 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
    INFO: Trying parent directory of 'C:\Program Files\Rapid-I\RapidMiner5\lib\rapidminer.jar'...gotcha!
    Mar 08, 2014 9:03:08 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
    INFO: Trying parent directory of 'C:\Program Files\Rapid-I\RapidMiner5\lib\launcher.jar'...gotcha!
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: QuantX-1 Extension
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Information-Extraction
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: edda
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Reporting
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Anomaly Detection
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: MDL
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Parallel Processing
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Text Processing
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: LifeStyle Marketing
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Feature-Selection-Extension
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: LOD
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: PRules
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: recommenders
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: semweb
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: PMML
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: WordNet
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Tacl
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: MLWizard
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Web Mining
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Series
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: SOM
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Intelligent Discovery Assistant
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Weka
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: VISUALIZATIONS
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Ontological Extension for RM
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Extension Development
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Community
    Mar 08, 2014 9:03:10 PM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Optimization
    Mar 08, 2014 9:03:15 PM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator SPARQL Endpoint Connection.
    Mar 08, 2014 9:03:18 PM com.rapidminer.tools.expression.parser.ExpressionParserFactory
    INFO: Default version of expression parser registered successfully
    Mar 08, 2014 9:03:22 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
    WARNING: Password in XML file looks like unencrypted plain text.
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'operatorName' must be specified!
    at com.rapidminer.parameter.Parameters.getParameter(Parameters.java:167)
    at com.rapidminer.operator.Operator.getParameter(Operator.java:1210)
    at com.rapidminer.operator.Operator.getParameterAsString(Operator.java:1228)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.toString(RelationPreprocessOperatorImpl.java:94)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.modifyMetaData(RelationPreprocessOperatorImpl.java:114)
    at com.rapidminer.operator.AbstractExampleSetProcessing$1.modifyMetaData(AbstractExampleSetProcessing.java:60)
    at com.rapidminer.operator.ports.metadata.PassThroughRule.transformMD(PassThroughRule.java:58)
    at com.rapidminer.operator.ports.metadata.MDTransformer.transformMetaData(MDTransformer.java:58)
    at com.rapidminer.operator.Operator.transformMetaData(Operator.java:2161)
    at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:521)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
    at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:483)
    at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:807)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:181)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
    at rpaidminertest.RpaidMinerTest.main(RpaidMinerTest.java:23)
    com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'operatorName' must be specified!
    at com.rapidminer.parameter.Parameters.getParameter(Parameters.java:167)
    at com.rapidminer.operator.Operator.getParameter(Operator.java:1210)
    at com.rapidminer.operator.Operator.getParameterAsString(Operator.java:1228)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.toString(RelationPreprocessOperatorImpl.java:94)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.modifyMetaData(RelationPreprocessOperatorImpl.java:114)
    at com.rapidminer.operator.AbstractExampleSetProcessing$1.modifyMetaData(AbstractExampleSetProcessing.java:60)
    at com.rapidminer.operator.ports.metadata.PassThroughRule.transformMD(PassThroughRule.java:58)
    at com.rapidminer.operator.ports.metadata.MDTransformer.transformMetaData(MDTransformer.java:58)
    at com.rapidminer.operator.Operator.transformMetaData(Operator.java:2161)
    at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:521)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
    at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:483)
    at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:807)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:181)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
    at rpaidminertest.RpaidMinerTest.main(RpaidMinerTest.java:23)
    com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'operatorName' must be specified!
    at com.rapidminer.parameter.Parameters.getParameter(Parameters.java:167)
    at com.rapidminer.operator.Operator.getParameter(Operator.java:1210)
    at com.rapidminer.operator.Operator.getParameterAsString(Operator.java:1228)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.toString(RelationPreprocessOperatorImpl.java:94)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.modifyMetaData(RelationPreprocessOperatorImpl.java:114)
    at com.rapidminer.operator.AbstractExampleSetProcessing$1.modifyMetaData(AbstractExampleSetProcessing.java:60)
    at com.rapidminer.operator.ports.metadata.PassThroughRule.transformMD(PassThroughRule.java:58)
    at com.rapidminer.operator.ports.metadata.MDTransformer.transformMetaData(MDTransformer.java:58)
    at com.rapidminer.operator.Operator.transformMetaData(Operator.java:2161)
    at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:521)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
    at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:483)
    at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:807)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:181)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
    at rpaidminertest.RpaidMinerTest.main(RpaidMinerTest.java:23)
    Mar 08, 2014 9:03:24 PM com.rapidminer.tools.OperatorService parseOperators
    WARNING: Cannot create operator description: rmx_information_extraction : binary_kernel_naiveBayes_operator
    java.lang.ClassNotFoundException: com.rapidminer.operator.learner.bayes.BinaryTreeKernelNaiveBayes
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at com.rapidminer.tools.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:102)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:266)
    at com.rapidminer.operator.OperatorDescription.(OperatorDescription.java:93)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:300)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
    at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:483)
    at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:807)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:181)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
    at rpaidminertest.RpaidMinerTest.main(RpaidMinerTest.java:23)

    Mar 08, 2014 9:03:25 PM com.rapidminer.operator.LifeStyle_Marketing.LifeStyle_Targeting WriteLog
    SEVERE: Error com.rapidminer.operator.ports.metadata.MetaData cannot be cast to com.rapidminer.operator.ports.metadata.ExampleSetMetaData .
    Mar 08, 2014 9:03:25 PM com.rapidminer.tools.math.similarity.DistanceMeasureHelper updateMeasure
    WARNING: While updating distance measure: com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'measure_types' must be specified! Expected integer but found 'null'.
    Mar 08, 2014 9:03:25 PM com.rapidminer.tools.math.similarity.DistanceMeasureHelper updateMeasure
    WARNING: While updating distance measure: com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'measure_types' must be specified! Expected integer but found 'null'.
    Mar 08, 2014 9:03:30 PM com.rapidminer.tools.plugin.Plugin registerOperators
    INFO: No operator descriptor specified for plugin Community. Trying plugin initializtation class com.www.kenlockard.community.CommunityPluginInit.
    Mar 08, 2014 9:03:30 PM com.rapidminer.tools.plugin.Plugin registerOperators
    WARNING: No operator descriptor defined for: Community
    Mar 08, 2014 9:03:30 PM com.rapidminer.tools.OperatorService init
    INFO: Number of registered operator classes: 868; number of registered operator descriptions: 994; number of replacements: 588
    Mar 08, 2014 9:03:31 PM com.rapidminer.tools.jdbc.JDBCProperties
    WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
    Mar 08, 2014 9:03:31 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
    [Fatal Error] :1:1: Premature end of file.
    Mar 08, 2014 9:03:31 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for SPARQL Endpoint Connection.
    Mar 08, 2014 9:03:31 PM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for SPARQL Endpoint Connection
    Mar 08, 2014 9:03:31 PM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 2 objects of type SPARQL Endpoint Connection.
    Exception in thread "main" com.rapidminer.repository.RepositoryException: Requested repository RMRepository does not exist.
    at com.rapidminer.repository.RepositoryManager.getRepository(RepositoryManager.java:200)
    at com.rapidminer.repository.RepositoryLocation.getRepository(RepositoryLocation.java:138)
    at com.rapidminer.repository.RepositoryLocation.locateEntry(RepositoryLocation.java:161)
    at rpaidminertest.RpaidMinerTest.main(RpaidMinerTest.java:27)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 29 seconds)

    Thank you Simon & Marco
    I appreciate your help.
    Regards,
  • ReemReem MemberPosts:20Contributor I
    有没有人足总ce a problem similar to this and solve it?!
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University ProfessorPosts:1,984RM Engineering
    Hi,

    - When you start the RapidMiner GUI and use store processes or results, you will use a so called repository. The default one is called "Local Repository". These default one is simply located in a folder on your disk, however they can also come from RapidMiner Server etc. That is why RapidMiner Studio makes use of the repository, so no matter where the data is actually stored, there is only a single representation of the storage. You can ask the RepositoryManager class to get existing repositories or create new ones. To access a process called "My Process" in the subfolder "my folder" in your default repository, you would reference it like this:

    new RepositoryLocation("//Local Repository/my folder/My Process");
    - You can add a breakpoint to the line where the UndefinedParameterError is thrown and check the stacktrace for the operator which caused it.

    Regards,
    Marco
  • ReemReem MemberPosts:20Contributor I
    Hi again,

    The idea of repositories is clear, Thanks.

    I tried to debug the code and I think (based on my understanding) the problem is with calling init() method.
    line 98 in my code is:
    RapidMiner.init();
    However, I tried to follow this example provided here:https://rapid-i.com/rapidforum/index.php?topic=2976.0
    and the same error has shown again.
    ...
    FRED API Key (API Key. Although FRED data is free to use and redistribute it does require an API key. API keys can be obtained from api.stlouisfed.org/api_key.html)
    com.rapidminer.parameter.UndefinedParameterError: A value for the parameter 'operatorName' must be specified!
    at com.rapidminer.parameter.Parameters.getParameter(Parameters.java:167)
    at com.rapidminer.operator.Operator.getParameter(Operator.java:1210)
    at com.rapidminer.operator.Operator.getParameterAsString(Operator.java:1228)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.toString(RelationPreprocessOperatorImpl.java:94)
    at com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl.modifyMetaData(RelationPreprocessOperatorImpl.java:114)
    at com.rapidminer.operator.AbstractExampleSetProcessing$1.modifyMetaData(AbstractExampleSetProcessing.java:60)
    at com.rapidminer.operator.ports.metadata.PassThroughRule.transformMD(PassThroughRule.java:58)
    at com.rapidminer.operator.ports.metadata.MDTransformer.transformMetaData(MDTransformer.java:58)
    at com.rapidminer.operator.Operator.transformMetaData(Operator.java:2161)
    at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:521)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
    at com.rapidminer.tools.plugin.Plugin.registerOperators(Plugin.java:483)
    at com.rapidminer.tools.plugin.Plugin.registerAllPluginOperators(Plugin.java:807)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:181)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:526)
    at _test.MyRMDataCluster.main(MyRMDataCluster.java:98)
    ...
    So, what is the problem in this case? how to know exactly what is operator that I miss naming it?

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


    I have never seen such an error when calling RapidMiner.init(). It looks like com.rapidminer.operator.preprocessing.ie.features.tools.RelationPreprocessOperatorImpl is the cause - however I don't know that class, where does it come from? It definetly is not a standard RapidMiner Studio operator.

    Regards,
    Marco
  • ReemReem MemberPosts:20Contributor I
    I have run the process in another laptop and it works.

    How to know from where this strange operator class come?
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University ProfessorPosts:1,984RM Engineering
    Hi,

    I don't know, you could try finding out the classloader for the class (i.e. if it is an extension classloader) and go from there..

    Regards,
    Marco
Sign InorRegisterto comment.