NullPointerException when trying to use JDBC Console in IntelliJ 8.0
I am evaluating IntelliJ 8.0 right now and when I try to run a simple query from the JDBC Console (select all from a table having 2 rows) I receive a NPE from the jdbc driver when using it from IntelliJ. This is the same driver jar we have been using for many years (in all environments). Using Informix. Any one have any insight?
java.lang.NullPointerException
at com.informix.jdbc.IfxDriver.checkClientLocale(IfxDriver.java:1005)
at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:211)
at com.intellij.persistence.database.console.JdbcConsoleMain.initConnection(JdbcConsoleMain.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.persistence.database.console.ConsoleBase.tryInvokeMethod(ConsoleBase.java:120)
at com.intellij.persistence.database.console.ConsoleBase.execute(ConsoleBase.java:68)
at com.intellij.persistence.database.console.ConsoleBase.runConsole(ConsoleBase.java:60)
at com.intellij.persistence.database.console.JdbcConsoleMain.main(JdbcConsoleMain.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Please sign in to leave a comment.
Could be http://www.jetbrains.net/jira/browse/IDEADEV-32584
That issue does look similiar. I can refresh the table list with this driver so I don't believe the problem is the driver (plus this is the same driver I use in Db Visualizer and the one I used for my Datasources in IntelliJ 7.x and the one I use with my local Weblogic testing)