Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get over NullPointerException

Status
Not open for further replies.

mhburney

Programmer
Jul 26, 2005
23
PK
Hi guys,

I have getting this NullPointerException..this is what iam doing

In my main i am calling a function that basically pings a list of IPaddresses in a text file..when a ping fails the programe holds and then my the catch in main function returns NullPointerException...

what i want is that irrespective of the failed pings the programe should go on...

Cheers
 
okay got over it by setting a value for return variable :)..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top