Re: [GENERAL] java.lang.NullPointerException

From: "Kevin W(dot) Nikiforuk" <kwn(at)sethanon(dot)remote(dot)ualberta(dot)ca>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] java.lang.NullPointerException
Date: 1998-05-20 21:37:57
Message-ID: Pine.LNX.3.95.980520153135.10627A-100000@sethanon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 20 May 1998, Kevin W. Nikiforuk wrote:

> try {
> conn =
> (postgresql.Connection)DriverManager.getConnection("jdbc:postgresql:kwn");
> }
> catch (Exception e) {
> System.out.println(e);
> e.printStackTrace();
> }

I managed to correct the problem by changing the argument passed to
getConnection() to:

"jdbc:postgresql:kwn", "kwn", ""

where kwn is my userid on my Linux box.

Kevin

- --
Kevin Nikiforuk knikifor(at)gpu(dot)srv(dot)ualberta(dot)ca
- ----------------------------------------------------------------------------
http://pgp5.ai.mit.edu/pks-commands-beta.html for my PGP public key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by mkpgp2.1, a Pine/PGP interface.

iQCVAwUBNWNNJcsSwbLUdSRVAQEvRwP8CfsCmmrB0XB+ZbjLOnke/gzAtMXMIP5l
I8VNM+l5+VCp48unO1qb650pzuttqpLsp2hQsFNK5aFG/6eIRGAjNe8nvZP06t/2
hXRVTBKTqyZVRxYeCGyQLhpWDk9KF4/B/5M60DQ14VFcJFCH8vXyY5aBHNSAiUMX
NTJZjPnWLzI=
=17jH
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Broytmann 1998-05-21 06:40:11 Re: permissions ..
Previous Message Kevin W. Nikiforuk 1998-05-20 19:09:22 java.lang.NullPointerException