- This topic has 1 reply, 2 voices, and was last updated 18 years ago by Riyad Kalla.
-
AuthorPosts
-
gloteMemberMyEclipse struts pops up a warning boks when I edit struts-config.xml, tiles xmls og jsp.
The warning is:
“Unable to load modules.
Problem: The resource tree is locked for modifications.”my installation details:
*** Date:
21. november 2006 kl 14.36 CET** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_12*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.1
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060921-0945Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060921-0945Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\dev\eclipse\3.2.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
15cc_74
-showlocation
-vm
D:\j2sdk1.4.2_12\bin\javaw.exeA stacktrace from the error log:
!ENTRY com.genuitec.eclipse.cross.easystruts.eclipse 1 1 2006-11-21 14:28:33.023
!MESSAGE
!STACK 1
org.eclipse.core.internal.resources.ResourceException: The resource tree is locked for modifications.
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:94)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1684)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1396)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:334)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.loadModules(StrutsProjectRegistry.java:313)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.registerModules(StrutsProjectRegistry.java:302)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.getModuleRefList(StrutsProjectRegistry.java:438)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.getModuleRefList(StrutsProjectRegistry.java:430)
at com.genuitec.struts.easystruts.core.StrutsProjectRegistry.resourceChanged(StrutsProjectRegistry.java:498)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1746)
at org.eclipse.search2.internal.ui.text.MarkerHighlighter.addHighlights(MarkerHighlighter.java:41)
at org.eclipse.search2.internal.ui.text.EditorAnnotationManager.addAnnotations(EditorAnnotationManager.java:233)
at org.eclipse.search2.internal.ui.text.EditorAnnotationManager.addAnnotations(EditorAnnotationManager.java:215)
at org.eclipse.search2.internal.ui.text.EditorAnnotationManager.addSearchResult(EditorAnnotationManager.java:107)
at org.eclipse.search2.internal.ui.text.EditorAnnotationManager.setSearchResults(EditorAnnotationManager.java:100)
at org.eclipse.search2.internal.ui.text.WindowAnnotationManager.startHighlighting(WindowAnnotationManager.java:82)
at org.eclipse.search2.internal.ui.text.WindowAnnotationManager.access$1(WindowAnnotationManager.java:75)
at org.eclipse.search2.internal.ui.text.WindowAnnotationManager$1.partVisible(WindowAnnotationManager.java:64)
at org.eclipse.ui.internal.PartListenerList2$7.run(PartListenerList2.java:170)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:168)
at org.eclipse.ui.internal.PartService.firePartVisible(PartService.java:121)
at org.eclipse.ui.internal.WWinPartService$1.partVisible(WWinPartService.java:60)
at org.eclipse.ui.internal.PartListenerList2$7.run(PartListenerList2.java:170)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:168)
at org.eclipse.ui.internal.PartService.firePartVisible(PartService.java:121)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartVisible(WorkbenchPagePartList.java:67)
at org.eclipse.ui.internal.PartList.partVisible(PartList.java:269)
at org.eclipse.ui.internal.PartList.access$2(PartList.java:258)
at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:44)
at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:346)
at org.eclipse.ui.internal.WorkbenchPartReference.fireVisibilityChange(WorkbenchPartReference.java:507)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:295)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
at org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartStack.java:1112)
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
at org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1369)
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1305)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1295)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1269)
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
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 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: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)
!SUBENTRY 1 org.eclipse.core.resources 4 380 2006-11-21 14:28:33.033
!MESSAGE The resource tree is locked for modifications.
Riyad KallaMemberAre you trying to open this file in multiple editors? Have you tried closing all editors, refreshing the project from it’s root, then cleaning it and reopening the editor?
-
AuthorPosts