Hello, I use Gradle mostly for private projects and I have a few to try out. My biggest one is a toy project for a web framework which uses Hibernate Pojos to render a ui.
This is the first one I have tried and it failed with the following exception: java.lang.NullPointerException: The file parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:64) at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:853) at org.netbeans.modules.gradle.queries.GradleSourceForBinary.findSourceRoots2(GradleSourceForBinary.java:59) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:101) at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:728) at org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:275) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:4888) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Well failed is not really true. It opens, it builds, it runs the targets I have tried but it shows this exception in a dialog whenever I open the project or a file in the project. Since this seems to be related to repository updates here are my configured repositories for this project: repositories { flatDir { dirs "lib" } mavenCentral() maven { url "http://mavensync.zkoss.org/maven2" } maven { url "http://mavensync.zkoss.org/eval" } } The project uses a gradle wrapper with gradle version 4.10.2 currently. I can provide more information if needed. I'll try to try out other existing projects as soon as possible. Regards, Martin Am Sa., 26. Jan. 2019 um 14:07 Uhr schrieb Geertjan Wielenga <geertjan.wiele...@googlemail.com.invalid>: > Hi all, > > If you're using Gradle in any way at all -- and especially if you have some > Gradle projects of whatever kind lying around -- we need you! > > Thanks to Laszlo, we have integration with Gradle for the first time in the > upcoming release scheduled to be released in March. We need as many as > possible to try out the Gradle features, i.e., simply open your existing > projects into the latest NetBeans builds and see if there are any problems > so they can be fixed in time. > > Interested? Please respond to this e-mail indicating your intention to try > out your existing Gradle projects in the upcoming release of Apache > NetBeans and we'll work on this together from there initially via this mail > thread. > > For example, without any problems at all, I was able to open and work with > this random project I found on GitHub: >