Outliner Data API allows browsing most of Blender's data, including in other areas and spaces. If an area being browsed is the non-active data (previous space) belonging to Properties, its runtime can be null and therefore its search_string. This PR just handles this situation by checking for null runtime. Despite the bug report, I don't think this should go into 4.2 - maybe back-ported to a later point release. Pull Request: https://projects.blender.org/blender/blender/pulls/124374