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 128500 - Wizard for wizards is not finishable - FNFE in log
Summary: Wizard for wizards is not finishable - FNFE in log
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-02-26 21:08 UTC by Tomas Danek
Modified: 2008-02-27 17:27 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 Tomas Danek 2008-02-26 21:08:02 UTC
Product Version: NetBeans IDE Dev (Build 200802251204)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
Userdir: /tmp/ud
-------------
- created new standalone module
- created new wizard from template
- selected "New file" type, 1 step, filled in other info
- wizard was not finishable, in log was this FNFE...however, was not able to reproduce again. Feel free to close if FNFE
does not point at problem in .

java.io.FileNotFoundException:
        at
org.netbeans.modules.apisupport.project.layers.WritableXMLFileSystem.createFileOrFolder(WritableXMLFileSystem.java:424)
        at org.netbeans.modules.apisupport.project.layers.WritableXMLFileSystem.createFolder(WritableXMLFileSystem.java:438)
        at org.openide.filesystems.AbstractFileObject.createFolder(AbstractFileObject.java:405)
        at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:459)
        at org.openide.filesystems.FileUtil.createData(FileUtil.java:520)
        at
org.netbeans.modules.apisupport.project.CreatedModifiedFilesFactory$CreateLayerEntry$1.run(CreatedModifiedFilesFactory.java:514)
        at
org.netbeans.modules.apisupport.project.CreatedModifiedFilesFactory$LayerModifications.run(CreatedModifiedFilesFactory.java:601)
        at
org.netbeans.modules.apisupport.project.CreatedModifiedFilesFactory$CreateLayerEntry.run(CreatedModifiedFilesFactory.java:579)
        at org.netbeans.modules.apisupport.project.CreatedModifiedFiles.run(CreatedModifiedFiles.java:180)
        at org.netbeans.modules.apisupport.project.ui.wizard.wizard.NewWizardIterator.instantiate(NewWizardIterator.java:67)
        at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1025)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:595)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:416)
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
        at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:161)
        at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1387)
        at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1341)
        at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:119)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1908)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Jesse Glick 2008-02-27 17:27:36 UTC
Don't know. getRootElement() is returning null, meaning something is corrupt. Don't know how to reproduce or what might
have caused it.