- This topic has 3 replies, 3 voices, and was last updated 15 years, 7 months ago by support-joy.
-
AuthorPosts
-
b4l4nc3rMemberI get an Exception when trying to use the Struts Editor running a bare MyEclipse 7.1 profile installation (Pulse edition) ONLY on a Jrocket JVM!
I need JRocket JVM for it’s superior memory management as on the long run when I’m getting into my flow, I run into low memory messages and ultimately poor functioning forcing me to restart MyEclipse which takes up to 20 minutes (not exaggerating!) to get everything arranged (amount of windows and editors etc..) to the way I want it when using my VERY HEAVY (BUT STILL AN ABSOLUTE NUMBER 1 REQUIREMENT) MyEclipse profile using the following setting on a SUN JVM:
-vmargs
-Xms580M
-Xmx580M
-XX:MaxPermSize=612MWith the SUN JVM I can NOT allocate more than the total of around 1200 MB (which is why 580M + 612M) on my current MAIN LAPTOP which I plan on using for at least another year!! If I try to allocate more (lets say 590 instead of 580 or 622 instead of 612),then JVM just blows in my face! Technically it pops the error window which is not my favorite window! JVM Terminated. Exit code = -1 HORRAY!!! Yet another problem to get around before getting to the actual problems I WANT to solve with the JVM program (MyEclipse)! That much PermSize I need for VP SDE and other plugins!
According to some sources the SUN JVM DEMANDS from the OS (in any case WINDOWS) a continuous block of memory. I don’t know if that’s true, BUT the JVM blows up on my machine any how if I allocate more! JROCKET DOERSN”T! I can allocate as much as I need of the available RAM on the machine! And it handled the PermSize just as needed! I DIDN”T ONCE GET ANY OUT OF MEMORY EXCEPTIONS!
So Jrocket to the rescue! Too bad I found out later that the struts editor doesn’t work with Jrocket JVM.
I’ve already posted this at the oracle forum here: http://forums.oracle.com/forums/message.jspa?messageID=3366077
The only tip I’ve currently got is this old thread of an MyEclipse user here on your forum of which the solution is upgrading to 6.5 through Pulse: http://www.myeclipseide.com/PNphpBB2-viewtopic-t-21098-view-previous.html
But that doesn’t resolve my problem as I’ve already followed the described steps in the the above mentioned MyEclipse user thread with Pulse to use a bare MyEclipse 7.1 profile to test it with the same error.
Version which myeclipse runs fine in:
Sun JRE 1.5.0_11, Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011Jrockit versions used with the same Exception as resulted:
java version “1.6.0_05”
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
ompiled mode)java version “1.5.0_15”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.5.0_15-20080626-2105-windows-ia32, c
ompiled mode)Isolated result:
So at this point I’m positive that it’s the combination of Jrocket and MyEclipse 7.1 that causes the exception as it runs fine in the above mentioned Sun JRE.
Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
java.lang.ClassFormatError: y/layout/ParallelEdgeLayouter : illegal JVM_CONSTANT_Fieldref name: Ԍ
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:165)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:554)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:524)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:455)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:443)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:423)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:89)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at y.layout.CanonicMultiStageLayouter.<init>(Unknown Source)
at y.layout.hierarchic.IncrementalHierarchicLayouter.<init>(Unknown Source)
at com.genuitec.eclipse.struts.editor.modeler.graph.StrutsGraphLayoutManager.createIHierarchicLayouter(StrutsGraphLayoutManager.java:158)
at com.genuitec.eclipse.struts.editor.modeler.graph.StrutsGraphLayoutManager.<init>(StrutsGraphLayoutManager.java:74)
at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsConfigDiagramEditPart.createFigure(StrutsConfigDiagramEditPart.java:79)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getFigure(AbstractGraphicalEditPart.java:452)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addChildVisual(AbstractGraphicalEditPart.java:204)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:197)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:101)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:602)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:612)
at com.genuitec.eclipse.struts.editor.modeler.core.StrutsEditor.initializeGraphicalViewer(StrutsEditor.java:500)
at com.genuitec.eclipse.struts.editor.modeler.core.StrutsEditor.createGraphicalViewer(StrutsEditor.java:325)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(GraphicalEditor.java:164)
at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.createPartControl(GraphicalEditorWithFlyoutPalette.java:78)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:218)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:187)
at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.createFlowModeler(StrutsConfigEditor.java:267)
at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.createPages(StrutsConfigEditor.java:286)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:313)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:66)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:474)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1210)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:500)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:486)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:64)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:218)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:781)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:640)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:364)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:881)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:176)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1184)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3423)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:119)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:505)
at org.eclipse.equinox.launcher.Main.run(Main.java:1237)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)eclipse.buildId=unknown
java.version=1.5.0_15
java.vendor=BEA Systems, Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -clean
Loyal WaterMemberIm afraid MyEclipse is not support to run with the JRocket JVm and I dont have a workaround fo you to resolve this issue. Sorry about that.
b4l4nc3rMemberThe solution can be found here thanks to the JROCKET TEAM: http://forums.oracle.com/forums/thread.jspa?messageID=3410129
support-joyMemberb4l4nc3r,
Thank you taking time to post the fix. Appreciate the help!
Best,
-
AuthorPosts