This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249334 - IllegalArgumentException: Attempted to pass a null directory to findProject
Summary: IllegalArgumentException: Attempted to pass a null directory to findProject
Status: RESOLVED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-13 08:59 UTC by narsereg
Modified: 2015-06-03 16:23 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208569


Attachments
stacktrace (2.02 KB, text/plain)
2014-12-13 08:59 UTC, narsereg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description narsereg 2014-12-13 08:59:02 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
narsereg: I tried to add gradle folder in the properties

GUEST: Opening a Gradle-based project (i.e., using the Gradle plugin).  The project did open in spite of this error.

GUEST: problem when opening gradle projects

GUEST: Open gradle project

GUEST: opening Gradle/Java project in Linux Mint that was created in Win 8.1

GUEST: Attempted to open spring rest tutorial initial directory using gradle plugin.

Tutorial can be downloaded from:

http://spring.io/guides/tutorials/rest/




Stacktrace: 
java.lang.IllegalArgumentException: Attempted to pass a null directory to findProject
   at org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:229)
   at org.netbeans.gradle.project.java.model.JavaProjectReference.tryGetProject(JavaProjectReference.java:55)
   at org.netbeans.gradle.project.java.model.JavaProjectReference.tryGetJavaExtension(JavaProjectReference.java:72)
   at org.netbeans.gradle.project.java.model.JavaProjectReference.tryGetModule(JavaProjectReference.java:86)
   at org.netbeans.gradle.project.java.query.GradleClassPathProvider.loadAllBuildOutputClassPath(GradleClassPathProvider.java:416)
   at org.netbeans.gradle.project.java.query.GradleClassPathProvider.loadPathResources(GradleClassPathProvider.java:442)
Comment 1 narsereg 2014-12-13 08:59:04 UTC
Created attachment 151087 [details]
stacktrace
Comment 2 Tomas Stupka 2015-06-03 16:23:10 UTC
thir party. please file against the owner of the gradle plugin
https://github.com/kelemen/netbeans-gradle-project