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.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.5.0_13-b05 OS: Windows Vista, 6.0, x86 User Comments: Creating the UML Sample app. Clicked the Finish button and the wizard panel did not go away.
Created attachment 53872 [details] stacktrace
When the Java sample project is unzipped, it needs to be renamed using the name the user entered into the wizard. It seems that sometimes (not sure why) the Java project is not renamed properly. Sometimes this results in everything being created but the Java project displays the name "???" as if the display name property was never properly replaced with the entered Java project name. Other times, the Java project FileObject instance is not found and therefore, the JavaProject instance is null and this leads to the actual NPE in the stack trace when the source root folders are being sought with a "lookup".
WORKAROUND: Still not sure exactly how things get into this state, but deleting the contents of the IDE's userdir or just forcing it to use a different userdir puts things back into a state where the UML Sample app works properly.
Verified in 6.1 M1 build 200801222102
Reopening - reproduced in NetBeans IDE 6.5 Beta (Build 200808111757) http://statistics.netbeans.org/exceptions/detail.do?id=125242
Unable to reproduce in current daily builds. Please provide steps to reproduce. Also, lowering priority to P3.
This issue has already 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=12950
a lot of duplicates, will try this one, may be it's related to some access permission problem.
Can anybody attach message.log? it may contain some additional data. I can't reproduce ??? or any problem. Going to add some logging here, hope this will help in future. Is it reproducible on fresh install with new user dir, what path/name is used for project.
cda298e9fe35 - some work in order to get more info
fix of issue http://www.netbeans.org/issues/show_bug.cgi?id=155665 may fix this one also. xml handling is changed to Document handling and also switch to FileObject usage for project.xml. if no duplcates will be filed after 7.0m2 may be considered as fixed.
Integrated into 'main-golden', will be available in build *200812221122* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cda298e9fe35 User: sergeyp@netbeans.org Log: fix #123392 - logging, line separation to get more info. reformat File building, so it may help also.
It's good if anybody who have this problem constantly in 6.5 can try 7.0 daily, thanks.
mark as fixed, this way it will be easier to track if someone will got this exception in nb7 becuase issue will be automatically reopened.