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

Null Pointer Exception  RSS feed

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do i normally get a Null Pointer Exception while working with JSps. The JSP contains a code to save a string into a file
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An NPE is caused by de-referencing a null reference. Without more details, that's about all that can be said.
 
Kj Reddy
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Abiodun Oyesiji:
Why do i normally get a Null Pointer Exception while working with JSps. The JSP contains a code to save a string into a file


If you post your code, its easier to answer your query.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!