facebook

XSD Editor flaky?

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #271389 Reply

    illogic
    Member

    Hi there,

    I started designing a schema from scratch and ran into various bugs and glitches, for example generating an xml instance from that schema results in an error. I look it up under ‘Problems’ -> right-click but ‘Show details’ is not offered for this single error. Once there are more errors in the generated XML ‘Show details’ works.

    When I try to cut’n’paste -> XSD editor is not refreshed correctly.

    When I change or insert a namespace prefix e.g. in <schema> -> <xs:schema> other tags are automatically prefixed, but MyEclipse freezes with high processor load and is hard to kill.

    Does anybody else experience similar problems?

    Thanks
    Markus

    ====
    *** Date:
    Dienstag, 12. Juni 2007 10.44 Uhr CEST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    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 Plug-in Development Environment

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

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    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:\Program Files\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    808_13c
    -vm
    C:\Program Files\MyEclipse 5.5.1 GA\jre\bin\javaw.exe

    #271390 Reply

    illogic
    Member

    Ah, here we go…

    !ENTRY org.eclipse.ui 4 0 2007-06-12 08:17:20.704
    !MESSAGE Warning: Detected recursive attempt by part org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor to create itself (this is probably, but not necessarily, a bug)
    !STACK 1
    org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor to create itself (this is probably, but not necessarily, a bug)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:557)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:395)
    at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:373)
    at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1914)
    at org.eclipse.ui.NavigationLocation.getEditorPart(NavigationLocation.java:44)
    at org.eclipse.ui.NavigationLocation.getText(NavigationLocation.java:60)
    at org.eclipse.ui.internal.NavigationHistoryEntry.<init>(NavigationHistoryEntry.java:49)
    at org.eclipse.ui.internal.NavigationHistory.createEntry(NavigationHistory.java:563)
    at org.eclipse.ui.internal.NavigationHistory.addEntry(NavigationHistory.java:316)
    at org.eclipse.ui.internal.NavigationHistory.markLocation(NavigationHistory.java:178)
    at org.eclipse.ui.texteditor.AbstractTextEditor.markInNavigationHistory(AbstractTextEditor.java:4980)
    at org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:4955)
    at org.eclipse.ui.texteditor.AbstractTextEditor.selectAndReveal(AbstractTextEditor.java:4924)
    at org.eclipse.ui.texteditor.AbstractTextEditor.doSetSelection(AbstractTextEditor.java:2214)
    at org.eclipse.ui.texteditor.AbstractTextEditor$SelectionProvider.setSelection(AbstractTextEditor.java:1318)
    at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.setSelection(StructuredTextEditor.java:1025)
    at org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor$XSDSelectionManagerSelectionListener.selectionChanged(InternalXSDMultiPageEditor.java:873)
    at org.eclipse.wst.xsd.ui.internal.adt.editor.CommonSelectionManager.setSelection(CommonSelectionManager.java:98)
    at org.eclipse.wst.xsd.ui.internal.adt.editor.CommonSelectionManager.setSelection(CommonSelectionManager.java:61)
    at org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor.createPages(InternalXSDMultiPageEditor.java:471)
    at com.genuitec.myeclipse.ui.editors.XSDEditor.createPages(XSDEditor.java:9)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    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.presentationSelectionChanged(PartStack.java:795)
    at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:781)
    at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:123)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
    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$2.handleEvent(DefaultTabFolder.java:84)
    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.Widget.sendEvent(Widget.java:952)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:709)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3171)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1953)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
    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)
    !SUBENTRY 1 org.eclipse.ui 4 0 2007-06-12 08:17:20.704
    !MESSAGE Warning: Detected recursive attempt by part org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor to create itself (this is probably, but not necessarily, a bug)

    #271433 Reply

    illogic
    Member

    Well, once you get the schema right, all is well behaved. But out of 3 days work, I spent 2 days looking at those editor bugs and wondering… : (

    Thanks anyway
    Markus

    #272700 Reply

    Matt Bucknam
    Participant

    I had a similar experience — hard to pinpoint specifics because there were so many things wrong; it really just doesn’t work very well.

    #272701 Reply

    wagles
    Member

    I too am having a similar experience with the entire web services tooling of MyEclipse. Not that it is all bad, the tooling does add value, but when things go bad, it is really hard to pinpoint what the problem is. I am at a point where I am questioning the value add when I look at the overall time spent, the issues I ran into, and the resultant output.

    I assume you were able to see the error message because you started Eclipse from the command line. Do you know how you can find error messages when you start MyEclipse from the start menu on a Windows m/c?

    #272757 Reply

    Matt Bucknam
    Participant

    The error messages are located in the .metadata subdirectory of your workspace. The file is .log and contains a stack trace of errors encountered in the workspace.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: XSD Editor flaky?

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