facebook

Problem with Right-Click on xml files [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203783 Reply

    Hi,

    When I Right-Click on any XML File; the Editor waits and waits forever.
    It comes back after almost a minute. Whit that timing the most probable thing to happen is that the mouse is in *any* other part of the screen.

    That adds a problem in using xml files.

    I have checked the eclipse Error Log and it thows the Folowing…
    (by the way; My machine is behind a Firewall)

    !ENTRY org.eclipse.ui.ide 4 4 feb 24, 2004 16:13:01.632
    !MESSAGE Problem parsing file
    !ENTRY org.eclipse.ui.ide 4 4 feb 24, 2004 16:13:01.632
    !MESSAGE Problem parsing file
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
    at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
    at org.apache.crimson.parser.Parser2.externalParameterEntity(Unknown Source)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Unknown Source)
    at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
    at org.apache.crimson.parser.Parser2.parse(Unknown Source)
    at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.eclipse.ui.internal.ide.model.PropertyParser.parseResource(PropertyParser.java:125)
    at org.eclipse.ui.internal.ide.model.WorkbenchResource.testXMLProperty(WorkbenchResource.java:243)
    at org.eclipse.ui.internal.ide.model.WorkbenchResource.testAttribute(WorkbenchResource.java:118)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.preciselyMatches(ActionExpression.java:375)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:344)
    at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:238)
    at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:78)
    at org.eclipse.ui.internal.ObjectActionContributor$ObjectContribution.isApplicableTo(ObjectActionContributor.java:234)
    at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectActionContributor.java:155)
    at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectContributorManager.java:249)
    at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:121)
    at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:65)
    at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:86)
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:263)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:342)
    at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:339)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:351)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:871)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3277)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2962)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1440)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:2836)
    at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:220)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:2337)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1985)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
    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.basicRun(Main.java:279)
    at org.eclipse.core.launcher.Main.run(Main.java:742)
    at org.eclipse.core.launcher.Main.main(Main.java:581)
    !ENTRY org.eclipse.ui.ide 4 4 feb 24, 2004 16:13:22.757
    !MESSAGE Problem parsing file
    !ENTRY org.eclipse.ui.ide 4 4 feb 24, 2004 16:13:22.757
    !MESSAGE Problem parsing file
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
    at org.apache.crimson.parser.Parser2.fatal(Unknown Source)
    at org.apache.crimson.parser.Parser2.externalParameterEntity(Unknown Source)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Unknown Source)
    at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
    at org.apache.crimson.parser.Parser2.parse(Unknown Source)
    at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.eclipse.ui.internal.ide.model.PropertyParser.parseResource(PropertyParser.java:125)
    at org.eclipse.ui.internal.ide.model.WorkbenchResource.testXMLProperty(WorkbenchResource.java:243)
    at org.eclipse.ui.internal.ide.model.WorkbenchResource.testAttribute(WorkbenchResource.java:118)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.preciselyMatches(ActionExpression.java:375)
    at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:344)
    at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:238)
    at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:78)
    at org.eclipse.ui.internal.ObjectActionContributor$ObjectContribution.isApplicableTo(ObjectActionContributor.java:234)
    at org.eclipse.ui.internal.ObjectActionContributor.isApplicableTo(ObjectActionContributor.java:155)
    at org.eclipse.ui.internal.ObjectContributorManager.isApplicableTo(ObjectContributorManager.java:249)
    at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:129)
    at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:65)
    at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:86)
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:263)
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:342)
    at org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:339)
    at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:351)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:871)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:3277)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2962)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1440)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:2836)
    at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:220)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:2337)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1985)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
    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.basicRun(Main.java:279)
    at org.eclipse.core.launcher.Main.run(Main.java:742)
    at org.eclipse.core.launcher.Main.main(Main.java:581)

    Thanks for your Help.

    Saludos

    Alejandro

    #203788 Reply

    Scott Anderson
    Participant

    Alejandro,

    It’s because the XML editor is trying to look up a DTD that it doesn’t have in its cache so it can provide you with validation. Since you’re behind a proxy, this is failing. Since it’s unable to retrieve the DTD, the easy work around is to turn off XML validation in the editor preferences.

    #203789 Reply

    A fix for this is in the new release.

    Ok Thanks!

    Saludos

    Alejandro

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem with Right-Click on xml files [Closed]

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