Giter VIP home page Giter VIP logo

Comments (4)

HardNorth avatar HardNorth commented on June 12, 2024

@gargsachin13 It's not possible to say anything by information you provided. Your build system hides our stack trace. There are numerous reasons why the listener might fail to initialize.
If you want to get a clue then provide more information: On which system do you run the code? Which TestNG version do you use? Do you override client-java dependency? Your pom.xml file. Etc.

from agent-java-testng.

gargsachin13 avatar gargsachin13 commented on June 12, 2024

@HardNorth Thanks!
I am running it on Appium +Selenium +JAVA on win machine
POM

    <dependency>
        <groupId>org.testng</groupId>
        <artifactId>testng</artifactId>
        <version>7.5</version>
        <scope>test</scope>
    </dependency>
  
  <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.4</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/io.appium/java-client -->
    <dependency>
        <groupId>io.appium</groupId>
        <artifactId>java-client</artifactId>
        <version>7.5.1</version>
    </dependency>
 
    <dependency>  
        <groupId>log4j</groupId>  
        <artifactId>log4j</artifactId>  
        <version>1.2.17</version>  
    </dependency>
 
    <dependency>
        <groupId>com.aventstack</groupId>
        <artifactId>extentreports</artifactId>
        <version>4.0.9</version>
    </dependency>
 
    <dependency>
        <groupId>com.aventstack</groupId>
        <artifactId>extentreports-testng-adapter</artifactId>
        <version>1.0.3</version>
    </dependency>
com.epam.reportportal agent-java-testng 5.1.2
<!-- TODO Leave only one dependency, depends on what logger you use: -->
<dependency>
	<groupId>com.epam.reportportal</groupId>
	<artifactId>logger-java-log4j</artifactId>
	<version>5.1.4</version>
	 <exclusions>
            <exclusion>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
            </exclusion>
        </exclusions>
</dependency>

  <dependency>

org.slf4j
slf4j-simple
1.7.21

org.apache.maven.plugins maven-compiler-plugin 3.9.0 1.8 1.8 org.apache.maven.plugins maven-surefire-plugin 2.22.2 ${suiteXmlFile}
    </plugins>
</build>

from agent-java-testng.

HardNorth avatar HardNorth commented on June 12, 2024

@gargsachin13 Unfortunately your build system hides real stack trace, therefore it's not possible to tell anything. Please provide pure stacktrace.

from agent-java-testng.

HardNorth avatar HardNorth commented on June 12, 2024

Abandoned

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.