Try catch...not working

Hi all,

I’m having a problem trying to disable an error message, I was told to use the folowing code:

//bad line of error

what part of my line of error should I use?

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at <anonymous>()[los_poseidos_fla.MainTimeline::frame1:118]