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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: joxaren: Running MacOSX 10.5.5 with Java 5. Following the Paint appication wizard. During step 4 (see below, Name, Icon and Location Panel) the wizard behaves strangly and end up with the above exception. 1. In the Projects window, right-click the Paint module's project node and choose New > Other. In the New File wizard, choose Module Development under Categories and Action under File Types. Click Next. 2. In the Action Type panel, accept the defaults. Click Next. 3. In the GUI Registration panel, select Global Menu Item, and select Global Toolbar Button. Set the following values: Category: Edit Menu: File Position: Anywhere you want it to be! Toolbar: File Position: Anywhere you want it to be! Note: Where you position the action is not important, as long as it is in the File menu and in the File toolbar. You should now see the following: Click Next. 4. In the Name, Icon, and Location panel, type NewCanvasAction in Class Name and type New Canvas in Display Name. In Icon, browse to this icon Stacktrace: java.lang.IllegalArgumentException: Tried to pass null fo arg at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1234) at org.netbeans.modules.apisupport.project.ui.wizard.BasicWizardIterator$BasicDataModel.addCreateIconOperation(BasicWizardIterator.java:223) at org.netbeans.modules.apisupport.project.ui.wizard.action.DataModel.regenerate(DataModel.java:226) at org.netbeans.modules.apisupport.project.ui.wizard.action.DataModel.getCreatedModifiedFiles(DataModel.java:351) at org.netbeans.modules.apisupport.project.ui.wizard.action.NameIconLocationPanel.checkValidity(NameIconLocationPanel.java:163) at org.netbeans.modules.apisupport.project.ui.wizard.action.NameIconLocationPanel.updateData(NameIconLocationPanel.java:130)
Created attachment 75062 [details] stacktrace
fixed in core-main #ec462531d893
Integrated into 'main-golden', will be available in build *200904150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ec462531d893 User: Richard Michalsky <rmichalsky@netbeans.org> Log: #155618: test if FileObject for chosen icon is available