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 GitHub by zaynoon
, 1 year ago
Error reading response from server
via Google Groups by gopichand mummineni, 1 year ago
javax.security.auth.login.LoginException: java.lang.IllegalArgumentException: Empty nameString not allowed	at sun.security.krb5.PrincipalName.validateNameStrings(PrincipalName.java:171)	at sun.security.krb5.PrincipalName.(PrincipalName.java:142)	at sun.security.krb5.PrincipalName.(PrincipalName.java:155)	at sun.security.krb5.internal.ccache.CCacheInputStream.readPrincipal(CCacheInputStream.java:149)	at sun.security.krb5.internal.ccache.CCacheInputStream.readCred(CCacheInputStream.java:347)	at sun.security.krb5.internal.ccache.FileCredentialsCache.load(FileCredentialsCache.java:185)	at sun.security.krb5.internal.ccache.FileCredentialsCache.acquireInstance(FileCredentialsCache.java:82)	at sun.security.krb5.internal.ccache.CredentialsCache.getInstance(CredentialsCache.java:83)	at sun.security.krb5.Credentials.acquireTGTFromCache(Credentials.java:333)	at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:665)	at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:617)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)	at javax.security.auth.login.LoginContext.login(LoginContext.java:587)	at io.airlift.http.client.spnego.SpnegoAuthentication.getSession(SpnegoAuthentication.java:197)	at io.airlift.http.client.spnego.SpnegoAuthentication.access$200(SpnegoAuthentication.java:46)	at io.airlift.http.client.spnego.SpnegoAuthentication$1.apply(SpnegoAuthentication.java:108)	at org.eclipse.jetty.client.AuthenticationProtocolHandler$AuthenticationListener.onComplete(AuthenticationProtocolHandler.java:152)	at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)	at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)	at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:454)	at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:401)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:268)	at org.eclipse.jetty.http.HttpParser.parseHeaders(HttpParser.java:1024)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1257)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:158)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:119)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:69)	at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:90)	at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:114)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:186)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:856)	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)	at javax.security.auth.login.LoginContext.login(LoginContext.java:587)	at io.airlift.http.client.spnego.SpnegoAuthentication.getSession(SpnegoAuthentication.java:197)	at io.airlift.http.client.spnego.SpnegoAuthentication.access$200(SpnegoAuthentication.java:46)	at io.airlift.http.client.spnego.SpnegoAuthentication$1.apply(SpnegoAuthentication.java:108)	at org.eclipse.jetty.client.AuthenticationProtocolHandler$AuthenticationListener.onComplete(AuthenticationProtocolHandler.java:152)	at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)	at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)	at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:454)	at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:401)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:268)	at org.eclipse.jetty.http.HttpParser.parseHeaders(HttpParser.java:1024)	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1257)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:158)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:119)	at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:69)	at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:90)	at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:114)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:186)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)