This won't work anymore and is probably the source of your problematic stack trace.