Hello,
I am getting this exception after getting the Connection object.

*DataSource dataSource = JdbcConnectionPool.create("ConnectionString", 
user,*
*                passwd);*
*Connection conn = dataSource.getConnection();*

When I try to insert the data , I get this exception .

*java.lang.RuntimeException: java.lang.reflect.InvocationTargetException*





*Caused by: java.lang.NullPointerException    at 
org.h2.server.pg.PgServerThread.initDb(PgServerThread.java:1147)    at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   
  at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   
  at java.lang.reflect.Method.invoke(Method.java:566) *

Any suggestion or advise on this is appreciated 
Thanks 

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/e56d8fe0-4e77-4b3f-9f2e-dfbea4128b1an%40googlegroups.com.

Reply via email to