aspose file tools
The moose likes Java in General and the fly likes Null pointer before finally block Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Null pointer before finally block" Watch "Null pointer before finally block" New topic
Author

Null pointer before finally block

Santosh Kumar Nayak
Greenhorn

Joined: Aug 02, 2011
Posts: 29
If there is a NULL Pointer Exception before FINALLY BLOCK then will the finally block get executed ?
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3049
    
    1

Did you read the Oracle tutorial on the finally-block?

http://docs.oracle.com/javase/tutorial/essential/exceptions/finally.html
Santosh Kumar Nayak
Greenhorn

Joined: Aug 02, 2011
Posts: 29
Thank you for the useful link
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Null pointer before finally block
 
Similar Threads
how to close connection object in finally block when an exception is raised in try bl
Problem with the sample hibernate program
Null Pointer Exception @ SessionFactory
Error in datasource using SQLSERVER
java.lang.NullPtrEx