auf dem Holzweg sein

Etymology
lit. 'to be on the woodway', originally referring to a path used for transporting logwood out of a forest, and leading nowhere in particular when following into.

Verb

 * 1) to be on the wrong track
 * 2) to be up a blind alley
 * 3) to bark up the wrong tree
 * 1) to bark up the wrong tree