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 68700 - Default Feedreader project is invalid
Summary: Default Feedreader project is invalid
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-15 06:08 UTC by kitfox
Modified: 2005-11-24 10:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NB log file (45.27 KB, text/plain)
2005-11-15 06:09 UTC, kitfox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kitfox 2005-11-15 06:08:49 UTC
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)
Comment 1 kitfox 2005-11-15 06:09:26 UTC
Created attachment 26944 [details]
NB log file
Comment 2 Martin Krauskopf 2005-11-15 15:56:43 UTC
Unreproducible on Linux. Tomasi could you help with reproducing on Windows?
Comment 3 Jan Chalupa 2005-11-16 08:48:58 UTC
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.
Comment 4 Tomas Danek 2005-11-24 10:59:05 UTC
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