Error After Debugging

This is a discussion on Error After Debugging within the Beginning Developers forums, part of the Android Development category; Hi, I have my first application eclipse throws me an error code, but when run it in the simulator did not open and gives me ...

Results 1 to 2 of 2

Thread: Error After Debugging

  1. #1
    Android Lurker ramondevesa's Avatar
    Join Date
    Jul 2012
    Posts
    1

    Error After Debugging

    Hi, I have my first application eclipse throws me an error code, but when run it in the simulator did not open and gives me an error, as the simulator runs with eclipse eclipse throws me the following errors that understand. Thanks before hand.

    HTML Code:
    07-28 22:43:08.507: E/AndroidRuntime(418): FATAL EXCEPTION: main
    07-28 22:43:08.507: E/AndroidRuntime(418): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.voragile.agenda/com.voragile.agenda.AgendaActivity}: java.lang.NullPointerException
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.os.Handler.dispatchMessage(Handler.java:99)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.os.Looper.loop(Looper.java:123)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread.main(ActivityThread.java:3683)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at java.lang.reflect.Method.invokeNative(Native Method)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at java.lang.reflect.Method.invoke(Method.java:507)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at dalvik.system.NativeStart.main(Native Method)
    07-28 22:43:08.507: E/AndroidRuntime(418): Caused by: java.lang.NullPointerException
    07-28 22:43:08.507: E/AndroidRuntime(418):  at com.voragile.agenda.AgendaActivity.onCreate(AgendaActivity.java:24)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    07-28 22:43:08.507: E/AndroidRuntime(418):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
    07-28 22:43:08.507: E/AndroidRuntime(418):  ... 11 more

  2. Android.net is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Android Lurker Tramontana's Avatar
    Join Date
    Aug 2012
    Location
    Ventimiglia, Italy
    Posts
    5
    The critical line in your own code is in AgendaActivity, line 24. You're trying to use a property or method of a variable whose value is null. Put a breakpoint there and examine the environment when you hit it.

Remove Ads

http://www.scramblerducati.org/

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Big Error on Galaxy S2
    By Simone_nl in forum Rescue Squad Help
    Replies: 5
    Last Post: 11-21-2012, 08:04 PM
  2. android debugging problem
    By XDfaceme in forum Custom Android Roms
    Replies: 0
    Last Post: 03-21-2012, 12:34 PM
  3. Qwerty error
    By DrTomas in forum LG Ally Help
    Replies: 2
    Last Post: 10-05-2011, 11:03 AM
  4. text error
    By kegr22 in forum LG Ally Help
    Replies: 1
    Last Post: 05-24-2011, 09:01 PM
  5. Debugging
    By CHawk in forum HTC EVO 4G
    Replies: 2
    Last Post: 07-25-2010, 01:34 AM

Search tags for this page

android virhe 418

,

erro 418 android

Click on a term to search our sites for related topics.
Android Forum