Re: NullPointerException in TypeInfoCache.getSQLType

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Stephanie Smith <Stephanie(dot)Smith(at)sas(dot)com>
Cc: Zachary Marshall <Zachary(dot)Marshall(at)sas(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: NullPointerException in TypeInfoCache.getSQLType
Date: 2016-03-07 17:21:24
Message-ID: CAB=Je-F7xY2n1uWkMCtSBqxHb9H54WKZeU3pZjXWYmdYoeWiQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Thanks for the reproducer.
I've implemented a fix here: https://github.com/pgjdbc/pgjdbc/pull/530

There are other similar places when type information is loaded by
using several queries.
For example: getProcedureColumns, however it is likely to be used with
some reasonable
schema/procedure patterns, thus it is less likely to fail.

Vladimir

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Álvaro Hernández Tortosa 2016-03-07 21:21:23 Re: Complicated re-distribution of pgjdbc the "open source way"
Previous Message Vladimir Sitnikov 2016-03-07 15:40:44 Re: Complicated re-distribution of pgjdbc the "open source way"