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 258033 - NullPointerException at com.dukescript.ide.dukewizard.DukeIterator.collectFiles
Summary: NullPointerException at com.dukescript.ide.dukewizard.DukeIterator.collectFiles
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-17 12:38 UTC by Ralph Ruijs
Modified: 2016-05-10 06:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219095


Attachments
stacktrace (1.37 KB, text/plain)
2016-02-17 12:38 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2016-02-17 12:38:09 UTC
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)
Comment 1 Ralph Ruijs 2016-02-17 12:38:11 UTC
Created attachment 158537 [details]
stacktrace
Comment 2 maxnitribitt 2016-05-10 06:48:51 UTC
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.