'assertion failed: !ptr.is_null()'

sorry wrong forum, i’ve updated my request somehwere else.