encorej / acra

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

endless loop when using notification error reporter #129

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. configure error reporter
2. make MyApplication.onCreate() throe exception
3. the application will get into error reporting loop each time the 
notification is pressed

What version of the product are you using? On what operating system?
acra 4 on ics 4.0.3

in MyApplication.java:
...
public void onCreate(){
    // The following line triggers the initialization of ACRA
    ACRA.init(this);
    super.onCreate();
    MyApplication.context = getApplicationContext();
    instance = this;
throw new RuntimeException();
}
....

Original issue reported on code.google.com by ohads...@gmail.com on 1 Jun 2012 at 1:42

GoogleCodeExporter commented 8 years ago
The application is restarted after each crash. 
So if your application crashes at every initialisation, it sure has to send a 
new report. 

Acra can't fix your app. Only You can. 

Original comment by kevin.gaudin on 1 Jun 2012 at 6:50

GoogleCodeExporter commented 8 years ago
why do the application restart after each crash? did I ask for this? am I 
missing something?
event if it restart, the notification of error appears but I was never 
redirected to the crash comments page, and a crash report was not sent each 
time it restarted.
Thanks,
Ohad.

Original comment by ohads...@gmail.com on 1 Jun 2012 at 7:54