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 104303 - Creating "Web Project with Existing Sources" Fails
Summary: Creating "Web Project with Existing Sources" Fails
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
: 104507 104854 105432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-18 18:30 UTC by asleson
Modified: 2008-06-02 13:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project Wizard Sources Screen (46.63 KB, image/png)
2007-05-18 18:31 UTC, asleson
Details
Project Wizard Finish Screen (46.99 KB, image/png)
2007-05-18 18:32 UTC, asleson
Details
Project Wizard Finish Screen after Hang (47.53 KB, image/png)
2007-05-18 18:33 UTC, asleson
Details
Log File (29.75 KB, text/plain)
2007-05-18 18:34 UTC, asleson
Details
Thread dump taken after clicking "Finish" and Netbeans hangs and after the "Finish" button becomes enabled again (14.74 KB, text/plain)
2007-05-21 14:25 UTC, asleson
Details
Thread dump taken after clicking "Finish" and Netbeans hangs but before the "Finish" button becomes enabled again (44.43 KB, text/plain)
2007-05-21 14:33 UTC, asleson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description asleson 2007-05-18 18:30:43 UTC
NetBeans Info:

NetBeans IDE Dev (Build 200705141800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252


===============================================
===============================================

I'm running NetBeans 6.0 200705141800 so I can test out the new features on my
projects.  I'm a heavy NetBeans user so I know my way around NetBeans rather well.

I tried to re-create my project in NetBeans the same way I do in NetBeans 5.5,
by using the "Web Applicaton with Existing Sources" option.  See the attached
screenshots detailing the information I enter to setup the project.

The problem happens when I click the "Finish" button.  NetBeans starts to create
the project, but at 33% completion it hangs for a while.  Eventually the
"Finish" and "Back" buttons become enabled again, but the project wasn't created
and the progress bar stays stuck at 33%.  See attached screen shots.

I've tried this on two computers and had the same problem, in fact, I
experienced the problem with the 20070502 build too but figured it was just a
minor quirk, but now that stuff seems to be stabilizing I'm more concerned about it.

After the project creation hangs and the "Finish" button becomes enabled again,
if I click Finish it doesn't seem to do anything, but the window flashes.  One
computer seemed to flash some message about MasterFileObject@ or something like
that but I can't catch it all.

This is a major regression.  All of my work is in existing sources, so I need to
use NB's "Web App with Existing Sources" so I can run the unit tests from the
IDE and other tasks.

Please investigate.

Thank you!!!!

-Ryan
Comment 1 asleson 2007-05-18 18:31:43 UTC
Created attachment 42539 [details]
Project Wizard Sources Screen
Comment 2 asleson 2007-05-18 18:32:41 UTC
Created attachment 42540 [details]
Project Wizard Finish Screen
Comment 3 asleson 2007-05-18 18:33:21 UTC
Created attachment 42541 [details]
Project Wizard Finish Screen after Hang
Comment 4 asleson 2007-05-18 18:34:16 UTC
Created attachment 42542 [details]
Log File
Comment 5 asleson 2007-05-18 18:35:07 UTC
I attached the log file but I don't see anything obvious in it.
Comment 6 asleson 2007-05-18 18:42:46 UTC
I went to another computer and got the message I can't see on my other computer.
 After the project creation hangs and the "Finish" button becomes enabled again,
if I click Finish again it has this little message under the "Test Package
Folders" window:

[information icon] Already a project in
MasterFileObject1af14f0[C:/dev/netbeans-projects/ascend2]

I'm guessing this is caused by clicking "Finish" again and isn't the cause of
the hang in the first place, but I thought I'd throw it out there in case it helps.
Comment 7 asleson 2007-05-18 19:00:00 UTC
One other comment, I was able to create the project as a Freeform project, but
this doesn't suit my needs.
Comment 8 Radko Najman 2007-05-21 07:12:43 UTC
Could you attach a full thread dump when the IDE hangs, please?
Comment 9 asleson 2007-05-21 14:25:10 UTC
Created attachment 42598 [details]
Thread dump taken after clicking "Finish" and Netbeans hangs and after the "Finish" button becomes enabled again
Comment 10 asleson 2007-05-21 14:33:36 UTC
Created attachment 42599 [details]
Thread dump taken after clicking "Finish" and Netbeans hangs but before the "Finish" button becomes enabled again
Comment 11 asleson 2007-05-21 14:35:04 UTC
OK, I took two thread dumps.  One was taken after clicking "Finish" and NetBeans
hangs and after the "Finish" button becomes enabled again.  The other other was
taken after clicking "Finish" but before the "Finish" button becomes enabled again.

I hope this helps.  Let me know if there's anything more I can do.  

Thank you!!

Comment 12 Radko Najman 2007-05-22 16:59:02 UTC
This problem appears if Location and Project Folder are different.
Comment 13 Radko Najman 2007-05-22 17:00:22 UTC
*** Issue 104507 has been marked as a duplicate of this issue. ***
Comment 14 Radko Najman 2007-05-23 16:28:24 UTC
Fixed.

Checking in WebProjectUtilities.java;
/cvs/web/project/src/org/netbeans/modules/web/project/api/WebProjectUtilities.java,v
 <--  WebProjectUtilities.java
new revision: 1.16; previous revision: 1.15
done
Comment 15 Radko Najman 2007-06-07 09:53:12 UTC
*** Issue 105432 has been marked as a duplicate of this issue. ***
Comment 16 Radko Najman 2007-06-07 09:54:01 UTC
*** Issue 105432 has been marked as a duplicate of this issue. ***
Comment 17 Radko Najman 2007-06-07 09:54:32 UTC
*** Issue 105432 has been marked as a duplicate of this issue. ***
Comment 18 Radko Najman 2007-06-11 14:40:45 UTC
*** Issue 104854 has been marked as a duplicate of this issue. ***
Comment 19 Dan Kolar 2008-06-02 13:31:45 UTC
v.