Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26345

"CVS Symbolic Name parameter" not working any more

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Environment:
      Solaris 10, Windows 7
    • Similar Issues:

      Description

      After the release 1.590 version, all projects which has an input parameter of kind "CVS Symbolic Name", not shows longer all existent CVS tags for current project in main screen once we start the build execution.

        Attachments

          Issue Links

            Activity

            ofbizbrazil ofbiz brazil created issue -
            ofbizbrazil ofbiz brazil made changes -
            Field Original Value New Value
            Labels jenkins plugin scm
            ofbizbrazil ofbiz brazil made changes -
            Description After the release 1.590 version, all projects which has an input parameter of kind "CVS Symbolic Name", not shows longer all existent CVS tags for project in main screen when the start the build execution.
            After the release 1.590 version, all projects which has an input parameter of kind "CVS Symbolic Name", not shows longer all existent CVS tags for current project in main screen once we start the build execution.
            ofbizbrazil ofbiz brazil made changes -
            Summary "CVS Symbolic Name" not working any more "CVS Symbolic Name parameter" not working any more
            Hide
            maslykm Miroslaw Masud added a comment -

            Error in my log:
            Caused by: java.lang.NullPointerException
            at hudson.scm.CvsTagsParamDefinition.getCvsClient(CvsTagsParamDefinition.java:223)
            at hudson.scm.CvsTagsParamDefinition.getSymbolicNames(CvsTagsParamDefinition.java:165)

            Probably problem is in this code:

            envVars = Computer.currentComputer().getEnvironment();
            

            currentComputer is null like in this issue #JENKINS-5237.

            Show
            maslykm Miroslaw Masud added a comment - Error in my log: Caused by: java.lang.NullPointerException at hudson.scm.CvsTagsParamDefinition.getCvsClient(CvsTagsParamDefinition.java:223) at hudson.scm.CvsTagsParamDefinition.getSymbolicNames(CvsTagsParamDefinition.java:165) Probably problem is in this code: envVars = Computer.currentComputer().getEnvironment(); currentComputer is null like in this issue # JENKINS-5237 .
            fredg Fred G made changes -
            Component/s cvs-plugin [ 15486 ]
            Component/s cvs-tag-plugin [ 15534 ]
            Hide
            fredg Fred G added a comment -

            Added a potential fix in this pull request: https://github.com/jenkinsci/cvs-plugin/pull/43

            Show
            fredg Fred G added a comment - Added a potential fix in this pull request: https://github.com/jenkinsci/cvs-plugin/pull/43
            fredg Fred G made changes -
            Assignee Michael Clarke [ mc1arke ]
            fredg Fred G made changes -
            Priority Blocker [ 1 ] Major [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160408 ] JNJira + In-Review [ 180345 ]
            mc1arke Michael Clarke made changes -
            Assignee Michael Clarke [ mc1arke ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Fred G
            Path:
            src/main/java/hudson/scm/CvsTagsParamDefinition.java
            http://jenkins-ci.org/commit/cvs-plugin/1b6a75dd59a6a61cc7570746e488342d8096d3ca
            Log:
            [FIXED JENKINS-26345] "CVS Symbolic Name parameter" not working any more

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fred G Path: src/main/java/hudson/scm/CvsTagsParamDefinition.java http://jenkins-ci.org/commit/cvs-plugin/1b6a75dd59a6a61cc7570746e488342d8096d3ca Log: [FIXED JENKINS-26345] "CVS Symbolic Name parameter" not working any more
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Fred G
            Path:
            src/main/java/hudson/scm/CvsTagsParamDefinition.java
            http://jenkins-ci.org/commit/cvs-plugin/25e0d5f1878578358f21ca40310ef1efa81caee3
            Log:
            Merge pull request #43 from fredg02/JENKINS-26345

            [FIXED JENKINS-26345] "CVS Symbolic Name parameter" not working any more

            Compare: https://github.com/jenkinsci/cvs-plugin/compare/69b0faa00c1c...25e0d5f18785

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Fred G Path: src/main/java/hudson/scm/CvsTagsParamDefinition.java http://jenkins-ci.org/commit/cvs-plugin/25e0d5f1878578358f21ca40310ef1efa81caee3 Log: Merge pull request #43 from fredg02/ JENKINS-26345 [FIXED JENKINS-26345] "CVS Symbolic Name parameter" not working any more Compare: https://github.com/jenkinsci/cvs-plugin/compare/69b0faa00c1c...25e0d5f18785
            Hide
            alexyarm Alex Yarmolenko added a comment -

            I installed latest generic up-to-date version of Jenkins (LTS  version 2.46.3) on SLES12 server, installed latest CVS-Plugin v.2.13, created and ran test job.

            The plugin still does not work. It didn't show list of CVS tags and I could see error in log:

            Caught exception evaluating: it.symbolicNames in /jenkins/job/test_maven_1/build. Reason: java.lang.reflect.InvocationTargetException
            java.lang.NullPointerException
                at hudson.scm.CvsTagsParamDefinition.getCvsClient(CvsTagsParamDefinition.java:223)
                at hudson.scm.CvsTagsParamDefinition.getSymbolicNames(CvsTagsParamDefinition.java:165)
            Caused: java.lang.reflect.InvocationTargetException
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            ...

            Show
            alexyarm Alex Yarmolenko added a comment - I installed latest generic up-to-date version of Jenkins (LTS  version 2.46.3) on SLES12 server, installed latest CVS-Plugin v.2.13, created and ran test job. The plugin still does not work. It didn't show list of CVS tags and I could see error in log: Caught exception evaluating: it.symbolicNames in /jenkins/job/test_maven_1/build. Reason: java.lang.reflect.InvocationTargetException java.lang.NullPointerException     at hudson.scm.CvsTagsParamDefinition.getCvsClient(CvsTagsParamDefinition.java:223)     at hudson.scm.CvsTagsParamDefinition.getSymbolicNames(CvsTagsParamDefinition.java:165) Caused: java.lang.reflect.InvocationTargetException     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ...
            Hide
            fredg Fred G added a comment - - edited

            The plugin still does not work. It didn't show list of CVS tags and I could see error in log:

            The changes that fix the error are not included in version 2.13. They will be included in the next release of the CVS-Plugin.

            If you don't want to wait for the next release, you will need to compile the plugin from source yourself.

            Show
            fredg Fred G added a comment - - edited The plugin still does not work. It didn't show list of CVS tags and I could see error in log: The changes that fix the error are not included in version 2.13. They will be included in the next release of the CVS-Plugin. If you don't want to wait for the next release, you will need to compile the plugin from source yourself.
            jglick Jesse Glick made changes -
            Labels jenkins plugin scm
            jglick Jesse Glick made changes -
            Assignee Fred G [ fredg ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 20192 ]

              People

              • Assignee:
                fredg Fred G
                Reporter:
                ofbizbrazil ofbiz brazil
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: