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 259010 - NullPointerException at org.netbeans.modules.project.ui.ProjectsRootNode.findNode
Summary: NullPointerException at org.netbeans.modules.project.ui.ProjectsRootNode.find...
Status: RESOLVED INVALID
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-25 19:27 UTC by Alexander Kouznetsov
Modified: 2016-07-26 06:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223734


Attachments
stacktrace (508 bytes, text/plain)
2016-04-25 19:27 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2016-04-25 19:27:17 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: Windows 7

User Comments:
mrkam: Was trying to open a project from build.gradle file with Ctrl-Shift-1 that was recently added to the parent in settings.gradle.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.project.ui.ProjectsRootNode.findNode(ProjectsRootNode.java:202)
   at org.netbeans.modules.project.ui.ProjectTab$2.run(ProjectTab.java:577)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Alexander Kouznetsov 2016-04-25 19:27:19 UTC
Created attachment 159432 [details]
stacktrace
Comment 2 Tomas Stupka 2016-06-21 14:48:48 UTC
looks like the gradle project returned null for it's lookup, that should not happen

also that there is a lot of exception from gradle prior to the reported one, please report the issue against the owner of the Gradle plugin