Crash on sending report
See original GitHub issueI want reporting crash in new version of Acra
Failed to send crash reports for /data/data/[...]/app_ACRA-approved/2017-01-23T22:41:28.770+01:00-IS_SILENT.stacktrace
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String[] org.acra.model.Element.flatten()' on a null object reference
at org.acra.sender.HttpSender.remap(HttpSender.java:254)
at org.acra.sender.HttpSender.send(HttpSender.java:221)
at org.acra.sender.ReportDistributor.sendCrashReport(ReportDistributor.java:107)
at org.acra.sender.ReportDistributor.distribute(ReportDistributor.java:74)
at org.acra.sender.SenderService.onHandleIntent(SenderService.java:74)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.os.HandlerThread.run(HandlerThread.java:61)
My Application header is:
@ReportsCrashes(formUri = "http://[...]/post.php",
mode = ReportingInteractionMode.TOAST,
httpMethod = HttpSender.Method.POST,
resToastText = R.string.crash_toast_text)
and onCreate method is:
@Override
public void onCreate() {
ACRA.init(this);
super.onCreate();
}
Version:
compile ‘ch.acra:acra:4.9.2’
Please fix it
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Send usage & crash reports - Google Workspace Admin Help
View your crash reports. Each crash report sent to us is stored in a file on your computer. To open the reports and...
Read more >Acquiring crash reports and diagnostic logs - Apple Developer
Crash reports from customers who send diagnostic and usage information are presented in the Crashes organizer, as described in Share crash, energy, ...
Read more >Submitting crash reports - Analyse-it
If Analyse-it crashes or experiences a problem, it creates a crash report and prompts you to send it to us for investigation.
Read more >Sending a Crash Report - In-Design Plugins | 65bit Software
Sending a Crash Report · Launch the 'Console. · On the left of the dialog that appears, under 'Diagnostic and Usage Information' should...
Read more >How can I send Apple app crash reports from my iOS device?
Find the Report ; Step 1: Using your mobile iOS device, open the settings menu and press Privacy: ; Step 2: Scroll down...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can access a compiled version with the fix under
repository:
Note that this is my working directory and may not always contain a working version, but its a nice temporary solution until a new release is made.
I think wrong code:
must be: