db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter riegersperger <r...@subnet.at>
Subject Re: Misconfiguration of the DataSourceFactory?
Date Thu, 15 May 2003 08:35:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 15 May 2003 10:22, Paul Brady wrote:
> Has anyone come across this exception (below)? It occurs when I attempt to
> do a doSelect() as follows:

> java.lang.NullPointerException: Connection object was null. This could be
> due to a misconfiguration of the DataSourceFactory. Check the logs and
> Torque.properties to better determine the cause.

do you call

        Torque.init("Torque.properties"); //or wherever your properties file 
is

?

i got these exceptions when i forgot to.

peter


- -- 
|-
| peter riegersperger  <rick@subnet.at>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQE+w1FNIMP39JYOy9IRAugLAJ9zW9UQwFHRmF4Pl5BuTAOrOKqbzwCY5vXh
75aP6B3Tm4we8/KGV7bi3w==
=eF3a
-----END PGP SIGNATURE-----


Mime
View raw message