Join objects deletes surfaces, and messes it up
I guess you are joining bezier curve, and the last you select before your ctrl J is in 2D (check it out in the Properties panel > Data > Shape > 2D or 3D). So either switch it to 3D or don't select this 2D object at last before your ctrl J.