org.eclipse.core.runtime.AssertionFailedException: null argument:

SpringSource Issue Tracker | Kris De Volder (c) | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I create a 'Java Quickstart' sample project and then played with it. When I click the "Open Quick Tasks Launcher" button in the Gradle Tasks View it doesn't appear to do anything. I did find this in the error log: {code} org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) at org.eclipse.core.runtime.Path.initialize(Path.java:577) at org.eclipse.core.runtime.Path.<init>(Path.java:185) at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.setSelectedProject(ConsoleInplaceDialog.java:1072) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.restoreProject(ConsoleInplaceDialog.java:945) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.initializeUI(ConsoleInplaceDialog.java:253) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.<init>(ConsoleInplaceDialog.java:215) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.getInstance(ConsoleInplaceDialog.java:124) at org.springsource.ide.eclipse.gradle.ui.actions.ConsoleInplaceDialogActionDelegate.run(ConsoleInplaceDialogActionDelegate.java:47) at org.springsource.ide.eclipse.gradle.ui.taskview.TasksConsoleAction.run(TasksConsoleAction.java:41) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) {code}

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    org.eclipse.core.runtime.AssertionFailedException: null argument:
  2. 0

    I create a 'Java Quickstart' sample project and then played with it. When I click the "Open Quick Tasks Launcher" button in the Gradle Tasks View it doesn't appear to do anything. I did find this in the error log: {code} org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) at org.eclipse.core.runtime.Path.initialize(Path.java:577) at org.eclipse.core.runtime.Path.<init>(Path.java:185) at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.setSelectedProject(ConsoleInplaceDialog.java:1072) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.restoreProject(ConsoleInplaceDialog.java:945) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.initializeUI(ConsoleInplaceDialog.java:253) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.<init>(ConsoleInplaceDialog.java:215) at org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.getInstance(ConsoleInplaceDialog.java:124) at org.springsource.ide.eclipse.gradle.ui.actions.ConsoleInplaceDialogActionDelegate.run(ConsoleInplaceDialogActionDelegate.java:47) at org.springsource.ide.eclipse.gradle.ui.taskview.TasksConsoleAction.run(TasksConsoleAction.java:41) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) {code}

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    org.eclipse.core.runtime.AssertionFailedException: null argument:
  3. 0

    GitHub comment 59#8150338

    GitHub | 4 years ago | root42
    org.eclipse.core.runtime.AssertionFailedException: null argument:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.core.runtime.AssertionFailedException

      null argument:

      at org.eclipse.core.runtime.Assert.isNotNull()
    2. Eclipse Core
      Path.<init>
      1. org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
      2. org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
      3. org.eclipse.core.runtime.Path.initialize(Path.java:577)
      4. org.eclipse.core.runtime.Path.<init>(Path.java:185)
      4 frames
    3. Core Resource Management
      WorkspaceRoot.getProject
      1. org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:182)
      1 frame
    4. org.springsource.ide
      TasksConsoleAction.run
      1. org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.setSelectedProject(ConsoleInplaceDialog.java:1072)
      2. org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.restoreProject(ConsoleInplaceDialog.java:945)
      3. org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.initializeUI(ConsoleInplaceDialog.java:253)
      4. org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.<init>(ConsoleInplaceDialog.java:215)
      5. org.springsource.ide.eclipse.gradle.ui.cli.inplace.ConsoleInplaceDialog.getInstance(ConsoleInplaceDialog.java:124)
      6. org.springsource.ide.eclipse.gradle.ui.actions.ConsoleInplaceDialogActionDelegate.run(ConsoleInplaceDialogActionDelegate.java:47)
      7. org.springsource.ide.eclipse.gradle.ui.taskview.TasksConsoleAction.run(TasksConsoleAction.java:41)
      7 frames
    5. JFace
      ActionContributionItem$6.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      4. org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
      4 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
      5 frames
    7. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    9. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    10. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    11. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    15. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    19. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      4 frames