- This topic has 3 replies, 2 voices, and was last updated 20 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
ksgettingParticipantRunning MyEclipse with my web app deployed to Tomcat server in debug mode. When I attempt to bring up the Java Editor I get:
A Virtual Machine Error has occurred.
You are recommended to exit the workbench…..The message suggested I look in the .log file (not real specific on the log file location). This error appeared in the log for each edit attempt. What does it mean? Is there anything I need to do to prevent this from reoccurring?
—— .log —————
!ENTRY org.eclipse.ui 4 4 2005-05-23 15:14:37.203
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-05-23 15:14:37.203
!MESSAGE java.lang.IllegalStateException: zip file closed
!STACK 0
java.lang.InternalError: java.lang.IllegalStateException: zip file closed
at java.text.BreakIterator.createBreakInstance(Unknown Source)
at java.text.BreakIterator.getBreakInstance(Unknown Source)
at java.text.BreakIterator.getWordInstance(Unknown Source)
at java.text.BreakIterator.getWordInstance(Unknown Source)
at org.eclipse.jdt.internal.ui.text.JavaBreakIterator.<init>(JavaBreakIterator.java:233)
at org.eclipse.jdt.internal.ui.text.JavaWordIterator.<init>(JavaWordIterator.java:39)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$PreviousSubWordAction.<init>(JavaEditor.java:1069)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$NavigatePreviousSubWordAction.<init>(JavaEditor.java:1143)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createNavigationActions(JavaEditor.java:3528)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createNavigationActions(CompilationUnitEditor.java:1953)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2644)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:2597)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1659)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:577)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:357)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:559)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:236)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:88)
at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:137)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:326)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)May 24, 2005 at 9:26 am #230085
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
May 24, 2005 at 10:02 am #230089
ksgettingParticipantSorry. Here is the additional info:
What operating system and version are you running?
Windows XP w/ SP2What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.1.0
Build id: I20050513-1415– Was Eclipse freshly installed for MyEclipse?
Yes– Are any other external plugins installed?
wtp-sdk-1.0M4 (Eclipse Web Tools Platform Project)– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.4What JDK version are you using to run Eclipse? (java -version)
1.4.2What JDK version are you using to launch your application server?
1.4.2Steps taken:
Double clicking on a xxx.java file to editWhat application server are you using?
Tomcat 5.0.28Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log) – See previous entry
May 24, 2005 at 10:28 am #230090
Riyad KallaMemberwtp-sdk-1.0M4 (Eclipse Web Tools Platform Project)
This is the problem, MyEclipse builds ontop of Web Tools, so by having a newer version of Web Tools installed, what is happening is Eclipse is loading all the newer WebTools plugins, and then MyEclipse goes to interacte with the webtools API it was built ontop of, and blows up because Eclipse has loaded the newer release (with a different API).
I highly suggest a clean install of just Eclipse 3.0.2 and MyEclipse 3.8.4 (or 4.0m1 if you like) for the most stable operation. Don’t use 4.0M1 if this is a production environment, let us get to the 1st RC before you plan on using it in production.
-
AuthorPosts