Kaspresso
Kaspresso copied to clipboard
java.lang.NoSuchFieldError: No static field INSTANCE of type Lio/qameta/allure/android/AllureAndroidLifecycle; Allure 2.4.0
Hi, does 1.4.1 contain update fix for allure dependencies 2.4.0? https://github.com/KasperskyLab/Kaspresso/pull/356
They changed the implementation from object AllureAndroidLifecycle
to class AllureAndroidLifecycle
and as result it cause the trace:
java.lang.NoSuchFieldError: No static field INSTANCE of type Lio/qameta/allure/android/AllureAndroidLifecycle; in class Lio/qameta/allure/android/AllureAndroidLifecycle; or its superclasses (declaration of 'io.qameta.allure.android.AllureAndroidLifecycle' appears in )
at com.kaspersky.components.alluresupport.interceptors.step.AllureMapperStepInterceptor.<init>(AllureMapperStepInterceptor.kt:13)
at com.kaspersky.components.alluresupport.AllureSupportKaspressoBuilderKt.addAllureSupport(AllureSupportKaspressoBuilder.kt:32)
and when I decompiled AllureMapperStepInterceptor I see old implementation on object
INSTANCE, and if downgrade to 1.4.0 it looks same