<< Back to previous view

[QB-2508] NullPointerException occurred while publishing JaCoCo report
Created: 17/Aug/15  Updated: 24/Aug/15

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.26

Type: Bug Priority: Major
Reporter: Steve Luo Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
If we set the report set name in Publish JaCoCo Report step, build will be failed with NullPointerException:

   java.lang.NullPointerException

     at com.pmease.quickbuild.plugin.report.engine.generator.GeneratorContext.isReportsetEmpty(GeneratorContext.java:197)

     at com.pmease.quickbuild.plugin.report.jacoco.generator.AbstractJacocoProcessor.onAfterLoadXML(AbstractJacocoProcessor.java:78)

     at com.pmease.quickbuild.plugin.report.jacoco.generator.AbstractJacocoProcessor.processResource(AbstractJacocoProcessor.java:47)

     at com.pmease.quickbuild.plugin.report.engine.generator.AbstractProcessor.doExecute(AbstractProcessor.java:83)

     at com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction.execute(GenerateAction.java:42)

     at com.pmease.quickbuild.plugin.report.engine.generator.AbstractGenerator.doExecute(AbstractGenerator.java:43)

     at com.pmease.quickbuild.plugin.report.engine.generator.GenerateAction.execute(GenerateAction.java:42)

     at com.pmease.quickbuild.plugin.report.engine.generator.DefaultGenerator.generate(DefaultGenerator.java:37)


Generated at Wed Oct 01 18:57:32 UTC 2025 using JIRA 189.