Totally weird behaviour in org.postgresql.Driver - Mailing list pgsql-jdbc

From Peter
Subject Totally weird behaviour in org.postgresql.Driver
Date
Msg-id 49b7bfef$0$1343$834e42db@reader.greatnowhere.com
Whole thread Raw
Responses Re: Totally weird behaviour in org.postgresql.Driver
List pgsql-jdbc
My app used to work fine until I started getting tons of
NullPointerExceptions in org.postgresql.Driver:586

for (int tmp = 0;tmp < protocols.length;tmp++)
I traced into that line and 'protocols' variable is null. That variable is
private static, and is not being assigned to anywhere outside the
constructor (why isnt it 'final'?). I'm totally at loss why and how
protocols can become null. JVM bug perhaps? This is Tomcat 6 running on
Ubuntu 8.10, and my webapp uses BlazeDS.

Any ideas? Could this be due to improper synchronization somewhere in my
app?

Peter



pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: a possible bug in postgresql jdbc driver
Next
From: Oliver Jowett
Date:
Subject: Re: Totally weird behaviour in org.postgresql.Driver