*
The moose likes JSP and the fly likes Null Pointer Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Null Pointer Exception" Watch "Null Pointer Exception" New topic
Author

Null Pointer Exception

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
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

Joined: Jan 10, 2002
Posts: 60785
    
  65

An NPE is caused by de-referencing a null reference. Without more details, that's about all that can be said.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Null Pointer Exception
 
Similar Threads
double Type of Value in JTable
SCJP Brainteaser (2)
problem in running exec() from servlet
explain me this code
problem to display session attribute