Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

JDBC RapidMiner OrientDB connection giving a NullPointerException

kwoxerkwoxer Member Posts: 9 Contributor II
edited November 2018 in Help
Well I don't really know if it is RapidMiner or OrientDB related. But anyways.

http://i.imgur.com/PpFMCgM.png
Exception: java.lang.NullPointerException
Message: null
Stack trace:

  com.rapidminer.tools.jdbc.StatementCreator.buildTypeMap(StatementCreator.java:86)
  com.rapidminer.tools.jdbc.StatementCreator.<init>(StatementCreator.java:65)
  com.rapidminer.tools.jdbc.StatementCreator.<init>(StatementCreator.java:60)
  com.rapidminer.tools.jdbc.DatabaseHandler.connect(DatabaseHandler.java:337)
  com.rapidminer.tools.jdbc.DatabaseHandler.getConnectedDatabaseHandler(DatabaseHandler.java:258)
  com.rapidminer.tools.jdbc.connection.DatabaseConnectionService.testConnection(DatabaseConnectionService.java:303)
  com.rapidminer.gui.tools.dialogs.DatabaseConnectionDialog$12$1.run(DatabaseConnectionDialog.java:439)
  com.rapidminer.gui.tools.ProgressThread$2.run(ProgressThread.java:200)
  java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  java.lang.Thread.run(Unknown Source)
That is the stack. I have the server running. The JAR I use is http://www.orientdb.org/portal/function/portal/download/unknown@unknown.com/-/-/-/-/-/orientdb-jdbc-2.0-SNAPSHOT-all.jar/false/false/multi

It is the really latest version. So somehow it seems that RapidMiner returning some strange things?

Answers

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

    which version of RapidMiner Studio are you using? Line numbers do not match with what I have here.

    Regards,
    Marco
  • kwoxerkwoxer Member Posts: 9 Contributor II
    Ohh yeah sorry.

    I'm using RapidMiner 5.3.015 and OrientDB 2.0M2.
  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    I'd say it looks like a driver bug. Reason for the error is that the driver returns no type info for the DB connection. In other words, java.sql.DatabaseMetaData#getTypeInfo() returns null although according to specification it should not.

    Regards,
    Marco
  • kwoxerkwoxer Member Posts: 9 Contributor II
    Alright, I already contected them now. They say it will be fixed soon.

    Thank you.
  • kwoxerkwoxer Member Posts: 9 Contributor II
    The new Version of the OrientDB-JDBC project fixed this issue.

    Thank you again.

    Also written a Tutorial about this in German:
    http://www.kwoxer.de/2014/11/05/rapidminer-mit-orientdb-jdbc-verbinden-tutorial/

    In case someone is interested.
Sign In or Register to comment.