What stopped the CIS from outfitting all their battle droids with fully-automatic blaster-shotguns and sonic weaponry, rendering Jedi completely defenseless?
Star Wars is sci-fantasy because a monk with a laser sword wouldn't last ten seconds on any sort of battlefield that actually made sense. Just enjoy the spectacle lad.
He carries a lightsaber to protect himself from blaster bolts. I guess he should carry similar protection against ion shots as well, and who knows, maybe he does. But he could use the force to make the blasters malfunction. I know he showed himself as being really slow in Rogue 1, but the comics have showed us that he could have really just pushed them all to the edge of the door and killed them immediately. And perhaps the Force can't defend as well against weapons which move as fast as ion shots, but we've seen him take blaster fire directly to his palm, so maybe he can do that with ion shots as well.