org.springframework.web.client.RestClientException: Error running rest call; nested exception is java.lang.IllegalArgumentException: Null name not allowed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Jaz Brok
, 7 months ago
Error running rest call; nested exception is java.lang.IllegalArgumentException: Null name not allowed
via Stack Overflow by pratim_b
, 1 year ago
Error running rest call; nested exception is java.lang.IllegalArgumentException: Null name not allowed
via Stack Overflow by Purple
, 5 months ago
Error running rest call; nested exception is org.springframework.web.client.HttpClientErrorException: 401 Unauthorized
via Stack Overflow by Jasvinder Singh
, 1 year ago
Error running rest call; nested exception is org.springframework.web.client.HttpClientErrorException: 401 Authentication required
via Apache's JIRA Issue Tracker by Greg Senia, 11 months ago
Error running rest call; nested exception is org.springframework.web.client.HttpClientErrorException: 404 Not Found
java.lang.IllegalArgumentException: Null name not allowed
at sun.security.krb5.PrincipalName.(Unknown Source)
at sun.security.krb5.PrincipalName.(Unknown Source)
at javax.security.auth.kerberos.KerberosPrincipal.(Unknown Source)
at org.springframework.security.kerberos.client.KerberosRestTemplate.doExecute(KerberosRestTemplate.java:182)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:530)
at edu.mezlogo.Application.main(Application.java:9)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.