NPE when apply yaml on kubernetes
See original GitHub issuejava.lang.NullPointerException
at io.jenkins.plugins.casc.ConfigurationAsCode.collectProblems(ConfigurationAsCode.java:235)
at io.jenkins.plugins.casc.ConfigurationAsCode.doCheckNewSource(ConfigurationAsCode.java:211)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:537)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:739)
the yaml could apply in 1.0 version, but not 1.8
jenkins:
mode: EXCLUSIVE
numExecutors: 5
scmCheckoutRetryCount: 2
Please make sure to provide following information in your issue description
- Jenkins version 1.138.4
- Plugin version
- docker
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
nullpointer exception while deploying via kubernetes plugin in ...
We are using Google kubernetes engine-plugin- 0.8.1 for Jenkins for deploying an app via yaml files, strangely we are getting java ...
Read more >Managing Resources | Kubernetes
yaml , .yml , or .json . It is a recommended practice to put resources related to the same microservice or application tier...
Read more >Deployments - Kubernetes
kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml. Run kubectl get deployments to check if the Deployment was created.
Read more >Kubectl Reference Docs - Kubernetes
Edit the data in registry.yaml in JSON then create the resource using the ... This flag is useful when you want to perform...
Read more >GitLab Runner Helm Chart
The official way of deploying a GitLab Runner instance into your Kubernetes cluster is by using the gitlab-runner Helm chart. This chart configures...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@f1nger that depends on how you look at it 😅
I see it as fixing it since people wanted recursive folder lookup and that’s what the …data folder did, it broke recursive folder lookup.
@runzexia Docs can be outdated. I welcome you to contribute! 😃
The project is open source after all and we cannot maintain everything while keeping our sanity and our job 😓 I for one don’t use kubernetes together with JCasC at the moment 😢
I will try to update the docs