acralyzer icon indicating copy to clipboard operation
acralyzer copied to clipboard

Display is all single character

Open lnrobby opened this issue 11 years ago • 4 comments

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

lnrobby avatar May 28 '14 16:05 lnrobby

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.

halkeye avatar May 29 '14 00:05 halkeye

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 [email protected] 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

lnrobby avatar May 29 '14 07:05 lnrobby

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 avatar Aug 28 '14 09:08 ay-git

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

ay-git avatar Sep 03 '14 08:09 ay-git