Skip to content
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

Fix AllureLifecycle changes with 2.4.0 update #356

Merged
merged 2 commits into from
Apr 27, 2022

Conversation

vrnvorona
Copy link
Contributor

@vrnvorona vrnvorona commented Apr 20, 2022

Object changed to class so we need to initialise it here

Without it I receive this crash:

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 /data/app/app.debug.test-YeU-HujJ37wRXVekeu2sPw==/base.apk)
at com.kaspersky.components.alluresupport.interceptors.step.AllureMapperStepInterceptor.<init>(AllureMapperStepInterceptor.kt:13)
at app.AllureSupportKaspressoBuilderKt.addAllureSupport(AllureSupportKaspressoBuilder.kt:32)
at app.AllureSupportKaspressoBuilderKt.withAllureSupport(AllureSupportKaspressoBuilder.kt:19)

Though I don't know if anything else is needed to change since I used it with 2.4.0 allure.

Object changed to class so we need to initialise it here
@CLAassistant
Copy link

CLAassistant commented Apr 20, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants