Kaspresso icon indicating copy to clipboard operation
Kaspresso copied to clipboard

java.lang.NoSuchFieldError: No static field INSTANCE of type Lio/qameta/allure/android/AllureAndroidLifecycle; Allure 2.4.0

Open kuFEAR opened this issue 2 years ago • 0 comments

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 Screenshot 2022-08-01 at 09 50 05

kuFEAR avatar Jul 30 '22 07:07 kuFEAR