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.
This issue was reported manually by aikebah. It already has 1 duplicates Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: aikebah: Creating a new Maven POM project for which I cleared the (marked Optional) Package field in the New POM Project dialog Stacktrace: java.lang.AssertionError: Null file object. at org.netbeans.modules.maven.model.Utilities.createModelSource(Utilities.java:186) at org.netbeans.modules.maven.model.Utilities.createModelSource(Utilities.java:181) at org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(CreateProjectBuilder.java:171) at org.netbeans.modules.maven.newproject.idenative.IDENativeMavenWizardIterator.instantiate(IDENativeMavenWizardIterator.java:109) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1044) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
Created attachment 144387 [details] stacktrace
http://hg.netbeans.org/core-main/rev/4c86c7337a71 http://hg.netbeans.org/core-main/rev/e41735fedf96 for some reason parent project's pom file was not convertible to FileObject. In that case we skip the operation where child is added to parent's <modules> section.
Integrated into 'main-silver', will be available in build *201401300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4c86c7337a71 User: Milos Kleint <mkleint@netbeans.org> Log: #240989 more asserts to learn why the parent project's MavenProject.getFile() is a location non-convertable to FileObject.