java.lang.IllegalArgumentException: Not a Gradle project: C:\Users\daniel.platz\Documents\NetBeansProjects\netbeans-dev\CarSalesAnalysis@ec662d60:6000dcbb

GitHub | 38leinaD | 8 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

    "Compile on Save"-Option failes any non-Gradle projects

    GitHub | 8 months ago | 38leinaD
    java.lang.IllegalArgumentException: Not a Gradle project: C:\Users\daniel.platz\Documents\NetBeansProjects\netbeans-dev\CarSalesAnalysis@ec662d60:6000dcbb

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Not a Gradle project: C:\Users\daniel.platz\Documents\NetBeansProjects\netbeans-dev\CarSalesAnalysis@ec662d60:6000dcbb

      at org.netbeans.gradle.project.NbGradleProjectFactory.getGradleProject()
    2. org.netbeans.gradle
      CompileOnSaveAction.performTask
      1. org.netbeans.gradle.project.NbGradleProjectFactory.getGradleProject(NbGradleProjectFactory.java:61)
      2. org.netbeans.gradle.project.java.tasks.CompileOnSaveAction.isGradleProject(CompileOnSaveAction.java:51)
      3. org.netbeans.gradle.project.java.tasks.CompileOnSaveAction.performTask(CompileOnSaveAction.java:34)
      3 frames
    3. org.netbeans.modules
      BeforeSaveTasks$TaskRunnable$1.run
      1. org.netbeans.modules.editor.lib.BeforeSaveTasks$TaskRunnable$1.run(BeforeSaveTasks.java:173)
      1 frame
    4. abeille
      GuardedDocument.runAtomicAsUser
      1. org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:356)
      1 frame
    5. org.netbeans.modules
      BeforeSaveTasks$TaskRunnable.run
      1. org.netbeans.modules.editor.lib.BeforeSaveTasks$TaskRunnable.run(BeforeSaveTasks.java:156)
      1 frame
    6. org.netbeans.gradle
      CompileOnSaveAction.runLocked
      1. org.netbeans.gradle.project.java.tasks.CompileOnSaveAction.runLocked(CompileOnSaveAction.java:56)
      1 frame
    7. org.netbeans.modules
      BeforeSaveTasks$2.run
      1. org.netbeans.modules.editor.lib.BeforeSaveTasks$TaskRunnable.run(BeforeSaveTasks.java:153)
      2. org.netbeans.modules.editor.lib.TrailingWhitespaceRemove.runLocked(TrailingWhitespaceRemove.java:102)
      3. org.netbeans.modules.editor.lib.BeforeSaveTasks$TaskRunnable.run(BeforeSaveTasks.java:153)
      4. org.netbeans.modules.editor.impl.ReformatBeforeSaveTask.runLocked(ReformatBeforeSaveTask.java:124)
      5. org.netbeans.modules.editor.lib.BeforeSaveTasks$TaskRunnable.run(BeforeSaveTasks.java:153)
      6. org.netbeans.modules.editor.lib.BeforeSaveTasks.runTasks(BeforeSaveTasks.java:130)
      7. org.netbeans.modules.editor.lib.BeforeSaveTasks$2.run(BeforeSaveTasks.java:111)
      7 frames
    8. org.openide.text
      CloneableEditorSupport.saveDocument
      1. org.openide.text.CloneableEditorSupport.saveDocumentImpl(CloneableEditorSupport.java:753)
      2. org.openide.text.CloneableEditorSupport.saveDocument(CloneableEditorSupport.java:644)
      2 frames
    9. org.netbeans.modules
      PropertiesEditorSupport$SaveImpl.run
      1. org.netbeans.modules.properties.PropertiesEditorSupport.superSaveDoc(PropertiesEditorSupport.java:581)
      2. org.netbeans.modules.properties.PropertiesEditorSupport$SaveImpl.run(PropertiesEditorSupport.java:1658)
      2 frames
    10. org.openide.filesystems
      FileUtil.runAtomicAction
      1. org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
      2. org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:519)
      3. org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:420)
      3 frames
    11. org.netbeans.modules
      PropertiesEditorSupport$Environment.save
      1. org.netbeans.modules.properties.PropertiesEditorSupport.saveThisEntry(PropertiesEditorSupport.java:570)
      2. org.netbeans.modules.properties.PropertiesEditorSupport.access$800(PropertiesEditorSupport.java:151)
      3. org.netbeans.modules.properties.PropertiesEditorSupport$Environment.save(PropertiesEditorSupport.java:1033)
      3 frames
    12. org.openide.actions
      SaveAction$Delegate.actionPerformed
      1. org.openide.actions.SaveAction.performAction(SaveAction.java:132)
      2. org.openide.actions.SaveAction.performAction(SaveAction.java:102)
      3. org.openide.actions.SaveAction$Delegate.actionPerformed(SaveAction.java:249)
      3 frames
    13. org.openide.awt
      ContextAction.actionPerformed
      1. org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:231)
      2. org.openide.awt.ContextManager.actionPerformed(ContextManager.java:260)
      3. org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
      3 frames
    14. org.openide.util
      ActionInvoker$ActionRunnable.actionPerformed
      1. org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
      2. org.openide.util.actions.ActionInvoker$ActionRunnable.actionPerformed(ActionInvoker.java:162)
      2 frames
    15. org.netbeans.core
      ModuleActions.invokeAction
      1. org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:109)
      1 frame
    16. org.netbeans.modules
      ActionsBridgeImpl.invokeAction
      1. org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:60)
      1 frame
    17. org.openide.util
      RequestProcessor$Task.run
      1. org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:153)
      2. org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:110)
      3. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
      3 frames
    18. org.netbeans.modules
      GlobalLookup.execute
      1. org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
      1 frame
    19. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)[catch]
      2. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
      2 frames