I did some further testing and this affects only Topics which are in “Uncategorized”. I am on 2.5.0.beta4.
The “BreadcrumbList” contains an empty “itemListElement”:
The error also popups here (meta.discourse.org). Have a look at Google’s Structured Data Testing Tool outcome: