- This topic has 8 replies, 2 voices, and was last updated 17 years, 7 months ago by Loyal Water.
-
AuthorPosts
-
svgrayMemberHi,
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
Loyal WaterMemberHave you tried giving MyEclipse more memory? Try adding:
-vmargs -Xms128m -Xmx256mto the command line or shortcut used to launch MyEclipse
svgrayMemberThanks, 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.
Loyal WaterMemberCan you post your installation details here for me please. The posting guidelines are given at the top of the forums.
svgrayMemberInstallation 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,
SteveInstallation 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 WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse 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)
svgrayMemberHi,
Just wondering if anyone has had a chance to look at this yet.
Thanks,
Steve
Loyal WaterMemberHi 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.
svgrayMemberHi 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
Loyal WaterMemberI 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.
-
AuthorPosts