Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrashReportDataFactory.getStackTrace() is getting java.lang.NoSuchMethodError: java.lang.String.isEmpty exception #268

Closed
DailyTimer opened this issue Apr 30, 2015 · 3 comments

Comments

@DailyTimer
Copy link

I see this exception in ACRS's crash report.

java.lang.NoSuchMethodError: java.lang.String.isEmpty
at org.acra.collector.CrashReportDataFactory.getStackTrace(SourceFile:404)
at org.acra.collector.CrashReportDataFactory.createCrashData(SourceFile:148)
at org.acra.ErrorReporter.report(SourceFile:741)
at org.acra.ErrorReporter.access$1400(SourceFile:82)
at org.acra.ErrorReporter$ReportBuilder.send(SourceFile:1131)
at org.acra.ErrorReporter.handleException(SourceFile:646)

I'm using ACRA V4.6.1. Above exception is caught on phone with OS level=8. In case you need more info, please let me know.

@william-ferguson-au
Copy link
Member

Hmm String#isEmpty() was only introduced in API 9
http://developer.android.com/reference/java/lang/String.html#isEmpty()

I'll have a look at what replacement we could use since I thought we supported back to API 3.

@chrimaeon
Copy link

@william-ferguson-au
Copy link
Member

Thanks @chrimaeon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants