Giter VIP home page Giter VIP logo

Comments (3)

HardNorth avatar HardNorth commented on June 12, 2024

@vinnus8660 That's happens because you project refers old version of our client-java library. Please study your dependency tree and remove or add exclusions on transitive dependency. You can do this with commands mvn dependency:tree for Maven or gradle dependencies for Gradle.

from agent-java-testng.

vinnus8660 avatar vinnus8660 commented on June 12, 2024

@HardNorth Thanks for responding! I have tried to fix it, but nothing worked so far, appreciate your further inputs.

I'm using the eclipse testng manual plugin downloaded from https://github.com/testng-team/testng-eclipse to run the tests, I have upgraded my project to use testng 7.8.0 and other dependencies latest versions as well.

My current dependencies in project are:

TestNG Eclipse Plugin 7.8.0
slf4j-api - 2.0.7
agent-java-testng - 5.3.1
logger-java-log4j - 5.1.8
selenium-server - 4.8.1

I'm not sure which of the above dependency is referring to the older older version of client-java.

I'm configuring the below listener in suite.xml file but still the same error.

<listener class-name="com.epam.reportportal.testng.ReportPortalTestNGListener" />

from agent-java-testng.

HardNorth avatar HardNorth commented on June 12, 2024

@vinnus8660 Sorry, I don't provide consultancy for apart of the area of Report Portal libraries. What I can say, this class is here: https://github.com/reportportal/client-java/blob/develop/src/main/java/com/epam/reportportal/utils/MemoizingSupplier.java

It is here for a long time, more than 3 years.

To fix your case you need to find out which library in your project overrides our client-java library with a very old version.

from agent-java-testng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.