saravanarajan / acra

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

Crash reports are not submitted correctly #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

it seems that ACRA isn't able to post the crash report data to my Google Form.

These are my settings: 

@ReportsCrashes
(   
    formKey = "dEVSOXFPajJYZDZuOE5NcUZsdGkxaFE6MQ",
    mode = ReportingInteractionMode.NOTIFICATION,
    resNotifTickerText = R.string.crash_notif_ticker_text,
    resNotifTitle = R.string.crash_notif_title,
    resNotifText = R.string.crash_notif_text,
    resNotifIcon = android.R.drawable.stat_notify_error, // optional. default is a warning sign
    resDialogText = R.string.crash_dialog_text,
    resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign
    resDialogTitle = R.string.crash_dialog_title, // optional. default is your application name
    resDialogCommentPrompt = R.string.crash_dialog_comment_prompt, // optional. when defined, adds a user text field input with this text resource as a label
    resDialogOkToast = R.string.crash_dialog_ok_toast // optional. displays a Toast message when the user accepts to send a report.
)

when I force a NullPointerException, I get this logcat output

I/ActivityManager( 1297): Displayed activity 
com.inthepocket.kinepolis/org.acra.CrashReportDialog: 3029 ms (total 3029 ms)
D/ACRA    (26339): Looking for error files in 
/data/data/com.inthepocket.kinepolis/files
D/ACRA    (26339): Connect to 
http://spreadsheets.google.com/formResponse?formkey=dEVSOXFPajJYZDZuOE5NcUZsdGkx
aFE6MQ&ifq
W/IInputConnectionWrapper(26339): showStatusIcon on inactive InputConnection
D/InputManagerService( 1297): Starting input on non-focused client 
com.android.internal.view.IInputMethodClient$Stub$Proxy@47a9ea30 (uid=10110 
pid=26339)
W/IInputConnectionWrapper(26339): InputConnection = 
com.android.internal.widget.EditableInputConnection@476afdb0, active client = 
false
V/WindowManager( 1297): Remove Window{47c5e7b8 
com.inthepocket.kinepolis/org.acra.CrashReportDialog paused=false}: 
mSurface=null mExiting=false isAnimating=false app-animation=null 
inPendingTransaction=false mDisplayFrozen=false
D/ACRA    (26339): Posting crash report data
D/ACRA    (26339): Reading response
I/global  (26339): Default buffer size used in BufferedReader constructor. It 
would be better to be explicit if an 8k-char buffer is required.
D/ACRA    (26339): <HTML>
D/ACRA    (26339): <HEAD>
V/WindowManager( 1297): Remove Window{47efb468 Toast paused=false}: 
mSurface=Surface(name=Toast, identity=4568) mExiting=false isAnimating=false 
app-animation=null inPendingTransaction=false mDisplayFrozen=false
E/WindowManager( 1297): return in removeWindowLocked

Any idea why the form is not submitted correctly?

Thanks!
Cliff

Original issue reported on code.google.com by cliff.op...@gmail.com on 24 Jan 2011 at 8:50

GoogleCodeExporter commented 9 years ago
I works when I'm using my own API, so better take a look at it ;-)

The form was public and not password protected, so something must have changed 
on Googles side.

Good luck!

Original comment by cliff.op...@gmail.com on 25 Jan 2011 at 7:55

GoogleCodeExporter commented 9 years ago
There is a 'Tijdstempel' field on top of your form which should not be there... 
Timestamp columns are added by Google Docs when the Form is created from the 
spreadsheet but should not be visible in the form.

How did you create your spreadsheet + form ? Could you try recreating one from 
scratch by following the procedure from ACRA3HowTo ?

Original comment by kevin.gaudin on 26 Jan 2011 at 7:08

GoogleCodeExporter commented 9 years ago
Hi Kevin

thanks for your response!
I just imported the template and created a form as described in the tutorial.
So Google added the 'Tijdstempel' field to the form without asking me.

Thanks for noticing! Maybe you can add this 'issue' as a tip to the HowTo page?

Original comment by cliff.op...@gmail.com on 26 Jan 2011 at 7:37

GoogleCodeExporter commented 9 years ago
The strange point is that it is correct to have this column added in your 
spreadsheet when GoogleDocs creates the Form for your sheet, but I don't 
understand how this field has been included as an input in the Form itself.

Original comment by kevin.gaudin on 28 Jan 2011 at 9:48

GoogleCodeExporter commented 9 years ago
I seem to be having a similar situation.  Some of the data is coming through, 
but i guess it might be that it's somewhat unclear about what importing the csv 
files does or where it should be used.  

Original comment by kbaxtrom...@gmail.com on 3 Apr 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Updated Wiki to clearly indicate when, where and how to create a form for the 
ACRA spreadsheet.

Original comment by william....@gmail.com on 16 Jul 2011 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by kevin.gaudin on 22 Dec 2011 at 9:08