java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268"

Jenkins JIRA | Petr H | 12 months ago
  1. 0

    In the case of LDAP plugin it's possible to provide list of multiple ldap servers separated by space, see for example JENKINS-16443 But in the case of Active directory plugin it doesn't work as entering the following in the server entry: dc3.intra.net:3268 10.1.1.11:3268 dc2.intra.net:3268 leads to:{noformat}java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.sun.jndi.toolkit.url.Uri.parse(Uri.java:232) at com.sun.jndi.toolkit.url.Uri.init(Uri.java:138) at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:82) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:163) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:484) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:434) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:273) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.authenticate(ActiveDirectorySecurityRealm.java:666) ...{noformat}

    Jenkins JIRA | 12 months ago | Petr H
    java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268"
  2. 0

    In the case of LDAP plugin it's possible to provide list of multiple ldap servers separated by space, see for example JENKINS-16443 But in the case of Active directory plugin it doesn't work as entering the following in the server entry: dc3.intra.net:3268 10.1.1.11:3268 dc2.intra.net:3268 leads to:{noformat}java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.sun.jndi.toolkit.url.Uri.parse(Uri.java:232) at com.sun.jndi.toolkit.url.Uri.init(Uri.java:138) at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:82) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:163) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:484) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:434) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:273) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.authenticate(ActiveDirectorySecurityRealm.java:666) ...{noformat}

    Jenkins JIRA | 12 months ago | Petr H
    java.lang.NumberFormatException: For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268"
  3. 0

    [JIRA] [active-directory-plugin] (JENKINS-32033) Support for multiple domain controllers

    Google Groups | 12 months ago | hos...@post.cz (JIRA)
    java.lang.NumberFormatException: For input string: &quot;3268 10.1.1.11:3268 dc2.intra.net:3268&quot;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to convert String to Integer

    Stack Overflow | 3 years ago | Shantanu
    java.lang.NumberFormatException: For input string: "string"
  6. 0

    Linux Filesystem Status Plugin - Dynatrace Community - Community Downloads

    dynatrace.com | 4 months ago
    java.lang.NumberFormatException: For input string: ""java.lang.NumberFormatException: For input string: ""

    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.NumberFormatException

      For input string: "3268 10.1.1.11:3268 dc2.intra.net:3268"

      at java.lang.NumberFormatException.forInputString()
    2. Java RT
      LdapCtxFactory.getLdapCtxInstance
      1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      2. java.lang.Integer.parseInt(Integer.java:580)
      3. java.lang.Integer.parseInt(Integer.java:615)
      4. com.sun.jndi.toolkit.url.Uri.parse(Uri.java:232)
      5. com.sun.jndi.toolkit.url.Uri.init(Uri.java:138)
      6. com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:82)
      7. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:163)
      8. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)
      8 frames
    3. hudson.plugins.active_directory
      ActiveDirectorySecurityRealm.authenticate
      1. hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:484)
      2. hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:434)
      3. hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:273)
      4. hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:219)
      5. hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:163)
      6. hudson.plugins.active_directory.ActiveDirectorySecurityRealm.authenticate(ActiveDirectorySecurityRealm.java:666)
      6 frames