"trim" command issue (B popover)

It’s likely that there is something there. Maybe a manual barline?

You can kill it with “Delete Bars” in the Edit menu, instead.