I saw this problem as will, but the reason was that the class that I was using for my contact listener also happened to be the class that created the world - so my contact listener was trying to register itself before a world even existed (at least I think this is what was happening), so I simply told the world explicitly to use the class as the contact listener:
Code:
m_world->SetContactListener(this);