Java.lang.NullPointerException when trying to create an Allure report

When I run the command line report tool, it creates a directory, but its empty. the allure-results directory has a valid test in it.

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <ns2:test-suite start="1437677969696" stop="1437678045553"
 version="1.4.15" xmlns:ns2="urn:model.allure.qatools.yandex.ru">

This is the header file from this test, which is expected to be found.

I ran the command line below and it failed with a NullPointerException. I tried Java 1.7 and 1.8. I am not sure why it finds files, but cannot convert them.

build ctaylor$ allure --debug generate -v 1.4.15  allure-results
Generating report for Allure version [1.4.15]
Processing result pattern [allure-results]
Found results directory [/Users/ctaylor/Documents/GitRepo/commerce/lw-testkit/app/build/allure-results]
java.lang.NullPointerException

My version of Allure-CLI version 2.3 is installed via Brew on MAC OSX

I am using IntelliJ Idea with Java, TestNG and Gradle and following the example from Example projects on Allure GitHub Repo

+4
source share
1 answer

Maven. CLI Allure, CLI . , ~.m2/settings.xml. issue .

+3

Source: https://habr.com/ru/post/1599384/


All Articles