Uploaded image for project: 'Ergo'
  1. Ergo
  2. ERGO-81

Closing the log view causes runaway exception

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0.0, NIST-V1
    • 4.0.0, NIST-V1
    • None

      If you open the log view Window > Show View > Other > Debug > Log View and then close it, do some work, a null pointer exception/widget disposed exception is not handled and the log view has a runaway exception that continuously writes to the log and the application has to be forcibly shutdown.

      Part of the stacktrace:

      Caused by: org.eclipse.swt.SWTException: Widget is disposed
      at org.eclipse.swt.SWT.error(SWT.java:4397)
      at org.eclipse.swt.SWT.error(SWT.java:4312)
      at org.eclipse.swt.SWT.error(SWT.java:4283)
      at org.eclipse.swt.widgets.Widget.error(Widget.java:481)
      at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:418)
      at org.eclipse.swt.widgets.Table.getItemCount(Table.java:1490)
      at org.eclipse.jface.viewers.TableViewer.doGetItemCount(TableViewer.java:210)
      at org.eclipse.jface.viewers.AbstractTableViewer.indexForElement(AbstractTableViewer.java:553)
      at org.eclipse.jface.viewers.AbstractTableViewer.add(AbstractTableViewer.java:263)
      at org.eclipse.jface.viewers.AbstractTableViewer.add(AbstractTableViewer.java:316)
      at ncsa.eclipse.core.views.LogView$MyContentProvider$1$1.run(LogView.java:69)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      ... 24 more

              cnavarro Christopher Navarro
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified