Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on sending report

See original GitHub issue

I 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(
                                                                            at org.acra.sender.HttpSender.send(
                                                                            at org.acra.sender.ReportDistributor.sendCrashReport(
                                                                            at org.acra.sender.ReportDistributor.distribute(
                                                                            at org.acra.sender.SenderService.onHandleIntent(
                                                                            at android.os.Handler.dispatchMessage(
                                                                            at android.os.Looper.loop(

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:

    public void onCreate() {



compile ‘ch.acra:acra:4.9.2’

Please fix it

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

F43nd1rcommented, Jan 23, 2017

You can access a compiled version with the fix under

compile 'com.faendir:acra:4.9.3-SNAPSHOT'


maven {url = "" }

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.

DenisZhadancommented, Feb 17, 2017

I think wrong code:

    public void onCreate() {

must be:

    public void onCreate() {
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found