cancel
Showing results for 
Search instead for 
Did you mean: 

presenter pointer was NULL

V.H
Senior

Hi,

The data read from Model class thru presenter in screen1View::screen1View() function was error. I debug the code and found the presenter pointer was NULL in constructor function.

Is it unsafe to use at constructor and destructor function time ?

2 REPLIES 2
GBert.2
Senior

I think you need to use the presenter screen after constructing your view object.

Did you try using it in the activate method?

That's how I use it now, because I can't track where the parameter is initialized.