Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 124FA634A5B for ; Wed, 11 Mar 2009 11:21:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 94360-01 for ; Wed, 11 Mar 2009 11:21:15 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 325EF6332AA for ; Wed, 11 Mar 2009 11:21:24 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.3/8.14.3) with ESMTP id n2BELG1B082663 for ; Wed, 11 Mar 2009 11:21:16 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.3/8.14.3/Submit) id n2BE0E2g052141 for pgsql-jdbc@postgresql.org; Wed, 11 Mar 2009 11:00:14 -0300 (ADT) (envelope-from news) From: "Peter" X-Newsgroups: pgsql.interfaces.jdbc Subject: Totally weird behaviour in org.postgresql.Driver Date: Wed, 11 Mar 2009 15:43:11 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Lines: 16 Message-ID: <49b7bfef$0$1343$834e42db@reader.greatnowhere.com> X-Complaints-To: usenet@greatnowhere.com To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/55 X-Sequence-Number: 19385 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