I heard this story but I don't have a source for it.
A research scientist develops an allergy to ground coffee, but not the the whole bean version of the same brand. He knew he was already developing an allergy to the subject of his research, cockroaches.
I'm currently trying to track down the source of this story. As soon as I hear word about it I'll post a link.