ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

Display is all single character #80

Open lnrobby opened 10 years ago

lnrobby commented 10 years ago

The display of a report shows a list of single characters for the stack trace rather than a full line. I have tried in I.E. and Chrome with the same result.

displayproblem

halkeye commented 10 years ago

What versions of acralyzer, acra-storage, and acra (android) are you using?

I'm not sure if the first two have version numbers.

I think I vaguely remember this issue being caused by an old version of the acra lib.

lnrobby commented 10 years ago

Hi Gavin

Not sure what version any of it is. I cannot find a version number anywhere on Acralyser or ACRA Android.

We set up ACRA from here

https://github.com/ACRA/acra/wiki/BasicSetup

I am using Cloudant for the storage.

This is what the design document from the database says.

"_id": "_design/acralyzer", "_rev": "2-9a5360564941cf6a73ef18bfcd538247", "language": "javascript", "couchapp": { "manifest": [ "couchapp.json", "language" ],

Thanks

Len

On 29 May 2014 01:43, Gavin Mogan notifications@github.com wrote:

What versions of acralyzer, acra-storage, and acra (android) are you using?

I'm not sure if the first two have version numbers.

I think I vaguely remember this issue being caused by an old version of the acra lib.

— Reply to this email directly or view it on GitHubhttps://github.com/ACRA/acralyzer/issues/80#issuecomment-44482452 .

Len

ay-git commented 9 years ago

I have some problem.

I install to cloudant.com by "EASY WAY - replication of remote CouchApps" (https://github.com/ACRA/acralyzer/wiki/setup) from: remote database: http://get.acralyzer.com/distrib-acra-storage from: remote database: http://get.acralyzer.com/distrib-acralyzer

All version - actual

ay-git commented 9 years ago

I solved this problem.

The problem is that ACRA add STACK_TRACE as a string:

"STACK_TRACE": "java.lang.ArithmeticException: divide by zero\n\tat com.example.test.Test.changeAreaTo(test.java:117)\n\tat co"

A acralyzer expects an array of strings.

To solve the problem i replaced in \partials\report-details.html: stackline in report.STACK_TRACE on stackline in report.STACK_TRACE.split('\n')

And updated acralyzer using this man: https://github.com/ACRA/acralyzer/wiki/manual-setup