当按下按钮时,我的应用程序开始崩溃,通常错误日志将我指向正确的方向,但这次我无法破译它。任何帮助将不胜感激:
错误:
10-24 10:15:31.105: E/AndroidRuntime(22640): FATAL EXCEPTION: main
10-24 10:15:31.105: E/AndroidRuntime(22640): java.lang.IllegalStateException: Could not execute method of the activity
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.view.View$1.onClick(View.java:3116)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.view.View.performClick(View.java:3644)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.view.View$PerformClick.run(View.java:14313)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.os.Handler.handleCallback(Handler.java:605)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.os.Handler.dispatchMessage(Handler.java:92)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.os.Looper.loop(Looper.java:137)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.app.ActivityThread.main(ActivityThread.java:4517)
10-24 10:15:31.105: E/AndroidRuntime(22640): at java.lang.reflect.Method.invokeNative(Native Method)
10-24 10:15:31.105: E/AndroidRuntime(22640): at java.lang.reflect.Method.invoke(Method.java:511)
10-24 10:15:31.105: E/AndroidRuntime(22640): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
10-24 10:15:31.105: E/AndroidRuntime(22640): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
10-24 10:15:31.105: E/AndroidRuntime(22640): at dalvik.system.NativeStart.main(Native Method)
10-24 10:15:31.105: E/AndroidRuntime(22640): Caused by: java.lang.reflect.InvocationTargetException
10-24 10:15:31.105: E/AndroidRuntime(22640): at java.lang.reflect.Method.invokeNative(Native Method)
10-24 10:15:31.105: E/AndroidRuntime(22640): at java.lang.reflect.Method.invoke(Method.java:511)
10-24 10:15:31.105: E/AndroidRuntime(22640): at android.view.View$1.onClick(View.java:3111)
10-24 10:15:31.105: E/AndroidRuntime(22640): ... 11 more
10-24 10:15:31.105: E/AndroidRuntime(22640): Caused by: java.lang.NullPointerException
10-24 10:15:31.105: E/AndroidRuntime(22640): at com.directenquiries.assessment.tool.AddAsset.AddAsset(AddAsset.java:476)
10-24 10:15:31.105: E/AndroidRuntime(22640): ... 14 more