Sounds like you just don't have a valid weapon equipped. You need a valid weapon equipped to calculate melee attack damage and if you don't it just defaults to 0 like that. I know it looks a bit confusing but its a complicated fix for something that 99% of the time people don't see.
LINK