java.lang.NullPointerException

SpringSource Issue Tracker | Kris De Volder (c) | 3 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
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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
    java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion()
    2. org.springsource.ide
      AggregateFeedJob.run
      1. org.springsource.ide.eclipse.dashboard.internal.ui.util.IdeUiUtils.getVersion(IdeUiUtils.java:260)
      2. org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.updateNotifications(AggregateFeedJob.java:231)
      3. org.springsource.ide.eclipse.dashboard.internal.ui.editors.AggregateFeedJob.run(AggregateFeedJob.java:179)
      3 frames
    3. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame