Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerException in Wiki? (ANIL)

 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found this at the bottom of the Wiki FrontPage:

why we get the java null pointer expection error?ANIL

Does anybody have an idea what is meant by this?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is there'a a Java beginner named Anil who's getting a NullPointerException in his program, and he was hoping the FAQ would answer that. Actually it's not a bad question to cover in the beginner FAQ - newbies get these all the time, and it's not obvious what the cause is, sometimes even if you look at the line that's throwing the error.
Alternately, a few days ago we were havnign some problems with the DB underlying several other programs here at JavaRanch - perhaps Anil was actually seeing NullPointerException from the Friki software, because couldn't contact the DB? (Does it use the DB?) If that's the case, restarting the server fixed the DB; all should be OK now.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, Friki doesn't use a DB, so I doubt it was that. There were a few odd ways of getting NPEs in older versions of Friki, but there are none in the latest release that I'm aware of.
My guess is that it is indeed someone who is faced with Null Pointer problems in their own code, and just wants to ask wherever he can for help.
I agree it sounds like a good candidate for a FAQ; between us we must have answered null pointer questions a whole bunch of times in the forums.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic