how to debug ExceptionInInitializationError?

Posted by grmn.bob on Stack Overflow See other posts from Stack Overflow or by grmn.bob
Published on 2010-04-15T19:44:30Z Indexed on 2010/04/15 20:33 UTC
Read the original article Hit count: 432

Filed under:
|
|

I am getting an exception in a very simple 'study' application, so I expect the problem to be in my project setup, but I don't know how to debug ...

What is the context of the exception, "ExceptionInInitializationError"?

Where is it documented? A: Search Android Developers Guide

Stack trace from within Eclipse Debugger with: select thread -> right-click -> copy stack

Thread [<3> main] (Suspended (exception ExceptionInInitializerError))   
    Class.newInstance() line: 1479  
    Instrumentation.newActivity(ClassLoader, String, Intent) line: 1021 
    ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2367  
    ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2470   
    ActivityThread.access$2200(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 119 
    ActivityThread$H.handleMessage(Message) line: 1821  
    ActivityThread$H(Handler).dispatchMessage(Message) line: 99 
    Looper.loop() line: 123 
    ActivityThread.main(String[]) line: 4310    
    Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]  
    Method.invoke(Object, Object...) line: 521  
    ZygoteInit$MethodAndArgsCaller.run() line: 860  
    ZygoteInit.main(String[]) line: 618 
    NativeStart.main(String[]) line: not available [native method]  

© Stack Overflow or respective owner

Related posts about android

Related posts about exceptions