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
Well I don't really know if it is RapidMiner or OrientDB related. But anyways.
http://i.imgur.com/PpFMCgM.png
It is the really latest version. So somehow it seems that RapidMiner returning some strange things?
http://i.imgur.com/PpFMCgM.png
Exception: java.lang.NullPointerExceptionThat 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
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)
It is the really latest version. So somehow it seems that RapidMiner returning some strange things?
0
Answers
which version of RapidMiner Studio are you using? Line numbers do not match with what I have here.
Regards,
Marco
I'm using RapidMiner 5.3.015 and OrientDB 2.0M2.
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
Thank you.
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.