facebook

problem when opening xml file

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

    lukmanph
    Member

    hi all

    am running

    win 2000
    jdk 1.4.2
    eclipse 3.0.6
    myEclipse 3.0.7 rc2

    and having this problem when trying to open a xml file:
    (from log file)

    any hint?
    thanks!
    Patria

    
    SESSION Jan 14, 2004 12:35:30.581 ---------------------------------------------
    java.version=1.4.2_01
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.ui 4 4 Jan 14, 2004 12:35:30.591
    !MESSAGE Unable to restore editor - no input factory ID.
    !ENTRY org.eclipse.ui 4 4 Jan 14, 2004 12:35:30.822
    !MESSAGE Unable to restore editor - no input factory ID.
    !ENTRY org.eclipse.ui 4 4 Jan 14, 2004 12:35:30.832
    !MESSAGE Unable to restore editor - no input factory ID.
    !ENTRY org.xmen.multipageeditor.XMenPlugin 1 1 Jan 14, 2004 12:36:03.509
    !MESSAGE http://castor.exolab.org/mapping.dtd
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at org.xmen.xml.SchemaCache.Ä‚(Unknown Source)
        at org.xmen.xml.SchemaCache.getDTDLocation(Unknown Source)
        at org.xmen.xml.Namespace.readSchema(Unknown Source)
        at org.xmen.internal.ui.text.XMLReconciler.�(Unknown Source)
        at org.xmen.internal.ui.text.XMLReconciler.createTree(Unknown Source)
        at org.xmen.ui.XMLDocumentProvider.createDocument(Unknown Source)
        at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:535)
        at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:341)
        at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2505)
        at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
        at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:342)
        at org.eclipse.ui.texteditor.AbstractTextEditor$14.run(AbstractTextEditor.java:1978)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
        at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:550)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
        at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:547)
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1612)
        at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:1993)
        at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2011)
        at org.xmen.ui.text.XMLTextEditor.init(Unknown Source)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:564)
        at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:628)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:433)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:421)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2047)
        at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:1990)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1977)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1972)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:265)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:133)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:106)
        at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:158)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:147)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:329)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:326)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:406)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
        at org.eclipse.core.runtime.Platform.run(Platform.java:457)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:404)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:614)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:703)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
        at org.eclipse.jface.util.OpenStrategy$1.mouseSelectItem(OpenStrategy.java:344)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:289)
        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.Display.runDeferredEvents(Display.java:2311)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
        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.xmen.multipageeditor.XMenPlugin 1 1 Jan 14, 2004 12:41:05.460
    !MESSAGE http://castor.exolab.org/mapping.dtd
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at org.xmen.xml.SchemaCache.Ä‚(Unknown Source)
        at org.xmen.xml.SchemaCache.getDTDLocation(Unknown Source)
        at org.xmen.xml.Namespace.readSchema(Unknown Source)
        at org.xmen.internal.ui.text.XMLReconciler.�(Unknown Source)
        at org.xmen.internal.ui.text.XMLReconciler.createTree(Unknown Source)
        at org.xmen.ui.XMLDocumentProvider.createDocument(Unknown Source)
        at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:535)
        at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:341)
        at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2505)
        at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
        at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:342)
        at org.eclipse.ui.texteditor.AbstractTextEditor$14.run(AbstractTextEditor.java:1978)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
        at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:550)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
        at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:547)
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1612)
        at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:1993)
        at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:2011)
        at org.xmen.ui.text.XMLTextEditor.init(Unknown Source)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:564)
        at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:628)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:433)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:421)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2047)
        at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:1990)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1977)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1972)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:265)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:133)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:106)
        at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:158)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:147)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:329)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:326)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:406)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
        at org.eclipse.core.runtime.Platform.run(Platform.java:457)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:404)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:614)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:703)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:209)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:204)
        at org.eclipse.jface.util.OpenStrategy$1.mouseSelectItem(OpenStrategy.java:344)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:289)
        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.Display.runDeferredEvents(Display.java:2311)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
        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)
    
    #201829 Reply

    Riyad Kalla
    Member

    Patria,
    The XML editor is trying to load the DTD file from exolab’s site. The site happens to be down right now and is timing out (causing the load to fail). This happened with me and some Struts-Jakarta DTDs about 2 weeks ago when their site went down for maintenence.

    The XML editor does keep a cache of DTDs (unless you turned it off) so it should hit the cache after it downloads this DTD for the first time.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: problem when opening xml file

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