It's not a bug. Weapon hits rely completely on your character skill. Make sure you're using a weapon type you're skilled in. You should start out with at least a skill of forty in your main weapon. Also, fatigue is extremely important. Make sure it's full or near full when in combat (and when you're doing pretty much anything else), otherwise you won't hit anything.
If you follow these, you should be fine. You'll still miss a lot, but you should hit a decent amount. As you level up, it'll get easier and easier. The turning point will be around level 5-7, when you get a bit of power.