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

command line rapidminer runs but throws error messages

ssarkar97ssarkar97 Member Posts: 5 Contributor II
edited July 2019 in Help
i have a small outlier detection process that i need to invoke from command line.
The process works fine from rapidMiner GUI.
When run from command line, the process does the job but spews out error messages (pasted below).
Can you tell me what could be the reason behind these messages?

This is Windows 7 OS and RapidMiner 5 (Community Edition). It connects to SQL Server 2012 database.
RAPIDMINER_HOME and JRE_HOME environment variables are set as follows:
RAPIDMINER_HOME=D:\Program Files\Rapid-I\RapidMiner5
JRE_HOME=C:\Program Files\Java\jdk1.6.0_31


D:\Program Files\Rapid-I\RapidMiner5>.\scripts\rapidminer //RapidMinerLocalRepository001/db1
Using local jre: D:\Program Files\Rapid-I\RapidMiner5\jre\bin\java.exe...
Starting RapidMiner from 'D:\Program Files\Rapid-I\RapidMiner5' using classes from 'D:\Program Files\Rapid-I\RapidMiner5\lib\rapidminer.jar'...
RapidMiner version 5.2.008, Copyright (C) 2001-2012
RapidMiner comes with ABSOLUTELY NO WARRANTY; This is free software,
and you are welcome to redistribute it under certain conditions;
see license information in the file named LICENSE.
Jan 21, 2013 5:53:49 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is 'D:\Program Files\Rapid-I\RapidMiner5'.
Jan 21, 2013 5:53:49 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Jan 21, 2013 5:53:49 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Jan 21, 2013 5:53:49 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is 'D:\Program Files\Rapid-I\RapidMiner5'.
Jan 21, 2013 5:53:50 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Jan 21, 2013 5:53:51 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 .
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.OperatorService parseOperators
WARNING: Cannot create operator description: rmx_imageprocessing : wand_tool
java.lang.NoClassDefFoundError: com/rapidminer/parameter/conditions/InputPortNot
ConnectedCondition
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.rapidminer.operator.OperatorDescription.<init>(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:782)
        at com.rapidminer.tools.OperatorService.init(OperatorService.java:182)
        at com.rapidminer.RapidMiner.init(RapidMiner.java:514)
        at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:122)
        at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:182)
Caused by: java.lang.ClassNotFoundException: com.rapidminer.parameter.conditions.InputPortNotConnectedCondition
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at com.rapidminer.tools.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:102)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 15 more
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers

INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is
not installed.
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers

INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver
is not installed.
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.WrapperLoggingHandler log
INFO: No filename given for result file, using stdout for logging results!
Jan 21, 2013 5:53:51 PM com.rapidminer.Process run
INFO: Process //RapidMinerLocalRepository001/db1 starts
Jan 21, 2013 5:53:51 PM com.rapidminer.tools.jdbc.DatabaseHandler executeStateme
nt
INFO: Executing query: 'SELECT *
FROM "dbo"."mvi_claims_data"'
Jan 21, 2013 5:53:52 PM com.rapidminer.Process run
INFO: Process //RapidMinerLocalRepository001/db1 finished successfully after 0 s

Jan 21, 2013 5:53:52 PM com.rapidminer.RapidMinerCommandLine run
INFO: Process finished successfully
Usage: java [-options] class [args...]
          (to execute a class)
  or  java [-options] -jar jarfile [args...]
          (to execute a jar file)

where options include:
    -client      to select the "client" VM
    -server      to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument

    -splash:<imagepath>
                  show splash screen with specified image


Process screenshot here:
http://nbstoragemahesh.blob.core.windows.net/jbsbsorba/rm3.png
Process XML here:
http://nbstoragemahesh.blob.core.windows.net/jbsbsorba/f1.xml
Tagged:

Answers

  • cliftonarmscliftonarms Member Posts: 32 Contributor II
    Did you ever solve this one ?? as I have exactly the same issue.

    It looks like the process finishes without errors then the batch file calls another command line start. The middle of the log looks like this just before all the errors are thrown.


    Mar 11, 2013 3:26:40 PM com.rapidminer.Process run
    INFO: Process C:\MT4\Master\Rapidminer\EURUSD_1440.rmp finished successfully aft
    er 27 s
    Mar 11, 2013 3:26:40 PM com.rapidminer.RapidMinerCommandLine run
    [RED]INFO: Process finished successfully[/RED]
    Mar 11, 2013 3:26:40 PM com.rapidminer.RapidMinerCommandLine run
    SEVERE: Process failed: operator cannot be executed. Check the log messages...
    java.lang.NullPointerException
            at com.rapidminer.RapidMiner.quit(RapidMiner.java:819)
            at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:1

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    the problem OP was having should be gone in the latest RapidMiner (5.3.5) version.
    As for your problem cliftonarms, sadly that is a bug which slipped into the latest release. It is already fixed internally, however unless you build RapidMiner yourself from the SVN repository I'm afraid you will have to wait until the next release. There is good news though: It looks bad but does not affect the process you executed. As you can see RapidMiner says "INFO: Process finished successfully", which means the process ran without problems. To cut a long story short: You can simply ignore this specific error after your process has run.

    Regards,
    Marco
Sign In or Register to comment.