It should not hurt the charger to be plugged in but not connected. Just don't let the outlet leads touch! (Even then, it should be fused).
I don't know the charger, but I am never surprised to see a spark when connecting a battery.
I would however normally connect the battery prior to plugging in the charger.
P.S. What does the charger's handbook say.