-
Notifications
You must be signed in to change notification settings - Fork 971
WrongTimberUsageDetector.checkNestedStringFormat NPE #334
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
Comments
We started getting a similar error with AGP 3.3.0. Didn't happen with AGP 3.2.1
|
Swapping |
This issue is happening in java too after updating to timber 10 even if timber is not used in the class, only workaround to split the String.format to two lines for me |
Also getting this with AGP 3.5.0-rc03:
The relevant code looks like this: storage.put(String.format(KEY_VALUE_PREFIX, providerId), enabled).subscribe(Functions.EMPTY_ACTION, Timber::w); |
Hi! We use latest Timber version(4.7.1). I found some issue in custom Lint rule(WrongTimberUsageDetector). Did not go deeper to find reason, why it is crashing. Just post you simple code, that initiates NPE.
Code:
TextUtils.join(",", Arrays.asList(String.format("Hello %s", "World"), "Hello World"));
Crash log:
Hope, this info will be helpful for you to find solve,
The text was updated successfully, but these errors were encountered: