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 Oracle Community by 807758, 1 year ago
This exception has no message.
via Oracle Community by 807573, 1 year ago
This exception has no message.
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:520)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:333)	at com.sun.jndi.ldap.Connection.(Connection.java:181)	at com.sun.jndi.ldap.LdapClient.(LdapClient.java:118)	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1578)	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2605)	at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:284)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)	at javax.naming.InitialContext.init(InitialContext.java:223)	at javax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:134)	at com.sun.directory.common.ssl.LdapContextUtils$1.run(LdapContextUtils.java:84)	at java.lang.Thread.run(Thread.java:595)