I was doing the job for the Daedric prince that wants you to cast the spell on the Countess of Leyawiin. I cast it on her (not in sneak mode) and was immediately arrested. They took all of my items, and when I finally found a lockpick and opened the evidence chest, there was nothing in it.
I would like to avoid loading a previous save if I can. Losing all of my items was a glitch, right?