facebook

MyEclipse hangs in java editor

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #295048 Reply

    jon.brown.w
    Member

    Hi

    I am running the following version of MyEclipse:
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    I am having a recurring problem when in the java editor where the application stops responding for 1 – 2 minutes before allowing me to continue. Once this has happened, it continues doing this every minute or so until I restart MyEclipse.

    I have tried to track what triggers this behaviour but it seems to be random. There is no indication of what the application is doing whist it is not responding but it is using quite a lot of processor.

    Any help you can provide would be much appreciated

    #295060

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me. How many projects do you have in your workspace and are these large projects?

    #295062

    jon.brown.w
    Member

    Looks like it might be caused by an attempt to get some javaDoc

    *** Date:
    19 February 2009 16:50:21 o’clock GMT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
    Build id: M20070921-1145

    Eclipse RCP

    Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
    Build id: M20070921-1145

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20070921-1145

    Eclipse Plug-in Development Environment

    Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
    Build id: M20070921-1145

    Eclipse Project SDK

    Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
    Build id: M20070921-1145

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
    -startup
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -exitdata
    f38_74
    -vm
    C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe

    ======================================================
    Log output
    ========================================================
    !ENTRY org.eclipse.jdt.core 4 1008 2009-02-19 17:12:49.619
    !MESSAGE Cannot retrieve the attached javadoc for StringBuffer {key=Ljava/lang/StringBuffer;} [in StringBuffer.class [in java.lang [in C:\Program Files\MyEclipse 6.0\jre\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.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:120)
    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)

    #295064

    jon.brown.w
    Member

    I have 9 projects in the workspace. I would say that only three of them are large projects

    #295065

    jon.brown.w
    Member

    HAve just done a bit more testing around the javaDoc and although it does throw the error, that does not appear to be the reason for the lack of response

    #295134

    Loyal Water
    Member

    Do you have the memory arguments in the eclipse.ini file? Incase you don’t can you add this to the eclipse.ini file and check if it makes any difference:-

    
    -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M 
    
    #295179

    jon.brown.w
    Member

    I already have the following:
    “C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe” -vm “C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe” -vmargs -Xms256M -Xmx1024M -XX:PermSize=64M -XX:MaxPermSize=256M

    It does not seem to make any difference

    #295409

    jon.brown.w
    Member

    Further monitoring of what causes the issue would seem to point to copying multiple lines in the editor using ctrl c. ANy thoughts on a solution?

    #295429

    Loyal Water
    Member

    jon.brown.w,
    I think you can try upgrading to the latest version of MyEclipse (7.0) and test this again. I hope that helps.

    #297854

    jon.brown.w
    Member

    unfortunately due to the size of the project team I am working on, it is not possible to upgrade currently. Is there anything else I can try?

    #297907

    Loyal Water
    Member

    You can switch to a new workspace and try working there. Does that help?

    #299953

    jon.brown.w
    Member

    Sorry for the delay in response to this – Very busy.
    A second workspace with fewer projects does not seem to suffer from the same problem

    #299974

    Loyal Water
    Member

    I believe this could be a workspace related issue. You should switch back to the old workspace and check if the -clean command helps:-
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Incase the problem persists, you should move your projects to a new workspace and continue working with them.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: MyEclipse hangs in java editor

You must be logged in to post in the forum log in