saravanarajan / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

stacktrace file could not be created #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My package name is com.myapp.ps,and try ACRA in app,the log is:
11-13 17:40:08.806: D/ACRA(3756): Add user comment to 1352799583000.stacktrace
11-13 17:40:08.880: W/ACRA(3756): User comment not added: 
11-13 17:40:08.880: W/ACRA(3756): java.io.FileNotFoundException: 
/data/data/com.myapp.ps/files/1352799583000.stacktrace: open failed: ENOENT (No 
such file or directory)
11-13 17:40:08.880: W/ACRA(3756): at libcore.io.IoBridge.open(IoBridge.java:416)
11-13 17:40:08.880: W/ACRA(3756): at 
java.io.FileInputStream.(FileInputStream.java:78)
11-13 17:40:08.880: W/ACRA(3756): at 
android.app.ContextImpl.openFileInput(ContextImpl.java:643)
11-13 17:40:08.880: W/ACRA(3756): at 
android.content.ContextWrapper.openFileInput(ContextWrapper.java:159)
11-13 17:40:08.880: W/ACRA(3756): at 
org.acra.CrashReportPersister.load(CrashReportPersister.java:63)
11-13 17:40:08.880: W/ACRA(3756): at 
org.acra.CrashReportDialog$1.onClick(CrashReportDialog.java:171)
11-13 17:40:08.880: W/ACRA(3756): at 
android.view.View.performClick(View.java:4084)
11-13 17:40:08.880: W/ACRA(3756): at 
android.view.View$PerformClick.run(View.java:16966)
11-13 17:40:08.880: W/ACRA(3756): at 
android.os.Handler.handleCallback(Handler.java:615)
11-13 17:40:08.880: W/ACRA(3756): at 
android.os.Handler.dispatchMessage(Handler.java:92)
11-13 17:40:08.880: W/ACRA(3756): at android.os.Looper.loop(Looper.java:137)
11-13 17:40:08.880: W/ACRA(3756): at 
android.app.ActivityThread.main(ActivityThread.java:4745)
11-13 17:40:08.880: W/ACRA(3756): at 
java.lang.reflect.Method.invokeNative(Native Method)
11-13 17:40:08.880: W/ACRA(3756): at 
java.lang.reflect.Method.invoke(Method.java:511)
11-13 17:40:08.880: W/ACRA(3756): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
11-13 17:40:08.880: W/ACRA(3756): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
11-13 17:40:08.880: W/ACRA(3756): at dalvik.system.NativeStart.main(Native 
Method)
11-13 17:40:08.880: W/ACRA(3756): Caused by: libcore.io.ErrnoException: open 
failed: ENOENT (No such file or directory)
11-13 17:40:08.880: W/ACRA(3756): at libcore.io.Posix.open(Native Method)
11-13 17:40:08.880: W/ACRA(3756): at 
libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
11-13 17:40:08.880: W/ACRA(3756): at libcore.io.IoBridge.open(IoBridge.java:400)
11-13 17:40:08.880: W/ACRA(3756): ... 16 more
11-13 17:40:08.884: V/ACRA(3756): About to start SenderWorker from 
CrashReportDialog
11-13 17:40:08.911: D/ACRA(3756): Mark all pending reports as approved.
11-13 17:40:08.911: D/ACRA(3756): Looking for error files in 
/data/data/com.myapp.ps/files
11-13 17:40:08.915: D/ACRA(3756): #checkAndSendReports - start
11-13 17:40:08.919: D/ACRA(3756): Looking for error files in 
/data/data/com.myapp.ps/files
11-13 17:40:08.931: D/ACRA(3756): #checkAndSendReports - finish

How can I reslove it?

Thank you.

Original issue reported on code.google.com by pis...@gmail.com on 13 Nov 2012 at 10:06