[JIRA] (JENKINS-58880) NPE from support core plugin attaching bundle

0 views
Skip to first unread message

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 9, 2019, 4:22:03 PM8/9/19
to jenkinsc...@googlegroups.com
Mark Waite created an issue
 
Jenkins / Bug JENKINS-58880
NPE from support core plugin attaching bundle
Issue Type: Bug Bug
Assignee: Emilio Escobar
Components: support-core-plugin
Created: 2019-08-09 20:21
Priority: Minor Minor
Reporter: Mark Waite

I encountered a support core null pointer exception while evaluating other things.

The null pointer exception stack trace was:

Aug 09, 2019 7:16:52 PM com.cloudbees.jenkins.support.SupportPlugin writeBundle
WARNING: Could not attach ''nodes.md'' to support bundle
java.lang.NullPointerException
        at com.cloudbees.jenkins.support.util.Markdown.escapeBacktick(Markdown.java:17)
        at com.cloudbees.jenkins.support.impl.AboutJenkins$NodesContent.printTo(AboutJenkins.java:877)
        at com.cloudbees.jenkins.support.api.PrintedContent.writeTo(PrintedContent.java:56)
        at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:316)
        at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:278)
        at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl.lambda$doRun$0(SupportPlugin.java:820)
        at java.lang.Thread.run(Thread.java:748)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

aburdajewicz@cloudbees.com (JIRA)

unread,
Aug 18, 2019, 7:46:02 PM8/18/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ assigned an issue to Allan BURDAJEWICZ
Change By: Allan BURDAJEWICZ
Assignee: Emilio  Escobar Allan BURDAJEWICZ

aburdajewicz@cloudbees.com (JIRA)

unread,
Aug 19, 2019, 12:18:02 AM8/19/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ commented on Bug JENKINS-58880
 
Re: NPE from support core plugin attaching bundle

Mark Waite What version of support-core are you running ? I am pretty sure this is fixed in version 2.58, addressed by JENKINS-57602.

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 19, 2019, 3:46:01 PM8/19/19
to jenkinsc...@googlegroups.com

Allan BURDAJEWICZ I was preparing for a Jenkins World 2019 talk on Docker and Jenkins [as code] and found it while working on a pull request based on https://github.com/cloudbees-oss/cjd-jcasc-demo/tree/8909603c0befb598d90e5e1c316354040a5552eb . I was running in a Docker container using Docker for Windows (Linux container running on a Windows computer) using the changes in my proposed pull request https://github.com/cloudbees-oss/cjd-jcasc-demo/pull/9 .

During startup, the console output reports that null pointer exception.

mark.earl.waite@gmail.com (JIRA)

unread,
Aug 19, 2019, 3:49:02 PM8/19/19
to jenkinsc...@googlegroups.com
Mark Waite edited a comment on Bug JENKINS-58880
As far as I can tell, I'm running support-core plugin 2.56 as contained in CJD 2.176.2.3 release 2.

[~allan_burdajewicz] I was preparing for a Jenkins World 2019 talk on Docker and Jenkins [as code] and found it while working on a pull request based on https://github.com/cloudbees-oss/cjd-jcasc-demo/tree/8909603c0befb598d90e5e1c316354040a5552eb .  I was running in a Docker container using Docker for Windows (Linux container running on a Windows computer) using the changes in my proposed pull request https://github.com/cloudbees-oss/cjd-jcasc-demo/pull/9 .


During startup, the console output reports that null pointer exception.

aburdajewicz@cloudbees.com (JIRA)

unread,
Sep 11, 2019, 12:48:02 AM9/11/19
to jenkinsc...@googlegroups.com

CJD 2.176.2.3 ships with 2.56 indeed. So I assume this is fixed in 2.58. Let me try to reproduce the issue to confirm that.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

aburdajewicz@cloudbees.com (JIRA)

unread,
Sep 11, 2019, 12:56:02 AM9/11/19
to jenkinsc...@googlegroups.com

Confirmed that:

Note: The remote FS is a mandatory field field in the UI but for not from JCasC. Although resiliency has been added to the support-core plugin in that regards, this could well be a bug with JCasC as suggested in https://github.com/jenkinsci/support-core-plugin/pull/179#issuecomment-510910195 ?

aburdajewicz@cloudbees.com (JIRA)

unread,
Sep 11, 2019, 12:57:03 AM9/11/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ closed an issue as Fixed
 
Change By: Allan BURDAJEWICZ
Status: Open Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages