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 123392 - UML Sample wizard sticks after Finish is clicked
Summary: UML Sample wizard sticks after Finish is clicked
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sergey Petrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks: 119148
  Show dependency tree
 
Reported: 2007-12-04 20:44 UTC by Craig Conover
Modified: 2009-10-10 17:17 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 12950


Attachments
stacktrace (5.47 KB, text/plain)
2007-12-04 20:44 UTC, Craig Conover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Conover 2007-12-04 20:44:10 UTC
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.
Comment 1 Craig Conover 2007-12-04 20:44:15 UTC
Created attachment 53872 [details]
stacktrace
Comment 2 Craig Conover 2007-12-04 21:48:30 UTC
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".
Comment 3 Craig Conover 2007-12-04 21:50:29 UTC
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.
Comment 4 Joanne Lau 2008-01-24 18:11:06 UTC
Verified in 6.1 M1 build 200801222102
Comment 5 Exceptions Reporter 2008-10-09 03:12:46 UTC
Reopening - reproduced in NetBeans IDE 6.5 Beta (Build 200808111757)
http://statistics.netbeans.org/exceptions/detail.do?id=125242
Comment 6 George Vasick 2008-10-09 16:47:56 UTC
Unable to reproduce in current daily builds.  Please provide steps to reproduce.

Also, lowering priority to P3.
Comment 7 Exceptions Reporter 2008-10-20 08:21:14 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=12950
Comment 8 Sergey Petrov 2008-11-25 18:17:32 UTC
a lot of duplicates, will try this one, may be it's related to some access permission problem.
Comment 9 Sergey Petrov 2008-12-16 17:07:47 UTC
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.
Comment 10 Sergey Petrov 2008-12-16 18:44:17 UTC
cda298e9fe35 - some work in order to get more info
Comment 11 Sergey Petrov 2008-12-17 14:51:10 UTC
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.
Comment 12 Quality Engineering 2008-12-22 15:12:43 UTC
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.
Comment 13 Sergey Petrov 2009-01-30 16:43:30 UTC
It's good if anybody who have this problem constantly in 6.5 can try 7.0 daily, thanks.
Comment 14 Sergey Petrov 2009-01-30 16:45:22 UTC
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.