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

Samebug tips

  1. ,
    Expert tip

    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

Solutions on the web

via Coderanch by Jitesh Sinha, 1 year ago
via Stack Overflow by Yogesh Selvaraj
, 2 years ago
server-1358839685-az-1-region-a-geo-1.localdomain: server-1358839685-az-1-region-a-geo-1.localdomain
via saifulaziz.com by Unknown author, 1 year ago
java.net.UnknownHostException: -a: -a	at java.net.InetAddress.getLocalHost(InetAddress.java:1315)	at org.apache.jsp.index_jsp._jspService(index_jsp.java:178)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275)	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:169)	at org.mortbay.jetty.servlet.Default.handleGet(Default.java:312)	at org.mortbay.jetty.servlet.Default.service(Default.java:232)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:556)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1563)	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:623)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1515)	at org.mortbay.http.HttpServer.service(HttpServer.java:956)	at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)