Reply To: EXE_BAD_ACCESS error in Xcode

Forums 💬 NodeCanvas ⚙️ Support EXE_BAD_ACCESS error in Xcode Reply To: EXE_BAD_ACCESS error in Xcode

#18415
emilio.saffi
Participant

    I was debugging a bit this morning and I seem to have found the cause of the issue. XCode was catching the EXE_BAD_ACCESS when trying to use a null reference in the NodeCanvas.Framework.Task.Set protected function:
    [attachment file=”Screen Shot 2016-08-26 at 13.59.34.png”]

    To mitigate this I replaced the try/catch blocks with some code that would not throw the same exception. I would be grateful if you could review the following fix and share your thoughts on it:

    [attachment file=”Screen Shot 2016-08-26 at 13.54.31.png”]