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

NPE when using HockeyAppPlugin with HTTP Proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • hockeyapp-plugin
    • None
    • Jenkins 2.34
      HockeyApp Plugin 1.2.2

      Hello,

      I'm seeing the following NPE with HockeyappPlugin (called via Jenkins Pipelines)

      16:57:53 java.lang.NullPointerException
      16:57:53 at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
      16:57:53 at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
      16:57:53 at org.apache.http.impl.client.BasicCredentialsProvider.setCredentials(BasicCredentialsProvider.java:61)
      16:57:53 at hockeyapp.HockeyappRecorder.createPreconfiguredHttpClient(HockeyappRecorder.java:165)
      16:57:53 at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:252)
      16:57:53 at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:186)
      16:57:53 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69)
      16:57:53 at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59)
      16:57:53 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
      16:57:53 at hudson.security.ACL.impersonate(ACL.java:221)
      16:57:53 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
      16:57:53 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      16:57:53 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      16:57:53 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16:57:53 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      16:57:53 at java.lang.Thread.run(Thread.java:745)

      I'm using an HTTP Proxy which does not require a username or password.

      Thanks,
      Simon

            Unassigned Unassigned
            simonstjg Simon StJG
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: