Mid-print issue, extruder issue?
Do the two loose pieces go where the fill shows up on the larger piece?  If so, you may have internal surfaces there that need deleting in your drawing so that they don't mess up your slice program.  Otherwise, the slice program may leave a gap in the gcode where you have no extrusion.
If you retract too much, it can cause the filament to jam in the hotend, but you wouldn't be getting all the mid-air extrusion, not connecting to anything.
We need more information to give you a more precise answer.  I suspect you have a settings or gcode/drawing issue rather than a hardware issue.