Skip to Content.
Sympa Menu

freetds - Re: [freetds] Java programing NullPointer Exception

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Зверев Виталий Борисович <VZverev AT genesis.spb.ru>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Java programing NullPointer Exception
  • Date: Mon, 26 Sep 2005 00:33:15 +0400

Kelvin,
your sample have wrong cycles boundaries in lines 198 and 220:
"for(int i=0;i<=count;i++)" should be "for(int i=0;i<count;i++)"
But I don't see anything about FreeTDS here.

Sincerely yours.

-------------------------------------------------------
Vitaly Zverev, OCP DBA 8&8i
Oracle E-Business Suite &
Infiniband Linux Cluster Administrator
Genesis Ltd., St.Petersburg, Russia




-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of kelvin Jiang
Sent: Sunday, September 25, 2005 9:42 AM
To: freetds AT lists.ibiblio.org
Subject: Re: [freetds] Java programing NullPointer Exception


hey guys:
Im new for this, if i made any mistake, plz dont laugh too much lol
alrite, i got an assiignment and
i have already coded for most part, the code as attachment

so, it just stops rite after printReport method finished and compiler says
that
Exception in thread "main" java.lang.NullPointerException
at CarDealerShip.printReport(TestDealer.java:201)
at TestDealer.main(TestDealer.java:242)

also, i tested rest part of class, each method in CarDealerShip runs with
same error, i dont know why it happens, Could any expert help me out??

Kelvin

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft╝
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

Start enjoying all the benefits of MSN╝ Premium right now and get the
first two months FREE*.




Archive powered by MHonArc 2.6.24.

Top of Page