java.net.ConnectException: Connection timed out: connect

Spring JIRA | Imported | 9 years ago
  1. 0

    == Class Attribute Content Assist no response. == 1. create blank Spring project 2. create blank ''applicationContext.xml'' 3. write quotation and ''"class="j"'' then press Ctrl + space. {code} <?xml version="1.0" encoding="UTF-8"?> <beans ...> <bean id="id" class="j"></bean> </beans> {code} 4. eclipse no response... == environment == * Eclipse Platform * Version: 3.3.0 * Build id: I20070621-1340 * SpringIDE trunk: HEAD(2007/07/03) * Internet Access via Proxy Server == stacktrace == {code} Java Model Exception: Java Model Status [jar_de [in jar_de.class [in sun.tools.jar.resources [in C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar]]]java.net.ConnectException: Connection timed out: connect 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.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938) at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734) at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086) at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128) (snip..) {code} == workaround == [source:/trunk/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java@latest#L126 souce code point] {code} Index: C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java =================================================================== --- C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (revision 2203) +++ C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (working copy) @@ -123,8 +123,7 @@ .getReplacementBeginPosition(), request .getReplacementLength(), prop .getQualifiedTypeName().length(), prop.getImage(), - prop.getDisplayString(), null, prop - .getAdditionalProposalInfo(), prop.getRelevance(), + prop.getDisplayString(), null, null, prop.getRelevance(), prop.getJavaElement()); request.addProposal(proposal); {code} Do you have a better solution to solve this problem?

    Spring JIRA | 9 years ago | Imported
    java.net.ConnectException: Connection timed out: connect
  2. 0

    == Class Attribute Content Assist no response. == 1. create blank Spring project 2. create blank ''applicationContext.xml'' 3. write quotation and ''"class="j"'' then press Ctrl + space. {code} <?xml version="1.0" encoding="UTF-8"?> <beans ...> <bean id="id" class="j"></bean> </beans> {code} 4. eclipse no response... == environment == * Eclipse Platform * Version: 3.3.0 * Build id: I20070621-1340 * SpringIDE trunk: HEAD(2007/07/03) * Internet Access via Proxy Server == stacktrace == {code} Java Model Exception: Java Model Status [jar_de [in jar_de.class [in sun.tools.jar.resources [in C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar]]]java.net.ConnectException: Connection timed out: connect 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.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at sun.net.www.http.HttpClient.openServer(HttpClient.java:509) at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) at sun.net.www.http.HttpClient.New(HttpClient.java:304) at sun.net.www.http.HttpClient.New(HttpClient.java:316) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938) at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734) at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086) at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76) at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128) (snip..) {code} == workaround == [source:/trunk/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java@latest#L126 souce code point] {code} Index: C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java =================================================================== --- C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (revision 2203) +++ C:/eclipse/workspace/org.springframework.ide.eclipse.beans.ui.editor/src/org/springframework/ide/eclipse/beans/ui/editor/util/BeansJavaCompletionUtils.java (working copy) @@ -123,8 +123,7 @@ .getReplacementBeginPosition(), request .getReplacementLength(), prop .getQualifiedTypeName().length(), prop.getImage(), - prop.getDisplayString(), null, prop - .getAdditionalProposalInfo(), prop.getRelevance(), + prop.getDisplayString(), null, null, prop.getRelevance(), prop.getJavaElement()); request.addProposal(proposal); {code} Do you have a better solution to solve this problem?

    Spring JIRA | 9 years ago | Imported
    java.net.ConnectException: Connection timed out: connect
  3. 0

    Javadoc exceptions

    Eclipse Bugzilla | 1 decade ago | eclipse
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to access javadoc from eclipse?

    Coderanch | 9 years ago | akash kumar
    java.net.ConnectException: Connection timed out: connectat java.net.PlainSocketImpl.socketConnect(Native Method)
  6. 0

    java.net.ConnectException : DocumentBuilder.parse(inputstream) from HttpPost

    Stack Overflow | 3 years ago | paramupk
    java.net.ConnectException: Connection timed out: connect

  1. regisso 3 times, last 5 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.getInputStream
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.Socket.connect(Socket.java:519)
    6. java.net.Socket.connect(Socket.java:469)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
    11. sun.net.www.http.HttpClient.New(HttpClient.java:304)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:316)
    13. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)
    14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
    15. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)
    16. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
    16 frames
  3. JDT Core
    BinaryType.getAttachedJavadoc
    1. org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:734)
    2. org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1086)
    3. org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:998)
    3 frames
  4. Java Development Tools UI
    LazyJavaCompletionProposal.getAdditionalProposalInfo
    1. org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getHTMLContentReader(ProposalInfo.java:112)
    2. org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:99)
    3. org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76)
    4. org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59)
    5. org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:440)
    6. org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.getAdditionalProposalInfo(LazyJavaCompletionProposal.java:236)
    6 frames
  5. org.springframework.ide
    BeansJavaCompletionUtils.processJavaCompletionProposal
    1. org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.processJavaCompletionProposal(BeansJavaCompletionUtils.java:128)
    1 frame