Jenkins Allure plugin is throwing error

This question shows research effort; it is useful and clear


I have installed the latest Allure plugins in Jenkins server. That specific code when it tries to generate allure report, it has thrown me the following error```

[Pipeline] { (Generate Report)
[Pipeline] script
[Pipeline] {
[Pipeline] allure
Unable to auto-install JDK until the license is accepted.
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
at jenkins.tasks.SimpleBuildStep.perform(
at org.jenkinsci.plugins.workflow.steps.CoreStep$
at org.jenkinsci.plugins.workflow.steps.CoreStep$
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(
at java.base/java.util.concurrent.Executors$
at java.base/
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.base/java.util.concurrent.ThreadPoolExecutor$
at java.base/
Finished: FAILURE

are you sure you did all the research necessary?

I ask because “Unable to auto-install JDK until the license is accepted” is a pretty clear error message to me and easily researchable.

I had seen this message but I have java installed on the Jenkins server and it is throwing NullPointerException.
Do allure plugin do java installation. I am not sure why it is trying to do java installation

Hello @vinod and welcome to this community! :wave:

I guess you’re running an Oracle JDK…
My quick and dirty workaround would be to use an OpenJDK build…