i spawned zombies out of dispensers using a wooden button and redstone and I could not hurt them in any gamemode. in creative, I smashed the blocks behind them, but could not hurt them. the only things that could hurt them was swords or bows.(weapons)
Please provide additional information, so we can better help with your problem:
Was this a single player or multi-player/LAN game?
Was the issue corrected after logging out and back in?
Was the issue corrected after closing the program and restarting?
Have you been able to reproduce this?
You may also want to review the guidelines for writing helpful bug reports.