# Jenkins Allure plugin is throwing error

**URL:** <https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131>\
**Category:** Ask a question\
**Created:** [June 22, 2023, 3:37pm UTC](https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131 "2023-06-22T15:37:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinod](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vinod](https://community.jenkins.io/u/vinod)\
**Post date:** [June 22, 2023, 3:37pm UTC](https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131/1 "2023-06-22T15:37:16Z")

</div>

This question shows research effort; it is useful and clear

0

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  
java.lang.NullPointerException  
at ru.yandex.qatools.allure.jenkins.AllureReportPublisherDescriptor.getCommandlineInstallation(AllureReportPublisherDescriptor.java:112)  
at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.getCommandline(AllureReportPublisher.java:346)  
at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:303)  
at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:231)  
at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)  
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)  
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)  
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)  
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)  
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)  
at java.base/java.lang.Thread.run(Thread.java:829)  
Finished: FAILURE

```auto

```

---

<div class="post-metadata">

**Author:** ![krachynski](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/krachynski/32/2674_2.png) [@krachynski](https://community.jenkins.io/u/krachynski)\
**Post date:** [June 22, 2023, 3:40pm UTC](https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131/2 "2023-06-22T15:40:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![vinod](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vinod](https://community.jenkins.io/u/vinod)\
**Post date:** [June 22, 2023, 3:57pm UTC](https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131/3 "2023-06-22T15:57:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [June 23, 2023, 12:55pm UTC](https://community.jenkins.io/t/jenkins-allure-plugin-is-throwing-error/8131/4 "2023-06-23T12:55:34Z")

</div>

Hello @vinod and welcome to this community! 👋

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