Received: from mailhub2.liv.ac.uk (mailhub2.liv.ac.uk [138.253.100.95]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id e9VBavl38855 for ; Tue, 31 Oct 2000 06:36:58 -0500 (EST) (envelope-from C.Setzkorn@csc.liv.ac.uk) Received: from ribble.server.csc.liv.ac.uk ([138.253.124.242]) by mailhub2.liv.ac.uk with esmtp (Exim 3.16 #3) id 13qZip-0006V5-00 for pgsql-interfaces@postgresql.org; Tue, 31 Oct 2000 11:36:55 +0000 Received: from csc.liv.ac.uk (valeria.staff.csc.liv.ac.uk [138.253.124.82]) by ribble.server.csc.liv.ac.uk (8.8.8/LUCS-DTS-3.0M10) with ESMTP id LAA15623 for ; Tue, 31 Oct 2000 11:36:54 GMT Message-ID: <39FEAF04.14B73BE5@csc.liv.ac.uk> Date: Tue, 31 Oct 2000 11:37:40 +0000 From: Christian Setzkorn Organization: Liverpool University Computer Science X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: null pointer exception Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200010/18 X-Sequence-Number: 18 dear mailing list i am trying to built a jdbc connection to postgres .... but db = DriverManager.getConnection("jdbc:postgresql://url", "username", ""); throws a null pointer exception. could anyone tell me what might be the reason? many many thanks in advance. -- All the best Chris *********************************************************** Mr. C. Setzkorn (Phd Student) Department of Computer Science University of Liverpool Chadwick Building, room G47 Peach Street, Liverpool L69 7ZF United Kingdom Email: chris@csc.liv.ac.uk Phone: 0044 151 794 3692 Fax: 0044 151 794 3715 homepage: http://www.csc.liv.ac.uk/~chris