Re: [h2] Exception from PgServerThread.initDb

2022-07-13 Thread Noel Grandin

You are obviously doing something rather unusual because initDb is not supposed 
to be called via reflection.

So we're going to need a complete standalone test-case to be able to help.

--
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 h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/31da4c04-0d6e-169b-6406-3515d89eeb24%40gmail.com.


Re: [h2] H2 knowledge

2022-07-13 Thread Noel Grandin

what documentation we have is all either at
   https://h2database.com/html/main.html

or inside the source code

--
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 h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/195915be-91eb-e778-3271-9b80b1247e35%40gmail.com.


[h2] Exception from PgServerThread.initDb

2022-07-13 Thread Ronit
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.NullPointerExceptionat 
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 h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/e56d8fe0-4e77-4b3f-9f2e-dfbea4128b1an%40googlegroups.com.