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.
Created attachment 163673 [details] A patch OpenProjects.getDefault().openProjects().get(timeout, timeUnit) will only work as expected if timeUnit is MILLISECONDS. Future<Project[]> openProjects = OpenProjects.getDefault().openProjects(); // This will work Project[] projects = openProjects.get(120000, TimeUnit.MILLISECONDS); // This will throw TimeOutException (will be treated as 2 ms not 2 min) Project[] projects = openProjects.get(2, TimeUnit.MINUTES); To reproduce add the above code in to activate while start up or while opening some large project with a time out passing the time to open the projects, use openProjects.get(2, TimeUnit.DAYS) if you have a really large project, it will crash after 2 ms anyway or return successfully after project load if patch is used.