I also came terrifyingly close to becoming a stab victim in Frankfurt. Those blocks around the train station are as hard as any place I've been.
I still think Oslo is incredibly safe, but shit happens anywhere
A homeless guy on a street full of druggies near Frankfurt hbh asked for a euro and I said no I can't help you. He walked directly to a spot nearby where he kept a knife, and brandishing the knife, he paced towards me. I put my back to the wall of a nearby building and watched as he approached. About 10 meters from me his friend intervened and talked him down. He walked away instead of assaulting me.