Can't edit beziercurve, handles are not visible
As John Eason and Nathan said in the comments: unhiding in selection mode solves the problem.
In case others have the same problem here is how to solve it:
first select your bezier curve, then go to edit mode and press A to select everything. To unhide press Alt + H