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.
Build: NetBeans IDE Dev (Build 20160215-258b9a742a44) VM: OpenJDK 64-Bit Server VM, 25.74-b02, OpenJDK Runtime Environment, 1.8.0_74-b02 OS: Linux User Comments: GUEST: Trying to build a dukescript application, runs into an error ralphbenjamin: I didn't configure the Oracle proxy, blocking the wizard for quite some time. Stacktrace: java.lang.NullPointerException at com.dukescript.ide.dukewizard.DukeIterator.collectFiles(DukeIterator.java:164) at com.dukescript.ide.dukewizard.DukeIterator.instantiate(DukeIterator.java:134) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605) at org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:76) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
Created attachment 158537 [details] stacktrace
I can reproduce this by disconnecting the network when the wizard is started. But the Wizard clearly states that there is no network connection on the final screen in red color: "Warning: No network connection. This wizard is based on Maven. To work properly it needs a network connection. Please check your network settings." If you proceed despite the warning, the wizard will try to get the archetypes from the local repo. If the archetypes are not there, it will produce this error. So this is expected behavior with proper warning.