Skip to content

Example of "Unexpected failure during lint analysis..." bug

Notifications You must be signed in to change notification settings

mattlogan/TimberBug

Repository files navigation

TimberBug

Example of "Unexpected failure during lint analysis..." bug

To replicate:

./gradlew :app:lint

Output:

Unexpected failure during lint analysis of Foo.java (this is a bug in lint or one of the libraries it depends on)
EcjParser.equalsCompound(EcjParser.java:2351)->EcjParser$EcjResolvedClass.isSubclassOf(EcjParser.java:1381)->WrongTimberUsageDetector.isSubclassOf(WrongTimberUsageDetector.java:329)->WrongTimberUsageDetector.checkThrowablePosition(WrongTimberUsageDetector.java:448)

The offending code:

public class Foo<T> {

    public void logBar(T bar) {
        Timber.d("bar: %s", bar);
    }
}

About

Example of "Unexpected failure during lint analysis..." bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages