it could be a coincidence that both of the spark plugs failed with in a matter of a day.
if your bike continues to do this,then you might want to check the plug gap and see if there with in the specs.
you could also check your stator,regulator/rectifier,and ignition coils with the multimeter...