2012-10-26 50 views
0

我的程序運行,但我得到了上面提到的logro eroor是什麼原因,我不能沒有得到這麼幫助我在這方面。我正在提供我的堆棧跟蹤。如果有任何身體知道爲什麼這個錯誤出現,請讓我知道無法打開堆棧跟蹤文件'/data/anr/jbt/jbt.907.tmp':沒有這樣的文件或目錄?

10-26 06:55:55.248: W/System.err(981): at android.app.ActivityThread.main(ActivityThread.java:3814) 
10-26 06:55:55.248: W/System.err(981): at java.lang.reflect.Method.invokeNative(Native Method) 
10-26 06:55:55.248: W/System.err(981): at java.lang.reflect.Method.invoke(Method.java:538) 
10-26 06:55:55.248: W/System.err(981): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901) 
10-26 06:55:55.248: W/System.err(981): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:659) 
10-26 06:55:55.248: W/System.err(981): at dalvik.system.NativeStart.main(Native Method) 
10-26 06:55:55.248: W/System.err(981): Caused by: java.lang.NullPointerException 
10-26 06:55:55.248: W/System.err(981): at com.simsys.securex.PolicyReceiver.onReceive(PolicyReceiver.java:821) 
10-26 06:55:55.248: W/System.err(981): at android.app.ActivityThread.handleReceiver(ActivityThread.java:1888) 
10-26 06:55:55.248: W/System.err(981): ... 10 more 
10-26 06:56:05.529: I/dalvikvm(981): threadid=4: reacting to signal 3 
10-26 06:56:05.529: D/dalvikvm(981): SigQuit + : 0 
10-26 06:56:05.533: I/dalvikvm(981): Wrote stack traces to '/data/anr/traces.txt' 
10-26 06:56:05.543: E/dalvikvm(981): Unable to open stack trace file '/data/anr/jbt/jbt.981.tmp': No such file or directory 
10-26 06:56:05.543: D/dalvikvm(981): SigQuit - : 0 
10-26 06:59:19.745: I/dalvikvm(1043): threadid=4: reacting to signal 3 
10-26 06:59:19.745: D/dalvikvm(1043): SigQuit + : 0 
10-26 06:59:19.757: I/dalvikvm(1043): Wrote stack traces to '/data/anr/traces.txt' 
10-26 06:59:19.765: E/dalvikvm(1043): Unable to open stack trace file '/data/anr/jbt/jbt.1043.tmp': No such file or directory 
10-26 06:59:19.765: D/dalvikvm(1043): SigQuit - : 0 
10-26 06:59:32.834: D/AndroidRuntime(1135): Shutting down VM 
10-26 06:59:32.834: W/dalvikvm(1135): threadid=1: thread exiting with uncaught exception (group=0x4001c648) 
10-26 06:59:32.838: W/System.err(1135): java.lang.RuntimeException: Unable to start receiver com.simsys.securex.PolicyReceiver: java.lang.NullPointerException 
10-26 06:59:32.839: W/System.err(1135):  at android.app.ActivityThread.handleReceiver(ActivityThread.java:1899) 
10-26 06:59:32.839: W/System.err(1135):  at android.app.ActivityThread.access$2400(ActivityThread.java:155) 
10-26 06:59:32.839: W/System.err(1135):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1043) 
10-26 06:59:32.839: W/System.err(1135):  at android.os.Handler.dispatchMessage(Handler.java:130) 
10-26 06:59:32.840: W/System.err(1135):  at android.os.Looper.loop(SourceFile:351) 
10-26 06:59:32.840: W/System.err(1135):  at android.app.ActivityThread.main(ActivityThread.java:3814) 
10-26 06:59:32.840: W/System.err(1135):  at java.lang.reflect.Method.invokeNative(Native Method) 
10-26 06:59:32.840: W/System.err(1135):  at java.lang.reflect.Method.invoke(Method.java:538) 
10-26 06:59:32.840: W/System.err(1135):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901) 
10-26 06:59:32.841: W/System.err(1135):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:659) 
10-26 06:59:32.841: W/System.err(1135):  at dalvik.system.NativeStart.main(Native Method) 
10-26 06:59:32.841: W/System.err(1135): Caused by: java.lang.NullPointerException 
10-26 06:59:32.841: W/System.err(1135):  at com.simsys.securex.PolicyReceiver.onReceive(PolicyReceiver.java:821) 
10-26 06:59:32.841: W/System.err(1135):  at android.app.ActivityThread.handleReceiver(ActivityThread.java:1888) 
10-26 06:59:32.842: W/System.err(1135):  ... 10 more 
10-26 06:59:43.649: I/dalvikvm(1135): threadid=4: reacting to signal 3 
10-26 06:59:43.649: D/dalvikvm(1135): SigQuit + : 0 
10-26 06:59:43.653: I/dalvikvm(1135): Wrote stack traces to '/data/anr/traces.txt' 
10-26 06:59:43.664: E/dalvikvm(1135): Unable to open stack trace file '/data/anr/jbt/jbt.1135.tmp': No such file or directory 
10-26 06:59:43.664: D/dalvikvm(1135): SigQuit - : 0 
10-26 07:01:01.606: I/dalvikvm(1184): threadid=4: reacting to signal 3 
10-26 07:01:01.606: D/dalvikvm(1184): SigQuit + : 0 
10-26 07:01:01.611: I/dalvikvm(1184): Wrote stack traces to '/data/anr/traces.txt' 
10-26 07:01:01.613: E/dalvikvm(1184): Unable to open stack trace file '/data/anr/jbt/jbt.1184.tmp': No such file or directory 
10-26 07:01:01.613: D/dalvikvm(1184): SigQuit - : 0 

回答

0

有一個在你的PolicyReceiver.java文件821線訪問一些對象的嘗試。

關於Unable to open stack trace file錯誤消息,它們似乎是某些Android系統構建的常見問題。系統嘗試但未能編寫一些可幫助您調試實際錯誤的信息。這與您無關,因爲您已在logcat中看到的日誌中包含此信息。

相關問題