java.lang.IllegalArgumentException: Must specify non-empty 'commandLine' parameter

GitHub | pirocks | 5 months 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

    Intellij crashes when creating dub project

    GitHub | 5 months ago | pirocks
    java.lang.IllegalArgumentException: Must specify non-empty 'commandLine' parameter

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Must specify non-empty 'commandLine' parameter

      at com.intellij.execution.process.BaseOSProcessHandler.<init>()
    2. IDEA
      OSProcessHandler.<init>
      1. com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:65)
      2. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:68)
      3. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:61)
      4. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:54)
      4 frames
    3. net.masterthought.dlanguage
      DLanguageDubModuleBuilder.getSourcePaths
      1. net.masterthought.dlanguage.module.DLanguageDubModuleBuilder.createDub(DLanguageDubModuleBuilder.java:131)
      2. net.masterthought.dlanguage.module.DLanguageDubModuleBuilder.getSourcePaths(DLanguageDubModuleBuilder.java:81)
      2 frames
    4. IDEA
      JavaModuleBuilder.setupRootModel
      1. com.intellij.ide.util.projectWizard.JavaModuleBuilder.setupRootModel(JavaModuleBuilder.java:108)
      1 frame
    5. net.masterthought.dlanguage
      DLanguageDubModuleBuilder.setupRootModel
      1. net.masterthought.dlanguage.module.DLanguageModuleBuilder.setJavaRootModel(DLanguageModuleBuilder.java:91)
      2. net.masterthought.dlanguage.module.DLanguageDubModuleBuilder.setupRootModel(DLanguageDubModuleBuilder.java:51)
      2 frames
    6. IDEA
      NewProjectAction.actionPerformed
      1. com.intellij.ide.util.projectWizard.ModuleBuilder.setupModule(ModuleBuilder.java:264)
      2. com.intellij.ide.util.projectWizard.ModuleBuilder.createModule(ModuleBuilder.java:257)
      3. com.intellij.ide.util.projectWizard.ModuleBuilder.createAndCommitIfNeeded(ModuleBuilder.java:295)
      4. com.intellij.ide.util.projectWizard.ModuleBuilder$3.compute(ModuleBuilder.java:344)
      5. com.intellij.ide.util.projectWizard.ModuleBuilder$3.compute(ModuleBuilder.java:341)
      6. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:922)
      7. com.intellij.ide.util.projectWizard.ModuleBuilder.commitModule(ModuleBuilder.java:341)
      8. com.intellij.ide.util.projectWizard.ModuleBuilder.commit(ModuleBuilder.java:327)
      9. com.intellij.ide.util.projectWizard.JavaModuleBuilder.commit(JavaModuleBuilder.java:174)
      10. com.intellij.ide.impl.NewProjectUtil.doCreate(NewProjectUtil.java:149)
      11. com.intellij.ide.impl.NewProjectUtil.createFromWizard(NewProjectUtil.java:76)
      12. com.intellij.ide.impl.NewProjectUtil.createNewProject(NewProjectUtil.java:71)
      13. com.intellij.ide.actions.NewProjectAction.actionPerformed(NewProjectAction.java:31)
      13 frames
    7. Openapi
      LinkLabel$MyMouseHandler.mouseReleased
      1. com.intellij.ui.components.labels.ActionLink$1.linkSelected(ActionLink.java:66)
      2. com.intellij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:145)
      3. com.intellij.ui.components.labels.ActionLink.doClick(ActionLink.java:79)
      4. com.intellij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:328)
      4 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6533)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      3. java.awt.Component.processEvent(Component.java:6298)
      4. java.awt.Container.processEvent(Container.java:2236)
      5. java.awt.Component.dispatchEventImpl(Component.java:4889)
      6. java.awt.Container.dispatchEventImpl(Container.java:2294)
      7. java.awt.Component.dispatchEvent(Component.java:4711)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      11. java.awt.Container.dispatchEventImpl(Container.java:2280)
      12. java.awt.Window.dispatchEventImpl(Window.java:2746)
      13. java.awt.Component.dispatchEvent(Component.java:4711)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      15. java.awt.EventQueue.access$500(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:709)
      17. java.awt.EventQueue$3.run(EventQueue.java:703)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
      20. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
      21. java.awt.EventQueue$4.run(EventQueue.java:731)
      22. java.awt.EventQueue$4.run(EventQueue.java:729)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      25 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:793)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:625)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    10. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames