Hi,
What happens when you STOP just before the line and print this? It sounds like config isn't instantiated - this could be a number of reasons including it being referenced from an async thread to the render thread or something. Could you post a bit more code so I can take a look?