I installed the acra storage database on couchappy.com. acra-storage: http: // [myapp] .couchappy.com / acra- [myapp]
In my acralyzer application, I created a cespa reporter user.
@ReportsCrashes(
formKey = "",
formUri = "http://[myapp].couchappy.com/acra-[myapp]/_design/acra-storage/_update/report",
reportType = org.acra.sender.HttpSender.Type.JSON,
httpMethod = org.acra.sender.HttpSender.Method.PUT,
formUriBasicAuthLogin = "cespa-reporter",
formUriBasicAuthPassword = "xxxxxxx",
customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA, ReportField.STACK_TRACE, ReportField.LOGCAT }
)
public class CespaApp extends Application {
When acra tries to send a crash report, it says almost nothing:
02-05 14:31:20.632: W/dalvikvm(15882): threadid=1: thread exiting with uncaught exception (group=0x40c5b438)
02-05 14:31:20.632: E/ACRA(15882): ACRA caught a NullPointerException exception for com.gmsoft. Building report.
02-05 14:31:20.642: D/ACRA(15882): Using custom Report Fields
02-05 14:31:20.662: I/ACRA(15882): READ_LOGS granted! ACRA can include LogCat and DropBox data.
02-05 14:31:20.692: D/ACRA(15882): Retrieving logcat output...
02-05 14:31:20.732: D/ACRA(15882): Writing crash report file 1391610680000.stacktrace.
02-05 14:31:20.742: D/ACRA(15882): About to start ReportSenderWorker from
02-05 14:31:20.742: D/ACRA(15882): Mark all pending reports as approved.
02-05 14:31:20.742: D/ACRA(15882): Looking for error files in /data/data/com.gmsoft/files
02-05 14:31:20.742: D/ACRA(15882):
02-05 14:31:20.742: D/ACRA(15882): Looking for error files in /data/data/com.gmsoft/files
02-05 14:31:20.742: I/ACRA(15882): Sending file 1391609009000-approved.stacktrace
02-05 14:31:20.752: D/ACRA(15882): Waiting for Toast + worker...
02-05 14:31:20.762: D/ACRA(15882): Connect to http://cespacra.couchappy.com/acra-cespapp/_design/acra-storage/_update/report
02-05 14:31:20.772: D/ACRA(15882): Sending request to http://cespacra.couchappy.com/acra-cespapp/_design/acra-storage/_update/report/null
As you can see, it just tells me that it is trying to send a report, but nothing more. I would like to know why the acre did not leave to send a report.
could you help me?
Jordi source
share