Results 1 to 5 of 5
  1. #1
    javastudent87 is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

    Default An exception occurred while getting the Javadoc

    i'm using eclipse 3.2 to develope java applications.
    when i move cursor to any Java class, rather than showing information about that class it is showing following popup:

    An exception occurred while getting the Javadoc.Please see log for details

    and when i inspect log file , it has the contents:

    Java Code:
    MESSAGE Cannot retrieve the attached javadoc for String {key=Ljava/lang/String;} [in String.class [in java.lang [in D:\Java\lib\rt.jar]]]java.net.ConnectException: Connection refused: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(Unknown Source)
    	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    	at java.net.PlainSocketImpl.connect(Unknown Source)
    	at java.net.SocksSocketImpl.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at sun.net.NetworkClient.doConnect(Unknown Source)
    	at sun.net.www.http.HttpClient.openServer(Unknown Source)
    	at sun.net.www.http.HttpClient.openServer(Unknown Source)
    	at sun.net.www.http.HttpClient.<init>(Unknown Source)
    	at sun.net.www.http.HttpClient.New(Unknown Source)
    	at sun.net.www.http.HttpClient.New(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    	at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:742)
    	at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1060)
    	at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:972)
    	at org.eclipse.jdt.ui.JavadocContentAccess.getHTMLContentReader(JavadocContentAccess.java:133)
    	at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:176)
    	at org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo(AbstractJavaEditorTextHover.java:125)
    	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo(BestMatchHover.java:102)
    	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo(JavaEditorTextHoverProxy.java:69)
    	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:165)

    can anybody let me know waht is cause of this..
    i'm very new to the java and specially eclipse.

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    java.net.ConnectException: Connection refused: connect
    Says it, you're not connected to the net and eclipse cannot connect.

    You can attach the source to get information about the classes.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  3. #3
    javastudent87 is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

    Default

    java.net.ConnectException: Connection refused: connect

    Says it, you're not connected to the net and eclipse cannot connect.

    You can attach the source to get information about the classes
    my m/c is connected to the net..
    how to make eclipse connect to net?
    does it require any settings.. please let me know.

  4. #4
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    Dunno, what does the help system say?
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  5. #5
    javastudent87 is offline Member
    Join Date
    Jul 2010
    Posts
    7
    Rep Power
    0

Similar Threads

  1. Replies: 2
    Last Post: 11-14-2008, 06:57 AM
  2. Replies: 1
    Last Post: 08-07-2007, 06:03 AM
  3. A Servlet Exception Has Occurred
    By gabriel in forum JDBC
    Replies: 1
    Last Post: 08-07-2007, 02:28 AM
  4. an internal error occurred during refresh
    By christina in forum Eclipse
    Replies: 1
    Last Post: 08-06-2007, 09:37 PM
  5. Replies: 2
    Last Post: 07-04-2007, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •