Maybe it's a null pointer after all? Or maybe a dangling pointer? Maybe you access it from non-GUI thread? Or it has only one column?