java.lang.IllegalArgumentException: Scheme may not be null

Jenkins JIRA | Brian L | 1 year ago
  1. 0

    It would be great if this error could give better guidance as to what configuration option is missing or incorrect. Currently, I'm trying to setup my first Windows slave node and not having much luck. From the Jenkins log ( {{http://host/jenkins/log/all}} ) : {code:java} Nov 19, 2015 2:02:51 AM WARNING hudson.plugins.ec2.win.WinConnection ping Failed to verify connectivity to Windows slave java.lang.IllegalArgumentException: Scheme may not be null at org.apache.http.util.Args.notNull(Args.java:48) at org.apache.http.conn.scheme.SchemeRegistry.register(SchemeRegistry.java:123) at hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:220) at hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:202) at hudson.plugins.ec2.win.winrm.WinRMClient.openShell(WinRMClient.java:85) at hudson.plugins.ec2.win.winrm.WinRM.ping(WinRM.java:29) at hudson.plugins.ec2.win.WinConnection.ping(WinConnection.java:117) at hudson.plugins.ec2.win.EC2WindowsLauncher.connectToWinRM(EC2WindowsLauncher.java:123) at hudson.plugins.ec2.win.EC2WindowsLauncher.launch(EC2WindowsLauncher.java:31) at hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:107) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} From the node log {{http://host/jenkins/computer/}} : {code:java} Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. {code}

    Jenkins JIRA | 1 year ago | Brian L
    java.lang.IllegalArgumentException: Scheme may not be null
  2. 0

    It would be great if this error could give better guidance as to what configuration option is missing or incorrect. Currently, I'm trying to setup my first Windows slave node and not having much luck. From the Jenkins log ( {{http://host/jenkins/log/all}} ) : {code:java} Nov 19, 2015 2:02:51 AM WARNING hudson.plugins.ec2.win.WinConnection ping Failed to verify connectivity to Windows slave java.lang.IllegalArgumentException: Scheme may not be null at org.apache.http.util.Args.notNull(Args.java:48) at org.apache.http.conn.scheme.SchemeRegistry.register(SchemeRegistry.java:123) at hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:220) at hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:202) at hudson.plugins.ec2.win.winrm.WinRMClient.openShell(WinRMClient.java:85) at hudson.plugins.ec2.win.winrm.WinRM.ping(WinRM.java:29) at hudson.plugins.ec2.win.WinConnection.ping(WinConnection.java:117) at hudson.plugins.ec2.win.EC2WindowsLauncher.connectToWinRM(EC2WindowsLauncher.java:123) at hudson.plugins.ec2.win.EC2WindowsLauncher.launch(EC2WindowsLauncher.java:31) at hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:107) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {code} From the node log {{http://host/jenkins/computer/}} : {code:java} Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. Connecting to ec2-windows-host.compute-1.amazonaws.com(<<host ip>>) with WinRM as Administrator Waiting for WinRM to come up. Sleeping 10s. {code}

    Jenkins JIRA | 1 year ago | Brian L
    java.lang.IllegalArgumentException: Scheme may not be null
  3. 0

    [JIRA] [ec2-plugin] (JENKINS-31641) Unclear error upon launching Windows build node

    Google Groups | 1 year ago | brian....@gmail.com (JIRA)
    java.lang.IllegalArgumentException: Scheme may not be <span class="code-keyword" style="color: #000091">null</span>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jaspersoft Studio: Username may not be null (HTTP proxy issue)

    Stack Overflow | 3 years ago | Andreas Dietrich
    java.lang.IllegalArgumentException: Username may not be null
  6. 0

    Making a HttpClient request in java

    Stack Overflow | 1 year ago | ThisDude
    java.lang.IllegalArgumentException: HTTP request may not be null

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Scheme may not be null

      at org.apache.http.util.Args.notNull()
    2. Apache Http
      Args.notNull
      1. org.apache.http.util.Args.notNull(Args.java:48)
      1 frame
    3. Apache HttpClient
      SchemeRegistry.register
      1. org.apache.http.conn.scheme.SchemeRegistry.register(SchemeRegistry.java:123)
      1 frame
    4. hudson.plugins.ec2
      EC2ComputerLauncher.launch
      1. hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:220)
      2. hudson.plugins.ec2.win.winrm.WinRMClient.sendRequest(WinRMClient.java:202)
      3. hudson.plugins.ec2.win.winrm.WinRMClient.openShell(WinRMClient.java:85)
      4. hudson.plugins.ec2.win.winrm.WinRM.ping(WinRM.java:29)
      5. hudson.plugins.ec2.win.WinConnection.ping(WinConnection.java:117)
      6. hudson.plugins.ec2.win.EC2WindowsLauncher.connectToWinRM(EC2WindowsLauncher.java:123)
      7. hudson.plugins.ec2.win.EC2WindowsLauncher.launch(EC2WindowsLauncher.java:31)
      8. hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:107)
      8 frames
    5. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:253)
      1 frame
    6. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames