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.
I've just started the Feedreader tutorial at http://platform.netbeans.org/tutorials/nbm-feedreader.html One of the first things it asks you to do it to run the demo Feedreader which ships with NetBeans. Unfortunately, this demo seems to be broken. I select File/New Project and then Samples/NetBeans Plug-in modules. I then select the FeedReader target and create a new project. During the creation process, the following error is reported. Strangely, this only happens when path I wish to place my project in initially does not exist. That is, on the second page of the wizard where I'm asked to select the Project Location, I click the Browse button and the browse dialog comes up. I navigate to c:/dev/cvs.kitfox.com and then click the new file folder button to create a new file folder. I name this new folder 'feedreader'. I then continue with no other alterations to the wizard. This will cause the error. If I try to create my new project after creating the 'feedreader' directory via the Windows filesystem explorer, no error occurs. java.lang.NullPointerException at org.netbeans.modules.apisupport.project.Util.findSubElements(Util.java:122) at org.netbeans.modules.apisupport.project.NbModuleProject.computeModuleClasspath(NbModuleProject.java:504) at org.netbeans.modules.apisupport.project.NbModuleProject.access$300(NbModuleProject.java:93) at org.netbeans.modules.apisupport.project.NbModuleProject$1Provider.maybeFireChange(NbModuleProject.java:462) at org.netbeans.modules.apisupport.project.NbModuleProject$1Provider.configurationXmlChanged(NbModuleProject.java:481) at org.netbeans.spi.project.support.ant.AntProjectHelper$6.run(AntProjectHelper.java:443) at org.openide.util.Mutex.readAccess(Mutex.java:195) at org.netbeans.spi.project.support.ant.AntProjectHelper.fireChange(AntProjectHelper.java:438) at org.netbeans.spi.project.support.ant.AntProjectHelper.access$900(AntProjectHelper.java:64) at org.netbeans.spi.project.support.ant.AntProjectHelper$4.run(AntProjectHelper.java:401) at org.openide.util.Mutex.readAccess(Mutex.java:195) at org.netbeans.spi.project.support.ant.AntProjectHelper$5.run(AntProjectHelper.java:415) at org.openide.util.Task.run(Task.java:207) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Created attachment 26944 [details] NB log file
Unreproducible on Linux. Tomasi could you help with reproducing on Windows?
I cannot reproduce it either on Windows with trunk build of 2005-11-13 sources. I tried the scenario exatly as described including the 'cvs.kitfox.com' directory name, which I suspected to be a potential cause to the problem. Note that the user is using Beta 1. Many bugs have been fixed since then. Works for me. Please try with a recent build, or Beta 2 (coming soon) and reopen, if you still experience the problem. Thanks.
Not reproducibe for me even with beta sources:( May be caused by messed up userdir or whatever. Please dowload latest stable verision - Beta 2 - already availble on netbeans.org. Anyway, thanks for report! Closing