facebook

error opening struts-config

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #278951 Reply

    Hello.
    My configuration:

    OS: windows XP
    eclipse.buildId=M20070212-1330
    java.version=1.6.0_02
    java.vendor=Sun Microsystems Inc.
    MyEclipse: 5.1.1

    When I open struts-config.xml with default editor (myeclipse struts config editor) I have the following error:

    Error
    Mon Nov 26 13:48:19 GMT+01:00 2007
    Unable to create editor ID com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor: The resource struts-config.xml is already in use by another editor. Simultaneous editor access to this resource is unsupported.

    org.eclipse.ui.PartInitException: The resource struts-config.xml is already in use by another editor. Simultaneous editor access to this resource is unsupported.
    at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(EditorUtil.java:233)
    at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.init(StrutsConfigEditor.java:449)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:842)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:583)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
    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.setSelection(PartStack.java:1097)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:822)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:721)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:682)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2593)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
    at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
    at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:653)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
    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.JFaceUtil$1.run(JFaceUtil.java:44)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
    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: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 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: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)

    I tried to:
    – restart eclipse
    – reboot
    – start eclipse with “-clean” parameter but nothing changes.
    If I open struts-config with another editor, nothing fails.

    Can you help me, please?

    #278958

    Loyal Water
    Member

    Can you go through the posting guidelines thread and paste your installation details here for me.

    #278963

    *** Date:
    lunedì 26 novembre 2007 16.11.23 GMT+01:00

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.6.0_02

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    Eclipse Platform

    Version: 3.3.0
    Build id: I20070621-1340

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070621-1340

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070814-1555

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070621-1340

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070621-1340

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\eclipse-3.3\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\eclipse-3.3\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    C:\eclipse-3.3\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -vm
    C:\Programmi\Java\jre1.6.0_02\bin\client\jvm.dll

    #278964

    SORRY!!!!
    I was using another version…. these are the CORRECT installation details

    *** Date:
    lunedì 26 novembre 2007 16.13.49 GMT+01:00

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.6.0_02

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.1 GA
    Build id: 20070302-5.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.2
    Build id: M20070212-1330

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse-3.2\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    cfc_84
    -vm
    C:\WINDOWS\system32\javaw.exe

    #278966

    Loyal Water
    Member

    Can you downgrade your JDK to 1.5 and check if it resolves this issue.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: error opening struts-config

You must be logged in to post in the forum log in