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

Perforce default user/pass required to save "Configure System" screen in Jenkins (plugin v. 1.3.31)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      1.3.31
    • Similar Issues:

      Description

      Install latest perforce plugin
      ->Manage Jenkins
      ->Configure System
      ->leave default user/pass blank for perforce
      ->click save
      (crash)

      ->enter "test" for default user/pass for perforce
      ->click save
      (ok)

      Caused by: java.lang.NullPointerException
      at hudson.plugins.perforce.PerforcePasswordEncryptor.appearsToBeAnEncryptedPassword(PerforcePasswordEncryptor.java:30)
      at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.setDefaultP4Passwd(PerforceSCM.java:1929)
      at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.configure(PerforceSCM.java:1961)
      at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:2898)
      at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:2861)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:622)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745)
      ... 61 more

        Attachments

          Issue Links

            Activity

            Hide
            rpetti Rob Petti added a comment -

            Please provide version number. This was supposed to be fixed already.

            Show
            rpetti Rob Petti added a comment - Please provide version number. This was supposed to be fixed already.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Most probably, it duplicates JENKINS-26076. The issue has been fixed in 1.3.33.

            There are issue with update center back-end (INFRA-219), hence the update may be unavailable to users.

            Show
            oleg_nenashev Oleg Nenashev added a comment - Most probably, it duplicates JENKINS-26076 . The issue has been fixed in 1.3.33. There are issue with update center back-end ( INFRA-219 ), hence the update may be unavailable to users.

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                gavinagoodtime Gavin Goodrich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: