I'm going to guess that the problem lies in this line:
_NoticeBoardMaster[i]
I suspect that whatever value of i you are using there, that there is no instance in _NoticeBoardMaster at that point. Put a breakpoint there and verify the value of this variable.