Title: Tests are not starting with Allure-testng 2.9.0 and TestNG 7.0.0-beta1/3. "java.lang.NoSuchMethodError: org.testng.internal.TestResult" · Issue #308 · allure-framework/allure-java · GitHub
Open Graph Title: Tests are not starting with Allure-testng 2.9.0 and TestNG 7.0.0-beta1/3. "java.lang.NoSuchMethodError: org.testng.internal.TestResult" · Issue #308 · allure-framework/allure-java
X Title: Tests are not starting with Allure-testng 2.9.0 and TestNG 7.0.0-beta1/3. "java.lang.NoSuchMethodError: org.testng.internal.TestResult" · Issue #308 · allure-framework/allure-java
Description: 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? I'm using TestNG 7.0.0-beta1. If I'm changing Allure-testng...
Open Graph Description: 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? I'm using TestNG 7....
X Description: 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? I'm usin...
Opengraph URL: https://github.com/allure-framework/allure-java/issues/308
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests are not starting with Allure-testng 2.9.0 and TestNG 7.0.0-beta1/3. \"java.lang.NoSuchMethodError: org.testng.internal.TestResult\"","articleBody":"[//]: # (\r\n. Note: for support questions, please use Stackoverflow or Gitter**. \r\n. This repository's issues are reserved for feature requests and bug reports.\r\n.\r\n. In case of any problems with Allure Jenkins plugin** please use the following repository \r\n. to create an issue: https://github.com/jenkinsci/allure-plugin/issues\r\n.\r\n. Make sure you have a clear name for your issue. The name should start with a capital \r\n. letter and no dot is required in the end of the sentence. An example of good issue names:\r\n.\r\n. - The report is broken in IE11\r\n. - Add an ability to disable default plugins\r\n. - Support emoji in test descriptions\r\n)\r\n\r\n#### I'm submitting a ... \r\n - [X] bug report\r\n - [ ] feature request\r\n - [ ] support request => Please do not submit support request here, see note at the top of this template.\r\n\r\n#### What is the current behavior?\r\nI'm using TestNG 7.0.0-beta1. If I'm changing Allure-testng version from 2.8.1 to 2.9.0 I'm getting an error on tests execution start. StackTrace is attached.\r\n\r\nTestNG version 6.14.3 works with Allure 2.9.0 as expected.\r\n\r\n#### If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem\r\nHere is my demo code https://github.com/davidggevorgyan/automationpractice/tree/master-allure\r\nChange Allure-testng version in pom.xml to 2.9.0 and run tests via `mvn clean test`\r\n\r\n\r\n#### What is the expected behavior?\r\nTests are starting and passing. I expect to have the same behavior in 2.8.1 version and 2.9.0 \r\n\r\n#### What is the motivation / use case for changing the behavior?\r\nFixing the crash\r\n\r\n#### Please tell us about your environment:\r\n\r\n| Allure version | 2.2.0 |\r\n| --- | --- |\r\n| Test framework | testng@7.0.0-beta1/3 |\r\n| Allure integration | allure-testng@2.9.0 |\r\n| Generate report using | allure-maven@2.10.0 |\r\n\r\n#### Other information \r\n\r\n[//]: # (\r\n```\r\n# Created at 2019-01-16T04:15:25.307\r\njava.lang.NoSuchMethodError: org.testng.internal.TestResult.\u003cinit>(Ljava/lang/Object;Lorg/testng/ITestNGMethod;Ljava/lang/Throwable;Lorg/testng/ITestContext;)V\r\n\tat io.qameta.allure.testng.AllureTestNg.createFakeResult(AllureTestNg.java:171)\r\n\tat io.qameta.allure.testng.AllureTestNg.lambda$onStart$1(AllureTestNg.java:167)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)\r\n\tat java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1603)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)\r\n\tat java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)\r\n\tat io.qameta.allure.testng.AllureTestNg.onStart(AllureTestNg.java:167)\r\n\tat org.testng.TestRunner.fireEvent(TestRunner.java:872)\r\n\tat org.testng.TestRunner.beforeRun(TestRunner.java:607)\r\n\tat org.testng.TestRunner.run(TestRunner.java:582)\r\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:398)\r\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:392)\r\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:354)\r\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:302)\r\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)\r\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)\r\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1145)\r\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1067)\r\n\tat org.testng.TestNG.runSuites(TestNG.java:997)\r\n\tat org.testng.TestNG.run(TestNG.java:965)\r\n\tat org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)\r\n\tat org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)\r\n\tat org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)\r\n\r\n```)\r\n","author":{"url":"https://github.com/davidggevorgyan","@type":"Person","name":"davidggevorgyan"},"datePublished":"2019-01-16T00:36:31Z","url":"https://github.com/allure-framework/allure-java/issues/308"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bdfc3300-d796-41cf-aa15-857532295a46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0F8:274D5F:A49548:ED75DC:6AFD9249 |
| html-safe-nonce | 61783043c5559d8ea75f2c2ad83586a656d664e4f9355734c84e39fe07fa6387 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEY4OjI3NEQ1RjpBNDk1NDg6RUQ3NURDOjZBRkQ5MjQ5IiwidmlzaXRvcl9pZCI6IjIyMDEyOTIxMzM5NTA2NTcwOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 749e925f66230097e4e8cd93e3fc3fdaa4dc1ddf463685121dbc2a52008a1262 |
| hovercard-subject-tag | issue:399597341 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-java/308/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d85238058685633d32fcf349d11b233e49e4ac633da9604da2c66652d63531d/allure-framework/allure-java/issues/308 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d85238058685633d32fcf349d11b233e49e4ac633da9604da2c66652d63531d/allure-framework/allure-java/issues/308 |
| og:image:alt | 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? I'm using TestNG 7.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidggevorgyan |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-java git https://github.com/allure-framework/allure-java.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 80822758 |
| octolytics-dimension-repository_nwo | allure-framework/allure-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80822758 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width