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

Exception on processing AssertJ SoftAssertions #210

Closed
2 tasks
ostrovanka opened this issue Mar 7, 2018 · 2 comments · Fixed by #322
Closed
2 tasks

Exception on processing AssertJ SoftAssertions #210

ostrovanka opened this issue Mar 7, 2018 · 2 comments · Fixed by #322
Labels
theme:assertj AssertJ related issue type:bug Something isn't working work:backlog No work on this issue at the moment

Comments

@ostrovanka
Copy link

I'm submitting a ...

  • [ ] bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Build fails with exception:

java.lang.BootstrapMethodError-->call site initialization exception
org.assertj.core.internal.cglib.core.CodeGenerationException: java.lang.BootstrapMethodError-->call site initialization exception

if there SoftAssertions class is used in test:

 SoftAssertions soft=new SoftAssertions();
      soft.  assertThat(25).as("Test description").isEqualTo(26);

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

1.Apply allure-assertJ plugin version 2.6.0
2.Create any tst with usage of SoftAssertions classs
3.Run tests

What is the expected behavior?

There is not exceptions (except assertion failures) in build. Allure report with allure-assertj plugin is generated

Please tell us about your environment:

| Allure version | 2.6.0 |
| AssertJ plugin | allure-assertj:2.6.0 |
| Test framework | [email protected] |
| Allure integration | [email protected] |
| Generate report using | [email protected] |

@spaluchowski
Copy link

Is there any progress on this?

@baev baev changed the title [Allure - AssertJ] Exception on processing assertJ SoftAssertions [AssertJ] Exception on processing assertJ SoftAssertions Oct 18, 2018
@baev baev added theme:assertj AssertJ related issue type:bug Something isn't working work:backlog No work on this issue at the moment labels Oct 18, 2018
@baev baev changed the title [AssertJ] Exception on processing assertJ SoftAssertions Exception on processing AssertJ SoftAssertions Nov 12, 2018
@baev
Copy link
Member

baev commented Feb 12, 2019

I added tests for this case and everything works as expected. Feel free to reopen issue if problem still occurs, but make sure you provided a sample project (as repository on Github) that reproduces the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:assertj AssertJ related issue type:bug Something isn't working work:backlog No work on this issue at the moment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants