question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FAILED TO EXPORT org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud

See original GitHub issue
  • Jenkins version: 2.175

  • Plugin version: 1.13

  • OS: Alpine Docker container

  • Kubernetes Plugin: 1.15.2

Description

I am getting the following error when trying to View my configuration:

templates: "FAILED TO EXPORT org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud#templates:\ \ java.lang.NullPointerException at org.csanchez.jenkins.plugins.kubernetes.PodTemplate.getYaml(PodTemplate.java:622)\n\ Caused: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1658.invoke(Unknown\ \ Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\ \ at java.lang.reflect.Method.invoke(Method.java:498) at io.jenkins.plugins.casc.Attribute._getValue(Attribute.java:244)\n\ Caused: io.jenkins.plugins.casc.ConfiguratorException: Can't read attribute\ \ 'yaml' from PodTemplate{, nodeUsageMode=EXCLUSIVE} at io.jenkins.plugins.casc.Attribute._getValue(Attribute.java:262)\ \ at io.jenkins.plugins.casc.Attribute.getValue(Attribute.java:175) at io.jenkins.plugins.casc.Attribute.equals(Attribute.java:207)\ \ at io.jenkins.plugins.casc.BaseConfigurator.compare(BaseConfigurator.java:384)\ \ at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:249)\ \ at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:193) at io.jenkins.plugins.casc.BaseConfigurator.compare(BaseConfigurator.java:385)\ \ at io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:249)\ \ at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$convertToNode$de0cd4f8$1(HeteroDescribableConfigurator.java:233)\ \ at io.vavr.CheckedFunction0.lambda$unchecked$52349c75$1(CheckedFunction0.java:201)\ \ at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.convertToNode(HeteroDescribableConfigurator.java:233)\ \ at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.lambda$describe$5(HeteroDescribableConfigurator.java:103)\ \ at io.vavr.control.Option.map(Option.java:373) at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.describe(HeteroDescribableConfigurator.java:103)\ \ at io.jenkins.plugins.casc.impl.configurators.HeteroDescribableConfigurator.describe(HeteroDescribableConfigurator.java:51)\ \ at io.jenkins.plugins.casc.Attribute.describe(Attribute.java:193) at io.jenkins.plugins.casc.Configurator.describe(Configurator.java:162)"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmays20commented, Jun 11, 2019

Sorry for the late reply, but I believe the PR was merged in early May. I haven’t had a chance to test it out though.

0reactions
zerkmscommented, May 7, 2019

@cmays20 coule you please provide a link to the corresponding PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[JENKINS-60105] Kubernetes plugin fails with EKS
I'm using a Jenkins installation which is run on a standard ec2 instance. This Jenkins instance is supposed to connect to an EKS...
Read more >
Test connection fails and also unable to get K8s pods via ...
Description, Provisioning of K8s pods from Kubernetes Jenkins plugin using the my cloud credentials is failing, hence created service account ...
Read more >
Agent creation failure because of concurrent attempts to ...
I've just grep'ed logs on the master for such particular pod which plugin tried to create in ... Aug 31, 2018 11:17:17 AM...
Read more >
[JENKINS-59000] KubernetesClientException onFailure ...
The error I am seeing in the master logs as follows: Aug 22, 2019 12:43:11 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch
Read more >
Total container cap of 10 reached when NO slaves are running?
But why does it count more than i should? Mar 30, 2017 4:54:50 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud addProvisionedSlave INFO: Total ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found