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 204764 - IllegalArgumentException when creating a new file type with the wizard
Summary: IllegalArgumentException when creating a new file type with the wizard
Status: RESOLVED DUPLICATE of bug 204274
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 11:25 UTC by mienamoo
Modified: 2011-11-15 16:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2011-11-07 11:25:24 UTC
NetBeans IDE Dev (Build 201111030600)
JDK 7 build 147

1. Create a new standalone module.
2. Go through all the steps of the File Type wizard.
3. Click Finish on the last page. The exception below is thrown.

java.lang.IllegalArgumentException: Called DataObject.find on null
	at org.openide.loaders.DataObject.find(DataObject.java:513)
	at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles$PackageInfo$1.run(CreatedModifiedFiles.java:1196)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566)
	at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles$PackageInfo.run(CreatedModifiedFiles.java:1152)
	at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles.run(CreatedModifiedFiles.java:329)
	at org.netbeans.modules.apisupport.project.ui.wizard.loader.NewLoaderIterator.instantiate(NewLoaderIterator.java:99)
	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1048)
	at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:617)
	at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:426)
	at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:247)
	at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
	at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1569)
	at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1521)
	at org.openide.WizardDescriptor.access$1800(WizardDescriptor.java:139)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2134)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 Jesse Glick 2011-11-15 16:16:51 UTC

*** This bug has been marked as a duplicate of bug 204274 ***