Re: NullPointerException in TypeInfoCache.getSQLType

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Zachary Marshall <Zachary(dot)Marshall(at)sas(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: NullPointerException in TypeInfoCache.getSQLType
Date: 2016-02-17 14:50:10
Message-ID: CAB=Je-FhWvv3umEnB+QwZm=OGYiD-srbCBDknxMip-SAx3CwGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Álvaro Hernández Tortosa 2016-02-17 15:55:24 Re: [HACKERS] Packaging of postgresql-jdbc
Previous Message Zachary Marshall 2016-02-17 14:24:19 Re: NullPointerException in TypeInfoCache.getSQLType