Under what circumstances does the VM crash with an error stating that the Thread classes failed to initialize?
D/dalvikvm( 678): Exception Ljava/lang/NullPointerException; from ClassCache.java:241 not caught locally
W/dalvikvm( 678): Exception Ljava/lang/NullPointerException; thrown while initializing Ljava/lang/ClassCache;
D/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; thrown from Class.java:784 to AccessController.java:188
D/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; from AccessController.java:188 not caught locally
W/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/nio/channels/spi/AbstractInterruptibleChannel;
D/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; from FileChannelFactory.java:41 not caught locally
W/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/lang/System;
D/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; from ThreadGroup.java:254 not caught locally
W/dalvikvm( 678): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/lang/ThreadGroup;
(I know the condition under which this is happening is vague, but I'm using a non-standard VM. Specifically the taintDroid VM. I am executing this on the emulator and this is a known problem and the correction is to execute the VM in portable mode. In the above case, the VM is in standard mode. I have asked questions on that group with no replies. Hence i;m asking here for some more general pointers/answers on the reasons for such a crash, or how something like this may be debugged)