facebook

[Close] ME 5.5 hangs on Linux after change preferences

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #272063 Reply

    svgray
    Member

    Hi,

    I’m having a problem with MyEclipse 5.5.1 hanging on Linux when I have the preferences window open. This reliably happens when I change a preference item and click OK, but frequently happens after just selecting a category from the list on the left panel.

    I don’t know if it’s relevant, but I always get the error message “an internal error occurred during ‘MyEclipse Memory Monitor'” just after startup.

    I’m using Fedora Core 7, and have selinux turned off. I’ve tried running as root but it has no effect.

    Any help would be appreciated.

    Thanks,
    Steve

    #272067 Reply

    Loyal Water
    Member

    Have you tried giving MyEclipse more memory? Try adding:
    -vmargs -Xms128m -Xmx256m

    to the command line or shortcut used to launch MyEclipse

    #272093 Reply

    svgray
    Member

    Thanks, but am running from the MyEclipse.sh file provided which already sets Xms to 128M and Xmx to 512M. I’ve tried increasing the MaxPermSize setting which is also in the command line from 256 to 512M but this had no effect.

    #272132 Reply

    Loyal Water
    Member

    Can you post your installation details here for me please. The posting guidelines are given at the top of the forums.

    #272180 Reply

    svgray
    Member

    Installation details and error log below. The errors in the error log appear to result from the “MyEclipse Memory Monitor” problem – nothing is added between opening the preferences window and MyEclipse freezing.

    Thanks,
    Steve

    Installation details:
    *** Date:
    Friday June 29, 2007 AD 7:25:58;841 o’clock PM GMT+10:00

    ** System properties:
    OS=Linux
    OS version=2.6.21-1.3194.fc7
    Java version=1.5.0

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /usr/bin/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    58000
    -product
    com.genuitec.myeclipse.product.ide
    -vm
    /usr/bin/java

    *********************************************
    Error log:
    !SESSION 2007-06-29 19:29:53.212 ———————————————–
    eclipse.buildId=M20070212-1330
    java.fullversion=GNU libgcj 4.1.2 20070502 (Red Hat 4.1.2-12)
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments: -product com.genuitec.myeclipse.product.ide
    Command-line arguments: -os linux -ws gtk -arch x86 -product com.genuitec.myeclipse.product.ide

    !ENTRY com.genuitec.eclipse.wizards 4 0 2007-06-29 19:30:37.470
    !MESSAGE Unable to install snippet library: /opt/MyEclipse 5.5.1 GA/eclipse/plugins/com.genuitec.eclipse.wizards_5.5.1/snippets/jsp/struts_logic_snippets.xml
    !STACK 0
    gnu.xml.dom.ls.DomLSException: no root element: U+3c3f
    at gnu.xml.dom.ls.DomLSParser.doParse(libgcj.so.8rh)
    at gnu.xml.dom.ls.DomLSParser.parse(libgcj.so.8rh)
    at gnu.xml.dom.DomDocumentBuilder.parse(libgcj.so.8rh)
    at org.eclipse.wst.common.snippets.internal.palette.ModelFactoryForUser.load(ModelFactoryForUser.java:193)
    at org.eclipse.wst.common.snippets.internal.palette.ModelFactoryForUser.loadCurrent(ModelFactoryForUser.java:224)
    at org.eclipse.wst.common.snippets.internal.model.SnippetManager.loadDefinitions(SnippetManager.java:209)
    at org.eclipse.wst.common.snippets.internal.model.SnippetManager.getDefinitions(SnippetManager.java:159)
    at com.genuitec.eclipse.snippetinstaller.SnippetInstaller.installLibrary(SnippetInstaller.java:41)
    at com.aston.AstonWizardsPlugin.installSnippetLibraries(AstonWizardsPlugin.java:411)
    at com.aston.AstonWizardsPlugin.checkSnippetLibraries(AstonWizardsPlugin.java:335)
    at com.aston.AstonWizardsPlugin.access$0(AstonWizardsPlugin.java:321)
    at com.aston.AstonWizardsPlugin$1.run(AstonWizardsPlugin.java:467)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3157)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2859)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at java.lang.reflect.Method.invoke(libgcj.so.8rh)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: org.xml.sax.SAXParseException: no root element: U+3c3f
    at gnu.xml.stream.SAXParser.parse(libgcj.so.8rh)
    at gnu.xml.dom.ls.DomLSParser.doParse(libgcj.so.8rh)
    …30 more
    Caused by: javax.xml.stream.XMLStreamException: no root element: U+3c3f
    at gnu.xml.stream.XMLParser.error(libgcj.so.8rh)
    at gnu.xml.stream.XMLParser.error(libgcj.so.8rh)
    at gnu.xml.stream.XMLParser.next(libgcj.so.8rh)
    at gnu.xml.stream.XMLParser.hasNext(libgcj.so.8rh)
    at gnu.xml.stream.SAXParser.parse(libgcj.so.8rh)
    …31 more

    !ENTRY org.eclipse.core.jobs 4 2 2007-06-29 19:30:38.882
    !MESSAGE An internal error occurred during: “MyEclipse Memory Monitor”.
    !STACK 0
    java.lang.UnsupportedOperationException: gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getUsage (::java::lang::String *) not implemented
    at gnu.java.lang.management.MemoryPoolMXBeanImpl.getUsage(libgcj.so.8rh)
    at com.genuitec.eclipse.memory.MemoryMonitorJob.shouldWarn(MemoryMonitorJob.java:62)
    at com.genuitec.eclipse.memory.MemoryMonitorJob.run(MemoryMonitorJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

    #272398 Reply

    svgray
    Member

    Hi,

    Just wondering if anyone has had a chance to look at this yet.

    Thanks,
    Steve

    #272401 Reply

    Loyal Water
    Member

    Hi Steve,
    Sorry for the delay. I would like you to try running MyEclipse with a different version of JDK. Can you try using a late version of Java 5 ?

    Let me know if that solved the problem.

    #272443 Reply

    svgray
    Member

    Hi Nipun,

    Thanks for the suggestion. Changing the JRE worked.

    It seems that when eclipse starts it ignores the JAVA_HOME variable and uses whatever java binary it finds at /usr/bin/java. On my system (Fedora Core 7) this was linked to a java binary at /etc/alternatives/java. I don’t know what this is but it is clearly not a Sun JDK/JRE. When I linked /usr/bin/java to JDK1.6/bin/java both the memory monitor problem and the set preferences option disappeared.

    I do seem to remember that when MyEclipse installs it gives you a list of the JRE/JDKs installed on your system and asks you which one you want to use. Perhaps on Linux the install should check that /usr/bin/java is linked to whatever you select? Or perhaps MyEclipse.sh could override by settign the -vm option in the eclipse command line.

    Thanks for your help with this,
    Steve

    #272459 Reply

    Loyal Water
    Member

    I do seem to remember that when MyEclipse installs it gives you a list of the JRE/JDKs installed on your system and asks you which one you want to use.

    This is something that does not happen during install. You have to select it manually.

    Glad to know it worked.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: [Close] ME 5.5 hangs on Linux after change preferences

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