I need to avoid having null pointer exception...
As i am new bie to java programming i need urgent help from anyone...
look at the following functionality it is having try..catch ...part and if there is any error it is hanled by log messages we created.
the same function executes properly before one month with out having any exception..If there is any data to be extract comes with null it throws null pointer..I need to give the log message instead of getting null pointer...
i am in stuck to do it...please any one give vluable suggestions...
see the stack trace of some piece of error
Dec 14 14:40:31 Connected to tcp://localhost
Dec 14 14:40:31 Execute Status: 2
Dec 14 14:40:31 Extraction is about to start
Dec 14 14:40:31 Exception while running report REPORT381-389
Dec 14 14:40:31 Job failed to RUN and Notification sent and process is STOPPED
Dec 14 14:40:31 Setting Status to: ERROR
[EDIT by mw: Added Code Tags
using original poster's indentation.]
[ December 20, 2005: Message edited by: marc weber ]