🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

JDBC RapidMiner OrientDB connection giving a NullPointerException

User: "kwoxer"
New Altair Community Member
Updated by Jocelyn
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?

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "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
    User: "kwoxer"
    New Altair Community Member
    OP
    Ohh yeah sorry.

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

    Thank you.
    User: "kwoxer"
    New Altair Community Member
    OP
    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.