| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 s <<< FAILURE! - in com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializerTest
[ERROR] testInitialize(com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializerTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class com.google.api.client.googleapis.GoogleUtils
at com.google.api.client.googleapis.services.json.CommonGoogleJsonClientRequestInitializerTest.testInitialize(CommonGoogleJsonClientRequestInitializerTest.java:47)
Sorry, something went wrong.
| if (inputStream != null) { | ||
| final Properties properties = new Properties(); | ||
| properties.load(inputStream); | ||
| version = properties.getProperty("google-api-client.version"); |
There was a problem hiding this comment.
this could be null. You should supply a default here.
Sorry, something went wrong.
There was a problem hiding this comment.
Done. Moved the default to the return statement while checking for null.
Sorry, something went wrong.
There was a problem hiding this comment.
Or you could write
version = properties.getProperty("google-api-client.version". "unknown-version");
up to you.
Sorry, something went wrong.
| if (inputStream != null) { | ||
| final Properties properties = new Properties(); | ||
| properties.load(inputStream); | ||
| version = properties.getProperty("google-api-client.version"); |
There was a problem hiding this comment.
Or you could write
version = properties.getProperty("google-api-client.version". "unknown-version");
up to you.
Sorry, something went wrong.
|
Did this make it into 1.30.7? Cause it's still broken. Or is it because it's minified? I should test that... 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 c.c.b.a.c.a.<clinit>(:66)
at com.google.api.services.drive.Drive.<clinit>(:44)
at com.google.api.services.drive.Drive$Builder.build(:9813)
Post-edit: Nevermind, proguard issue. Needed this to stop the crash: Sorry about that. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #1451