I have a 30 bar or so score. Near the end, it has insisted on putting in a dotted bar line. I can't get rid of it. Is there a reason I'm not understanding as to why this is so? I have tried putting in more measures around it, and deleting it. Just won't go.

It's near the end, about 30 measures in. I have tried everything, creating more bar lines after than trying to delete it, copying and pasting. Nothing. It keeps coming back. Very annoying.

Just appears as a dotted bar line, which I believe is supposed to mean unregulated timing? I tapped and held at the end of the piece to get more measures, with 'insert bar line', and this is what I get. Worked great up to then adding them.