- This topic has 13 replies, 5 voices, and was last updated 15 years, 9 months ago by Loyal Water.
-
AuthorPosts
-
Deb HamMemberwhen I try to do a copy/paste or sometimes just editing editor hangs sometime for few mins and something forever…i have to restart eclipse.
Eclipse : Version: 3.1.0/Build id: I20050627-1435
rkurinMemberI have the same problem, usually after i have eclipse running for a while. I see CPU usage going up to 100% for a few minutes after i try to copy and paste in the jsp editor.
Riyad KallaMemberGuys please provide your individual Build IDs for MyEclipse (Window > Prefs > MyEclipse) for us as well. We want to kill bugs like these as fast as possible.
Also double check our log files (<workspace dir>\.metadata\.log) for any exceptions that may help us in this hunt.
Deb HamMemberBuild Id: 20050627-4.0-Milestone-2
some stacktraces that i saw for myeclipse
!ENTRY com.genuitec.eclipse.j2eedt.core 1 0 2005-08-09 10:37:27.381
!MESSAGE
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource /aowMain/WebRoot/WEB-INF does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:304)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:98)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceModified(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceAdded(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.processResourceChanged(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.resourceChanged(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager$A.resourceChanged(Unknown Source)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:276)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:270)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:144)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:180)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:914)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2005-08-09 10:37:27.381
!MESSAGE Resource /aowMain/WebRoot/WEB-INF does not exist.!ENTRY com.genuitec.eclipse.j2eedt.core 1 0 2005-08-11 10:57:21.853
!MESSAGE
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Resource /aowMain/WebRoot/WEB-INF does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:304)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:98)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceModified(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.handleResourceAdded(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)
at com.genuitec.eclipse.integration.Integrator.projectResolver_NA1(Unknown Source)
at com.ibm.sse.model.util.ProjectResolver.getURIStream(ProjectResolver.java:204)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.loadTaglib(TLDCMDocumentManager.java:725)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.getCMDocument(TLDCMDocumentManager.java:564)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(TLDCMDocumentManager.java:72)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(TLDCMDocumentManager.java:308)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(TLDCMDocumentManager.java:256)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(TLDCMDocumentManager.java:117)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(XMLSourceParser.java:287)
at com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:251)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:178)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.setText(BasicStructuredDocument.java:1845)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:1760)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.setDocument(ModelQueryAdapterFactoryForJSP.java:81)
at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.processPostModelEvent(ModelQueryAdapterFactoryForJSP.java:52)
at com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(LifecycleNotificationManager.java:88)
at com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(AbstractStructuredModel.java:168)
at com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(AbstractStructuredModel.java:982)
at com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(XMLModelImpl.java:742)
at com.ibm.sse.model.AbstractModelLoader.load(AbstractModelLoader.java:162)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:253)
at com.ibm.sse.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:192)
at com.ibm.sse.model.ModelManagerImpl.getModelForEdit(ModelManagerImpl.java:1120)
at com.ibm.sse.editor.FileModelProvider.selfCreateModel(FileModelProvider.java:867)
at com.ibm.sse.editor.FileModelProvider.createModelInfo(FileModelProvider.java:324)
at com.ibm.sse.editor.FileModelProvider.createElementInfo(FileModelProvider.java:313)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:398)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:3008)
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1303)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:262)
at com.ibm.sse.editor.StructuredTextEditor.doSetInput(StructuredTextEditor.java:1260)
at com.ibm.sse.editor.jsp.StructuredTextEditorJSP.doSetInput(StructuredTextEditorJSP.java:133)
at org.eclipse.ui.texteditor.AbstractTextEditor$16.run(AbstractTextEditor.java:2360)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:624)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:621)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2134)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:2378)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2405)
at com.ibm.sse.editor.StructuredTextEditor.init(StructuredTextEditor.java:1837)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createSourcePage(HTMLMultiPageEditorPart.java:300)
at com.genuitec.eclipse.webdesigner.jspeditor.JSPMultiPageEditorPart.createSourcePage(JSPMultiPageEditorPart.java:54)
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:232)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2325)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
at org.eclipse.ui.internal.ide.actions.OpenWorkspaceFileAction.run(OpenWorkspaceFileAction.java:104)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:223)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
at org.eclipse.core.commands.Command.execute(Command.java:311)
at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
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:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Riyad KallaMemberIs this exception accurate, you don’t have a WEB-INF folder under your WebRoot? I could understand this causing issues with validation as it expects most of the resources it validates against to be under WEB-INF.
Deb HamMemberi have a web application project but its not marked as a struts app….should it still be looking for that directory.
Riyad KallaMemberThat directory is not specific to struts apps, it is required by any and all web applications. So if you have a Web Proejct and are missing the WEB-INF directory, that will definately confuse MyEclipse.
Tom TodaroParticipantTwo people in my department are having the same problem. Copy/Paste when editing JSP often hangs. Eventually it works, but I’ve waited as long as a minute. It’s the Copy part that is slow. There was nothing in the log, but I did get the following warning:
MyEclipse has detected that less than 5% of the 31MB of Eden Space (Heap memory) space remains.
My heap indicator at the bottom of the screen shows 48M/508M, so I’m not sure what is going on. In fact, I had just restarted Eclipse and tried the copy/paste, and that warning came up right away.
Build id: 6.0.1-GA-200710
Tom TodaroParticipantMore information:
1. I am editing a JSP file which contains JSF code. It is the JSF code that I am copying/pasting.
2. If I highlight a line to copy, and select Ctrl-C, that’s when it hangs.
Loyal WaterMemberThere was nothing in the log, but I did get the following warning:
MyEclipse has detected that less than 5% of the 31MB of Eden Space (Heap memory) space remains.
Can you increase the memory allocated by adding the following code to the eclipse.ini file
-vmargs -Xms128m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256M
Tom TodaroParticipantI actually had most of those settings already, but I changed the last one from 128 to 256. I still get a delay in certain copy/paste actions. I usually do NOT get the warning message that I mentioned earlier, by the way.
Loyal WaterMemberjbstmt,
The warning does not show up but the issue persists?Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
Tom TodaroParticipantI completely forgot about this, but the problem persists. Here’s what you asked for:
*** Date:
Thursday, February 19, 2009 12:05:15 PM EST** 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 WorkbenchVersion: 6.0.1 GA
Build id: 6.0.1-GA-200710Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
-name
Eclipse
–launcher.library
D:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
D:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
f0_7c
-vm
D:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
Loyal WaterMemberCan you upgrade to the latest version of MyEclipse (7.0) and test this again? We have enhanced and optimized the editors and that should help you.
-
AuthorPosts