This usually stems from trying to use a mapping variable that hasn't yet been initialized.
mapping m; ... m["blah"] = "joe"; // this will raise an error