Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getting a NullPointerException  RSS feed

 
Patrick Mallahan
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Having a problem displaying my date inside my jsp. I call my date like so:


my getDate() method is returning data type java.sql.Date. Any ideas? I am lost on this. I have already tried making a method in the class to convert the date to string so i could call it as a string but it still didnt work.
 
Yuriy Zilbergleyt
Ranch Hand
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either the summary is null, the value returned by getDate() is null, or some variable used by the method getDate() is null. I'd check each of these.

I'm assuming the .toString instead of .toString() is a typo in your post.

-Yuriy
[ July 08, 2005: Message edited by: Yuriy Zilbergleyt ]
 
Jeffrey Spaulding
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be, that summary is null. At least that's what i would check first.

J.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!