java.lang.IllegalArgumentException: Empty nameString not allowed

Apache's JIRA Issue Tracker | Stephen Chu | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [HADOOP-11267] TestSecurityUtil fails when run with JDK8 because of empty principal names - ASF JIRA

    apache.org | 2 years ago
    java.lang.IllegalArgumentException: Empty nameString not allowed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to use cached ticket with KerberosRestTemplate?

    Stack Overflow | 1 year ago | Jaz Brok
    org.springframework.web.client.RestClientException: Error running rest call; nested exception is java.lang.IllegalArgumentException: Null name not allowed
  4. 0

    How to access kerberos SPNEGO authenticated resource using spring rest template

    Stack Overflow | 7 months ago | pratim_b
    org.springframework.web.client.RestClientException: Error running rest call; nested exception is java.lang.IllegalArgumentException: Null name not allowed

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Empty nameString not allowed

      at sun.security.krb5.PrincipalName.validateNameStrings()
    2. Java RT
      KerberosPrincipal.<init>
      1. sun.security.krb5.PrincipalName.validateNameStrings(PrincipalName.java:171)
      2. sun.security.krb5.PrincipalName.<init>(PrincipalName.java:393)
      3. sun.security.krb5.PrincipalName.<init>(PrincipalName.java:460)
      4. javax.security.auth.kerberos.KerberosPrincipal.<init>(KerberosPrincipal.java:120)
      4 frames
    3. Hadoop
      TestSecurityUtil.isOriginalTGTReturnsCorrectValues
      1. org.apache.hadoop.security.TestSecurityUtil.isOriginalTGTReturnsCorrectValues(TestSecurityUtil.java:57)
      1 frame