Skip to content

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

Closed
@Samikay

Description

@Samikay

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!

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions