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

Jenkins parameterized remote trigger plugin shows null pointer exception

      I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console

       

      Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
       Triggering this remote job: <job-name>
       Not checking if the remote job <job-name> is building.
       Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
       ERROR: Remote build failed for the following reason, but the build will continue:
       ERROR
       : Got a blank response from Remote Jenkins Server [
       http://jenkins-instance.org.com
       ], cannot continue.
       ERROR
       : Build step failed with exception
       java.lang.NullPointerException 
       Build step 'Trigger a remote parameterized job' marked build as failure
       [BFA] Scanning build for known causes...
       [BFA] No failure causes found
       [BFA] Done. 0s
       Finished: FAILURE

          [JENKINS-53813] Jenkins parameterized remote trigger plugin shows null pointer exception

          Priyanka Panda created issue -
          Priyanka Panda made changes -
          Description Original: I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console
          Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
          Triggering this remote job: mbissaro_test_smokejob
          Not checking if the remote job mbissaro_test_smokejob is building.
          Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
          ERROR: Remote build failed for the following reason, but the build will continue:
          [ERROR|http://stacktrace.jenkins-ci.org/search?query=ERROR]
          : Got a blank response from Remote Jenkins Server [
          [http://jenkins-instance.org.com|http://winter-soldier.mot.com/]
          ], cannot continue.
          [ERROR|http://stacktrace.jenkins-ci.org/search?query=ERROR]
          : Build step failed with exception
          [java.lang.NullPointerException |http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException]
          Build step 'Trigger a remote parameterized job' marked build as failure
          [BFA] Scanning build for known causes...
          [BFA] No failure causes found
          [BFA] Done. 0s
          Finished: FAILURE
          New: I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console

           
          {code:java}
          Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           Triggering this remote job: mbissaro_test_smokejob
           Not checking if the remote job mbissaro_test_smokejob is building.
           Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           ERROR: Remote build failed for the following reason, but the build will continue:
           ERROR
           : Got a blank response from Remote Jenkins Server [
           http://jenkins-instance.org.com
           ], cannot continue.
           ERROR
           : Build step failed with exception
           java.lang.NullPointerException
           Build step 'Trigger a remote parameterized job' marked build as failure
           [BFA] Scanning build for known causes...
           [BFA] No failure causes found
           [BFA] Done. 0s
           Finished: FAILURE{code}
          Priyanka Panda made changes -
          Description Original: I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console

           
          {code:java}
          Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           Triggering this remote job: mbissaro_test_smokejob
           Not checking if the remote job mbissaro_test_smokejob is building.
           Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           ERROR: Remote build failed for the following reason, but the build will continue:
           ERROR
           : Got a blank response from Remote Jenkins Server [
           http://jenkins-instance.org.com
           ], cannot continue.
           ERROR
           : Build step failed with exception
           java.lang.NullPointerException
           Build step 'Trigger a remote parameterized job' marked build as failure
           [BFA] Scanning build for known causes...
           [BFA] No failure causes found
           [BFA] Done. 0s
           Finished: FAILURE{code}
          New: I have a jenkins job that triggers a job on a remote server(another jenkins instance), but the job fails with this error on the console

           
          {code:java}
          Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           Triggering this remote job: <job-name>
           Not checking if the remote job <job-name> is building.
           Remote Jenkins server returned empty response or invalid JSON - but we can still proceed with the remote build.
           ERROR: Remote build failed for the following reason, but the build will continue:
           ERROR
           : Got a blank response from Remote Jenkins Server [
           http://jenkins-instance.org.com
           ], cannot continue.
           ERROR
           : Build step failed with exception
           java.lang.NullPointerException
           Build step 'Trigger a remote parameterized job' marked build as failure
           [BFA] Scanning build for known causes...
           [BFA] No failure causes found
           [BFA] Done. 0s
           Finished: FAILURE{code}
          Priyanka Panda made changes -
          Attachment New: jobconfig.PNG [ 44621 ]
          Attachment New: remoteserverconfig.PNG [ 44622 ]
          Michael Gärtner made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

            cashlalala KaiHsiang Chang
            priyankapanda348 Priyanka Panda
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: