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
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.