eclipse - Android App began crashing, I can't explain it -
i putting finishing touches on app today. created layout-large main.xml, , drawable-hdpi few of app's images. working fine, on both wvga , hvga emulators. added "help" button, no associated code, menu-key menu. working. can't remember changing else, when attempting load main activity of app force close error, , in logcat:
10-07 18:17:08.812: error/androidruntime(325): java.lang.runtimeexception: unable start activity componentinfo{com.nickavv.quickchange/com.nickavv.quickchange.quickchange}: java.lang.nullpointerexception 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread.performlaunchactivity(activitythread.java:2663) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2679) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread.access$2300(activitythread.java:125) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread$h.handlemessage(activitythread.java:2033) 10-07 18:17:08.812: error/androidruntime(325): @ android.os.handler.dispatchmessage(handler.java:99) 10-07 18:17:08.812: error/androidruntime(325): @ android.os.looper.loop(looper.java:123) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread.main(activitythread.java:4627) 10-07 18:17:08.812: error/androidruntime(325): @ java.lang.reflect.method.invokenative(native method) 10-07 18:17:08.812: error/androidruntime(325): @ java.lang.reflect.method.invoke(method.java:521) 10-07 18:17:08.812: error/androidruntime(325): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:868) 10-07 18:17:08.812: error/androidruntime(325): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:626) 10-07 18:17:08.812: error/androidruntime(325): @ dalvik.system.nativestart.main(native method) 10-07 18:17:08.812: error/androidruntime(325): caused by: java.lang.nullpointerexception 10-07 18:17:08.812: error/androidruntime(325): @ com.nickavv.quickchange.quickchange.oncreate(quickchange.java:155) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1047) 10-07 18:17:08.812: error/androidruntime(325): @ android.app.activitythread.performlaunchactivity(activitythread.java:2627)
thanks help, if need know else ask.
you've got null pointer exception on line 155 of quickchange.java. examine code in area of app.
Comments
Post a Comment