Re: [GENERAL] java.lang.NullPointerException - Mailing list pgsql-general

From Kevin W. Nikiforuk
Subject Re: [GENERAL] java.lang.NullPointerException
Date
Msg-id Pine.LNX.3.95.980520153135.10627A-100000@sethanon
Whole thread Raw
In response to java.lang.NullPointerException  ("Kevin W. Nikiforuk" <kwn@sethanon.remote.ualberta.ca>)
List 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@gpu.srv.ualberta.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-----


pgsql-general by date:

Previous
From: "Kevin W. Nikiforuk"
Date:
Subject: java.lang.NullPointerException
Next
From: Oleg Broytmann
Date:
Subject: Re: permissions ..