Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group