-
Bug
-
Resolution: Fixed
-
Major
-
None
Using the latest version from master, and vault 0.9.0
ava.lang.NullPointerException at com.bettercloud.vault.api.Logical.read(Logical.java:73) at com.datapipe.jenkins.vault.VaultAccessor.read(VaultAccessor.java:52) at com.datapipe.jenkins.vault.VaultBuildWrapper.provideEnvironmentVariablesFromVault(VaultBuildWrapper.java:136) at com.datapipe.jenkins.vault.VaultBuildWrapper.setUp(VaultBuildWrapper.java:89) at org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Execution2.doStart(CoreWrapperStep.java:97) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Looks like this was introduced in https://github.com/jenkinsci/hashicorp-vault-plugin/pull/23
also reported in a comment there https://github.com/jenkinsci/hashicorp-vault-plugin/pull/23#issuecomment-467215478
i can confirm that code in pr20 does work without this error