LUCENE-3919: Die, context class loader, die. Also don't initialize (run static ctors) unrelated classes! @UweSays: "If you get the context classloader from a thread, in most cases you are doing something wrong because you don't understand how Java classloading works."