Skip to content

Android/Java 1.30.6 causing crash due to PR #1419 #1451

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

Closed
Samikay opened this issue Dec 13, 2019 · 0 comments · Fixed by #1452
Closed

Android/Java 1.30.6 causing crash due to PR #1419 #1451

Samikay opened this issue Dec 13, 2019 · 0 comments · Fixed by #1452
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@Samikay
Copy link

Samikay commented Dec 13, 2019

Prompted by this SO post with more details: https://stackoverflow.com/questions/59243821/youtube-api-exception-in-initializer-error/59298544#59298544

Environment details

  • OS: Android
  • Java version: 8
  • google-api-java-client version: 1.30.6

Steps to reproduce

  1. Try to access GoogleUtils.VERSION with build.gradle looking like:
    dependencies { implementation ('com.google.api-client:google-api-client:1.30.6') implementation ('com.google.api-client:google-api-client-android:1.30.6') implementation ('com.google.apis:google-api-services-drive:+') }

Stacktrace

Caused by: java.lang.IllegalStateException: No successful match so far
        at java.util.regex.Matcher.ensureMatch(Matcher.java:1116)
        at java.util.regex.Matcher.group(Matcher.java:382)
        at com.google.api.client.googleapis.GoogleUtils.<clinit>(Unknown Source:26)

Please let me know if this is a problem with our own setups, as far as I can tell there's not a whole lot I can do.

Thanks!

@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Dec 13, 2019
@chingor13 chingor13 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 17, 2019
@chingor13 chingor13 self-assigned this Dec 17, 2019
@yoshi-automation yoshi-automation removed the triage me I really want to be triaged. label Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants