it's probably an open contour.
fully define the geometry (make the sketch black).
Leszak is almost certainly right. It sounds like your sketch isn't a closed profile. If you're still having problems can you post a screenshot of your sketch, or the part file itself?
While in sketch edit mode, go to Tools > Sketch Tools > Check Sketch for Feature and that would find the issue for you.