What is cause of java.lang.ExceptionInInitializer error?
<p>What causes this type of exception?</p>

<pre><code>&gt; java.lang.ExceptionInInitializerError  at
&gt; java.lang.Class.newInstanceImpl(Native Method)  at
&gt; java.lang.Class.newInstance(Class.java:1409)  at
&gt; android.app.Instrumentation.newApplication(Instrumentation.java:957)
&gt;  at
&gt; android.app.Instrumentation.newApplication(Instrumentation.java:942)
&gt;  at android.app.LoadedApk.makeApplication(LoadedApk.java:471)  at
&gt; android.app.ActivityThread.handleBindApplication(ActivityThread.java:3264)
&gt;  at android.app.ActivityThread.access$2200(ActivityThread.java:117)
&gt;  at
&gt; android.app.ActivityThread$H.handleMessage(ActivityThread.java:973)
&gt;  at android.os.Handler.dispatchMessage(Handler.java:99)  at
&gt; android.os.Looper.loop(Looper.java:130)  at
&gt; android.app.ActivityThread.main(ActivityThread.java:3687)  at
&gt; java.lang.reflect.Method.invokeNative(Native Method)  at
&gt; java.lang.reflect.Method.invoke(Method.java:507)  at
&gt; com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
&gt;  at com.android.internal.os.Zygo…
</code></pre>
