org.eclipse.swt.SWTException: Device is disposed

SpringSource Issue Tracker | Tomasz Zarna | 4 years ago
  1. 0

    Currently no tests are executed during a maven build for eclipse-integration-commons component. When enabled they fail like this: {code} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.springsource.ide.eclipse.commons.tests.AllIdeTests Extensions: ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=true, location=null], ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=false, location=null] Tests run: 32, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.593 sec <<< FAILURE! Results : Failed tests: testDetectExtensions(org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporterTest): Expected extension with id prefix 'apache-maven-' in ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=true, location=null], ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=false, location=null] testStartupJob(org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporterTest): Expected auto configuration of server with id VMware vFabric tc Server Developer Edition v2.7 Tests in error: testActionPresent(org.springsource.ide.eclipse.commons.internal.configurator.touchpoint.ConfiguratorActionTest): The required org.eclipse.equinox.p2.native touchpoint for the com.springsource.sts.ide.configure action is not included in the installation manager configuration. Tests run: 32, Failures: 2, Errors: 1, Skipped: 0 !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-15 11:07:34.587 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Display.error(Display.java:1258) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$30.done(DashboardMainPage.java:1103) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-15 11:07:35.617 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$25.done(DashboardMainPage.java:952) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) !ENTRY org.eclipse.core.jobs 4 2 2012-11-15 11:07:35.617 !MESSAGE An internal error occurred during: "Downloading RSS feeds". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion(IdeUiUtils.java:266) at org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion(IdeUiUtils.java:260) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.updateNotifications(AggregateFeedJob.java:215) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.run(AggregateFeedJob.java:173) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [ERROR] There are test failures. Please refer to E:\workspace\sts\source\eclipse-integration-commons\org.springsource.ide.eclipse.commons.tests\target\surefire-reports for the individual test results. {code}

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Device is disposed
  2. 0

    Currently no tests are executed during a maven build for eclipse-integration-commons component. When enabled they fail like this: {code} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.springsource.ide.eclipse.commons.tests.AllIdeTests Extensions: ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=true, location=null], ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=false, location=null] Tests run: 32, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.593 sec <<< FAILURE! Results : Failed tests: testDetectExtensions(org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporterTest): Expected extension with id prefix 'apache-maven-' in ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=true, location=null], ConfigurableExtension [id=com.springsource.sts.ide.tests.runtime, autoConfigurable=false, configured=false, location=null] testStartupJob(org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporterTest): Expected auto configuration of server with id VMware vFabric tc Server Developer Edition v2.7 Tests in error: testActionPresent(org.springsource.ide.eclipse.commons.internal.configurator.touchpoint.ConfiguratorActionTest): The required org.eclipse.equinox.p2.native touchpoint for the com.springsource.sts.ide.configure action is not included in the installation manager configuration. Tests run: 32, Failures: 2, Errors: 1, Skipped: 0 !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-15 11:07:34.587 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Display.error(Display.java:1258) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$30.done(DashboardMainPage.java:1103) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-15 11:07:35.617 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$25.done(DashboardMainPage.java:952) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) !ENTRY org.eclipse.core.jobs 4 2 2012-11-15 11:07:35.617 !MESSAGE An internal error occurred during: "Downloading RSS feeds". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion(IdeUiUtils.java:266) at org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion(IdeUiUtils.java:260) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.updateNotifications(AggregateFeedJob.java:215) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.run(AggregateFeedJob.java:173) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) [ERROR] There are test failures. Please refer to E:\workspace\sts\source\eclipse-integration-commons\org.springsource.ide.eclipse.commons.tests\target\surefire-reports for the individual test results. {code}

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Device is disposed
  3. 0

    Found in maven console when working on STS-3047. {code} !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-26 13:21:29.886 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$26.done(DashboardMainPage.java:996) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) {code} and {code} !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-26 13:21:28.919 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Display.error(Display.java:1258) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$31.done(DashboardMainPage.java:1147) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) {code}. I guess a fix similar to recent [fixed exception with disposed widget on dashboard when update feeds|https://github.com/SpringSource/eclipse-integration-commons/commit/884f3bc8189e90c1a1f5049c68e327a9837a8f57] by Martin should do the job.

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Device is disposed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Found in maven console when working on STS-3047. {code} !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-26 13:21:29.886 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 java.lang.NullPointerException at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$26.done(DashboardMainPage.java:996) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) {code} and {code} !ENTRY org.springsource.ide.eclipse.dashboard.ui 4 2 2012-11-26 13:21:28.919 !MESSAGE Problems occurred when invoking code from plug-in: "org.springsource.ide.eclipse.dashboard.ui". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Display.error(Display.java:1258) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:709) at org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$31.done(DashboardMainPage.java:1147) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:71) {code}. I guess a fix similar to recent [fixed exception with disposed widget on dashboard when update feeds|https://github.com/SpringSource/eclipse-integration-commons/commit/884f3bc8189e90c1a1f5049c68e327a9837a8f57] by Martin should do the job.

    SpringSource Issue Tracker | 4 years ago | Tomasz Zarna
    org.eclipse.swt.SWTException: Device is disposed

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Device is disposed

      at org.eclipse.swt.SWT.error()
    2. RWT
      Display.asyncExec
      1. org.eclipse.swt.SWT.error(SWT.java:4282)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Display.error(Display.java:1258)
      5. org.eclipse.swt.widgets.Display.asyncExec(Display.java:709)
      5 frames
    3. org.springsource.ide
      DashboardMainPage$30.done
      1. org.springsource.ide.eclipse.dashboard.internal.ui.editors.DashboardMainPage$30.done(DashboardMainPage.java:1103)
      1 frame
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
      2. org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
      3. org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
      4. org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
      5. org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
      6. org.eclipse.core.internal.jobs.Worker.run(Worker.java:71)
      6 frames