Re: NullPointerException in TypeInfoCache.getSQLType - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: NullPointerException in TypeInfoCache.getSQLType
Date
Msg-id CAB=Je-FhWvv3umEnB+QwZm=OGYiD-srbCBDknxMip-SAx3CwGA@mail.gmail.com
Whole thread Raw
In response to NullPointerException in TypeInfoCache.getSQLType  (Zachary Marshall <Zachary.Marshall@sas.com>)
List pgsql-jdbc
>It will be hard to supply a reproducer since it seems to require lots of concurrent startups

Blind guess would be: a two-threaded test.
Thread 1: create & drop table in a loop
Thread 2: PgDatabaseMetaData.getTypeInfo & clear cache in a loop

>Your explanation seems plausible. I will add the suggested logging

That would be awesome.


Vladimir


pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: NullPointerException in TypeInfoCache.getSQLType
Next
From: Álvaro Hernández Tortosa
Date:
Subject: Re: [HACKERS] Packaging of postgresql-jdbc