Have you serviced either hub at any stage. The inside of the freehub has light grease/heavy oil which lubes the pawls, allowing them to spring out and engage when you pedal. If (when) it gets contaminated with muck then the pawl only comes out a small way, and the more brittle edge eventually will be sheared off, and the hub fail to engage at all. There are replacement parts, but a stitch in time saves 9