Error in generating HTML Report using updated version of Gauge and Gauge plugins

0

Good day,

I'm doing an automation test using Gauge and I've recently updated its version and also updated all of the plugins I'm using. Here is the response when I checked gauge --version

Gauge version: 1.0.6
Commit Hash: 2bc49db

Plugins
-------
html-report (4.0.8)
java (0.7.2)
screenshot (0.0.1)

I'm running my automation using maven and here are my dependencies and plugins related to Gauge

    <dependency>
        <groupId>com.thoughtworks.gauge</groupId>
        <artifactId>gauge-java</artifactId>
        <version>0.7.2</version>
        <scope>test</scope>
    </dependency>

    <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.8.1</version>
            <configuration>
                <source>8</source>
                <target>8</target>
            </configuration>
        </plugin>
        <plugin>
            <groupId>com.thoughtworks.gauge.maven</groupId>
            <artifactId>gauge-maven-plugin</artifactId>
            <version>1.4.1</version>
            <executions>
                <execution>
                    <phase>test</phase>
                    <configuration>
                        <specsDir>specs</specsDir>
                    </configuration>
                    <goals>
                        <goal>execute</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

Now when I run using mvn gauge:execute, all of my scenarios are running fine and passing, but it cannot generate the html report after, and I'm receiving this kind of error:

panic: non-positive interval for NewTicker
goroutine 5 [running]:
time.NewTicker(0xf7359400, 0xffffffff, 0x10a20000)
    /usr/local/go/src/time/tick.go:23 +0x1b4
github.com/getgauge/html-report/listener.(*GaugeListener).sendPings(0x10861720)
    /tmp/src/github.com/getgauge/html-report/listener/gaugeListener.go:134 +0x172
created by github.com/getgauge/html-report/listener.(*GaugeListener).processMessages
    /tmp/src/github.com/getgauge/html-report/listener/gaugeListener.go:96 +0x2a8

I've searched the forums of gauge and can't seem to find any solution on the issue I'm experiencing. I'm having difficulty also on finding a way how to downgrade my version of Gauge back to the HTML Report is working.

Appreciate any kind of help. Thank you.

getgauge
asked on Stack Overflow Oct 21, 2019 by cas • edited Oct 21, 2019 by cas

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0