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

Null pointer exception when trying to use build-token-root

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • redhat linux 6, running under tomcat

      I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.

      We are using LDAP authentication via Atlassian crowd for our regular users.

      After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.

      I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest&token=test

      This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions.

      I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)

      curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest&token=test'

          [JENKINS-18733] Null pointer exception when trying to use build-token-root

          Josh Love created issue -
          Josh Love made changes -
          Description Original: I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.

          We are using LDAP authentication via Atlassian crowd for our regular users.

          After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.

          I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/

          This results in a nullpointer exception. I've verified that the anonymous user has read and build (just.

          I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)

          curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest'

          New: I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.

          We are using LDAP authentication via Atlassian crowd for our regular users.

          After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.

          I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/

          This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions.

          I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)

          curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest'

          Josh Love made changes -
          Description Original: I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.

          We are using LDAP authentication via Atlassian crowd for our regular users.

          After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.

          I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/

          This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions.

          I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)

          curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest'

          New: I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.

          We are using LDAP authentication via Atlassian crowd for our regular users.

          After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.

          I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest&token=test

          This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions.

          I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)

          curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest&token=test'

          Josh Love made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150081 ] New: JNJira + In-Review [ 193415 ]

            jglick Jesse Glick
            joshlove Josh Love
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: