Git Product home page Git Product logo

sandboy's Introduction

sandboy's People

Contributors

bischoffdev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

sandboy's Issues

NullPointerException while generating reports

While trying to generate a sandboy report for a maven project the job aborted with NullPointerException

Stacktrace:
13:10:45.189 INFO: ...Processed 'C:\Users\jensd\git\test-data-service\target\surefire-reports\TEST-com.datengaertnerei.test.dataservice.restassured.RestApiTest.xml'.

java.lang.NullPointerException
	at java.base/java.util.Objects.requireNonNull(Objects.java:208)
	at blog.softwaretester.sandboy.filesystem.FileIO.copyResourceFromJar(FileIO.java:48)
	at blog.softwaretester.sandboy.rendering.ReportGenerator.copyTemplateResource(ReportGenerator.java:49)
	at blog.softwaretester.sandboy.rendering.ReportGenerator.createAssets(ReportGenerator.java:42)
	at blog.softwaretester.sandboy.rendering.ReportGenerator.generate(ReportGenerator.java:32)
	at blog.softwaretester.sandboy.SandboyEngine.build(SandboyEngine.java:69)
	at blog.softwaretester.sandboy.SandboyMaven.execute(SandboyMaven.java:22)
...

Maven POM config:

			<plugin>
				<groupId>blog.softwaretester</groupId>
				<artifactId>sandboy-maven</artifactId>
				<version>1.0.0</version>
				<executions>
					<execution>
						<id>Generate_Report</id>
						<phase>none</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<surefireSourcePath>${project.build.directory}/surefire-reports/</surefireSourcePath>
					<generatedReportPath>
						${project.build.directory}/sandboy-report/</generatedReportPath>
				</configuration>

Actual result:
\target\sandboy-report\css directories are created with empty file pico.min.css

Error message in maven log:
[ERROR] Failed to execute goal �[32mblog.softwaretester:sandboy-maven:1.0.0:report�[m �[1m(default-cli)�[m on project �[36mdata-service�[m: �[1;31mCannot write resource '/template\css/pico.min.css': null�[m -> �[1m[Help 1]

Steps to reproduce:

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.