[freetds] Java programing NullPointer Exception

kelvin Jiang kelvinnight at hotmail.com
Sun Sep 25 01:41:43 EDT 2005


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*.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestDealer.java
Type: application/octet-stream
Size: 6560 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20050925/5276138d/TestDealer.obj


More information about the FreeTDS mailing list