Skip to Content.
Sympa Menu

freetds - NullPointerException in DriverManager.getConnection

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Cedric Dumetz" <Cedric.Dumetz AT eolas.fr>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: NullPointerException in DriverManager.getConnection
  • Date: Thu, 10 Jan 2002 17:40:09 +0100


Hello,

I don't know why but since today i've got the following error :

1
2
Exception- java.lang.NullPointerException
Erreur connection : java.sql.SQLException


and my code is like this :

System.out.println("1");
Class.forName("com.internetcds.jdbc.tds.Driver");
System.out.println("2");
conn =
DriverManager.getConnection("jdbc:freetds:sqlserver://213.56.133.25:1433/DA
TABASE", "USER", "PASSWORD");
System.out.println("3");
stmt = conn.createStatement();


This morning, I attempted to use the ThinWeb.tdsDriver !!!! Maybe is due to
that ???


Thanks

Cedric





  • NullPointerException in DriverManager.getConnection, Cedric Dumetz, 01/10/2002

Archive powered by MHonArc 2.6.24.

Top of Page