aspose file tools*
The moose likes Servlets and the fly likes java.lang.NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "java.lang.NullPointerException" Watch "java.lang.NullPointerException" New topic
Author

java.lang.NullPointerException

Li Jenny
Ranch Hand

Joined: Apr 19, 2010
Posts: 57
when i submit form and call servelt to update statement..

always has this error: java.lang.NullPointerException

why?
Nicola Garofalo
Ranch Hand

Joined: Apr 10, 2010
Posts: 308
That's a too generic question.

Put down some code and show where the exception is thrown.


Bye,
Nicola
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi Li, read this

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61628
    
  67

And read this as well ⇒ TellTheDetails


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Because something is null and you're trying to access it in some way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NullPointerException