facebook

IDE freeze when java.sun.com is down

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #204254 Reply

    – System Setup ——————————-
    Operating System and version: Windows XP
    Eclipse version:
    Eclipse build id: 200312182000
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 3.6.200
    Eclipse JDK version: 1.4.1_06
    Application Server JDK version: 1.4.1_06
    Are there any exceptions in the Eclipse log file?

    – Message Body ——————————-

    Yesterday java.sun.com was not available from where I work. By “Down”, I mean that it was totally dead, a SYN packet to their address would just get lost in space, there would be no TCP RSET comming back.

    the DTD for web.xml is at http://java.sun.com/&#8230;..

    When I would right click on web.xml, to do a refresh, my entire IDE would freeze for a long time while trying to retrieve the DTD.

    entering an invalid DTD such as http://adsasddas/aaa causes errors to be written to the log and whatever I type shows up in reverse.

    Important DTDs such as those for web.xml. validation.xml, etc should not be retrieved over the net!

    This happens with a wrong dtd url:

    !ENTRY org.eclipse.ui 4 4 Mar 03, 2004 13:35:07.816
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Mar 03, 2004 13:35:07.826
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    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.documentChanged(Unknown Source)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:673)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:638)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:623)
    at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:698)
    at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:989)
    at org.eclipse.jface.text.DocumentAdapter.replaceTextRange(DocumentAdapter.java:194)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5995)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6931)
    at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2554)
    at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5300)
    at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5323)
    at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:5070)
    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:856)
    at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1716)
    at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1712)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3036)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2939)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:2836)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1369)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1990)
    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 4 4 Mar 03, 2004 13:35:07.846
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Mar 03, 2004 13:35:07.856
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    !ENTRY org.eclipse.core.runtime 4 2 Mar 03, 2004 13:35:41.996
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:2592)
    at org.eclipse.swt.SWT.error(SWT.java:2522)
    at org.eclipse.swt.dnd.DND.error(DND.java:230)
    at org.eclipse.swt.dnd.DND.error(DND.java:181)
    at org.eclipse.swt.dnd.Clipboard.checkWidget(Clipboard.java:129)
    at org.eclipse.swt.dnd.Clipboard.getAvailableTypes(Clipboard.java:444)
    at org.eclipse.ui.views.navigator.PasteAction.updateSelection(PasteAction.java:220)
    at org.eclipse.ui.actions.BaseSelectionListenerAction.selectionChanged(BaseSelectionListenerAction.java:102)
    at org.eclipse.ui.views.navigator.RefactorActionGroup.updateActionBars(RefactorActionGroup.java:139)
    at org.eclipse.ui.views.navigator.MainActionGroup.handleResourceChanged(MainActionGroup.java:109)
    at org.eclipse.ui.views.navigator.MainActionGroup$1.resourceChanged(MainActionGroup.java:76)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:255)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
    at org.eclipse.core.runtime.Platform.run(Platform.java:457)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:248)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:142)
    at org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:146)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:847)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1564)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    !ENTRY org.eclipse.ui 4 4 Mar 03, 2004 13:36:13.591
    !MESSAGE Unhandled event loop exception
    !ENTRY org.eclipse.ui 4 0 Mar 03, 2004 13:36:13.601
    !MESSAGE java.lang.NullPointerException
    !STACK 0

    This happens with a dead dtd url (javasoft.com is dead now)

    !MESSAGE http://javasoft.com/dtd/web-app_2_3.dtd
    !STACK 0
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(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.documentChanged(Unknown Source)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:673)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:638)
    at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:623)
    at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:698)
    at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:989)
    at org.eclipse.jface.text.DocumentAdapter.replaceTextRange(DocumentAdapter.java:194)
    at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5995)
    at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6931)
    at org.eclipse.swt.custom.StyledText.paste(StyledText.java:6045)
    at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3313)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:693)
    at org.xmen.ui.text.XMLTextEditor$A.doOperation(Unknown Source)
    at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    at org.eclipse.ui.internal.commands.ActionHandler.execute(ActionHandler.java:40)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:390)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:763)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:803)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:486)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$0(WorkbenchKeyboard.java:421)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:215)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:692)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:846)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:871)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:856)
    at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1716)
    at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1712)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3036)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:2939)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:2836)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1369)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1990)
    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 4 4 Mar 03, 2004 13:38:37.920
    !MESSAGE Action for command ‘org.eclipse.ui.edit.paste’ failed to execute properly.
    !ENTRY org.eclipse.ui 4 0 Mar 03, 2004 13:38:37.940
    !MESSAGE Action for comma

    #204260 Reply

    Scott Anderson
    Participant

    Calin,

    All true. These are known problems that we’ve addressed in the internal build that will be the 2.7 / 3.7 GA builds in the next few days. Thanks for reporting it.

    To work around the issue in the interim, you can turn off XML validation at Window > Preferences > MyEclipse > Editors > XML > Configuration.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: IDE freeze when java.sun.com is down

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