Skip to Content.
Sympa Menu

freetds - Re: Why? I have "Exception-java.lang.NullPointerException".

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Why? I have "Exception-java.lang.NullPointerException".
  • Date: Sat, 17 Feb 2001 09:55:34 -0500 (EST)


On Sat, 17 Feb 2001, Yasuo Dan Itoh wrote:

> Thank you Bob Kline,
> I could get *.jar of FreeTDS driver for MSSQL7.0.
>
> However my code told me "Exception- java.lang.NullPointerException".
> I found same MESSAGE of this problem on this board. But I din't
> understand yet.

I think the next thing you want to check is whether you can connect from
the same machine directly. Try "telnet 192.168.153.127 1433" and see
what happens. If your server is listening on a different port, you need
to add this information to the URL [1]. If your server isn't listening
on TCP/IP at all, then the driver hasn't got a chance.

[1] e.g., "jdbc:freetds:sqlserver://192.168.153.127:12345/daiwa;tds=7.0"

--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com




  • Re: Why? I have "Exception-java.lang.NullPointerException"., Bob Kline, 02/17/2001

Archive powered by MHonArc 2.6.24.

Top of Page