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

new operator does not work on mac

navyboysnavyboys Member Posts: 15 Contributor II
edited November 2018 in Help
i created an operator, put it in the correct place(com.rapidminer.operator.clustering.clusterer), and also add operator's info to OperatorCore.xml and OperatorCoreDocumentation.xml, built the project again, but the new operator does not work properly. error messages like this:

--
Dec 14, 2011 11:42:58 PM com.rapidminer.tools.OperatorService registerOperators
SEVERE: Cannot read operator description file 'OperatorsCore.xml': no valid XML: null
java.lang.NullPointerException
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:267)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:232)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:206)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:180)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:131)
at com.rapidminer.RapidMiner.init(RapidMiner.java:465)
at com.rapidminer.gui.RapidMinerGUI.run(RapidMinerGUI.java:221)
at com.rapidminer.gui.RapidMinerGUI.launch(RapidMinerGUI.java:505)
at com.rapidminer.gui.RapidMinerGUI.main(RapidMinerGUI.java:488)
--

i did the same thing on Windows, it works correctly.

anyone can give me some ideas to fix this?
Tagged:

Answers

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

    this sounds like RapidMiner is somehow missing libraries to work properly. Does this thread help you: click?

    Regards,
    Marco
  • navyboysnavyboys Member Posts: 15 Contributor II
    hi,

    i checked out the latest source from svn  (https://rapidminer.svn.sourceforge.net/svnroot/rapidminer/Vega)  and found nothing different from environment (/libs ) on Windows, which rapidminer runs well on it.

    in the post http://rapid-i.com/rapidforum/index.php/topic,4406.0.html ,
    someone says that
    --
    These are the necessary libraries (even if there is no error message if some are missing!!):

    encog.jar
    jep.jar
    joone-engine.jar
    jxl.jar
    launcher.jar
    mail.jar
    rapidminer.jar
    vldocking.jar
    --

    i checked out my libs, there's no
    - launcher.jar
    - rapidminer.jar
    how can find these two jars?
    i can't find them from svn. 
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    you can use the Ant build file to create these (via createJar).

    Regards,
    Marco
  • navyboysnavyboys Member Posts: 15 Contributor II
    hi,

    i put all the jar files into the /lib, but nothing changed.
    any other ideas?
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    do you use Eclipse? If so, you can try and post the content of the .classpath file from the project here.
    However if your project setup is 100% identical to your windows machine and it works on windows but not on mac, it sounds like some mac problem with which I cannot help you..

    Regards,
    Marco
  • navyboysnavyboys Member Posts: 15 Contributor II
    hi, Marco

    thanks for your following.
    here is the content of .classpath


    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
    <classpathentry excluding="com/rapidminer/doc/|com/rapidminer/test/|com/rapidminer/example/test/|com/rapidminer/operator/performance/test/" kind="src" path="src"/>
    <classpathentry kind="src" path="src_generated"/>
    <classpathentry kind="src" path="resources"/>
    <classpathentry kind="src" path="src_launcher"/>
    <classpathentry kind="src" path="src_test"/>
    <classpathentry kind="lib" path="lib/kdb.jar"/>
    <classpathentry kind="lib" path="lib/jmathplot.jar"/>
    <classpathentry kind="lib" path="lib/xpp3.jar"/>
    <classpathentry kind="lib" path="lib/xstream.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/jxl.jar"/>
    <classpathentry kind="lib" path="lib/jugpreview.jar"/>
    <classpathentry kind="lib" path="lib/joone-engine.jar"/>
    <classpathentry kind="lib" path="lib/jcommon.jar"/>
    <classpathentry kind="lib" path="lib/jfreechart.jar"/>
    <classpathentry kind="lib" path="lib/junit.jar"/>
    <classpathentry kind="lib" path="lib/commons-collections.jar"/>
    <classpathentry kind="lib" path="lib/looks.jar"/>
    <classpathentry kind="lib" path="lib/collections-generic.jar"/>
    <classpathentry kind="lib" path="lib/colt.jar"/>
    <classpathentry kind="lib" path="lib/concurrent.jar"/>
    <classpathentry kind="lib" path="lib/jama.jar"/>
    <classpathentry kind="lib" path="lib/jep.jar"/>
    <classpathentry kind="lib" path="lib/jung-algorithms.jar"/>
    <classpathentry kind="lib" path="lib/jung-api.jar"/>
    <classpathentry kind="lib" path="lib/jung-graph-impl.jar"/>
    <classpathentry kind="lib" path="lib/jung-visualization.jar"/>
    <classpathentry kind="lib" path="lib/jdbc/hsqldb.jar"/>
    <classpathentry kind="lib" path="lib/jdbc/iijdbc.jar"/>
    <classpathentry kind="lib" path="lib/jdbc/jtds-1.2.2.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/vldocking.jar" sourcepath="/VLDocking/src"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-export.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphics2d.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio-emf.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio-pdf.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio-ps.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio-svg.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio-swf.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-graphicsio.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-io.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-swing.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-util.jar"/>
    <classpathentry exported="true" kind="lib" path="lib/freehep/freehep-xml.jar"/>
    <classpathentry kind="lib" path="lib/rsyntaxtextarea.jar" sourcepath="/RSyntaxTextArea"/>
    <classpathentry kind="lib" path="lib/xmlrpc-client-3.1.3.jar"/>
    <classpathentry kind="lib" path="lib/xmlrpc-common-3.1.3.jar"/>
    <classpathentry kind="lib" path="lib/ws-commons-util-1.0.2.jar"/>
    <classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
    <classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
    <classpathentry kind="lib" path="lib/commons-codec-1.4.jar"/>
    <classpathentry kind="lib" path="lib/encog.jar"/>
    <classpathentry kind="lib" path="lib/microba.jar"/>
    <classpathentry kind="lib" path="lib/blas.jar"/>
    <classpathentry kind="lib" path="lib/mail.jar"/>
    <classpathentry kind="lib" path="lib/jdbc/mysql-connector-java-5.1.17-bin.jar"/>
    <classpathentry kind="lib" path="lib/jdbc/postgresql-9.1-901.jdbc3.jar"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry exported="true" kind="lib" path="lib/commons-lang-2.4.jar"/>
    <classpathentry kind="lib" path="lib/groovy-all-1.7.7.jar"/>
    <classpathentry kind="lib" path="lib/ivy-2.2.0.jar"/>
    <classpathentry kind="output" path="build"/>
    </classpath>

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

    your .classpath file is missing the entries for the rapidminer.jar and the launcher.jar

    Regards,
    Marco
Sign In or Register to comment.