JDBC RapidMiner OrientDB connection giving a NullPointerException

kwoxer
kwoxer New Altair Community Member
edited November 2024 in Community Q&A
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?
Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

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

    Regards,
    Marco
  • kwoxer
    kwoxer New Altair Community Member
    Ohh yeah sorry.

    I'm using RapidMiner 5.3.015 and OrientDB 2.0M2.
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    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
  • kwoxer
    kwoxer New Altair Community Member
    Alright, I already contected them now. They say it will be fixed soon.

    Thank you.
  • kwoxer
    kwoxer New Altair Community Member
    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.

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.