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 105432 - cannot create web with existing sources project - "can not find web pages"
Summary: cannot create web with existing sources project - "can not find web pages"
Status: VERIFIED DUPLICATE of bug 104303
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 20:24 UTC by wqtnetbeans
Modified: 2008-06-02 13:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error log (78.46 KB, text/plain)
2007-06-01 20:26 UTC, wqtnetbeans
Details
web project structure (108.24 KB, image/jpeg)
2007-06-05 16:29 UTC, wqtnetbeans
Details
error screen shot (80.07 KB, image/jpeg)
2007-06-07 05:43 UTC, wqtnetbeans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wqtnetbeans 2007-06-01 20:24:37 UTC
6.0 M9

Trying to create "web with existing sources" project. IDE says "can not find web
pages" while the web page folder exists and has no problem. (Same setup works
for 5.5.1)

Automatic exception reporter takes me to bugzilla main page, instead of filing
the error automatically.

Attaching log file....
Comment 1 wqtnetbeans 2007-06-01 20:26:44 UTC
Created attachment 43132 [details]
error log
Comment 2 Petr Pisl 2007-06-05 14:04:48 UTC
Radko, probably it's caused with your changes.
Comment 3 Radko Najman 2007-06-05 15:16:12 UTC
I cannot reproduce the problem with a few different source structures. Could you
provide your source structure, please? Or add more info how to reproduce it? Was
your web pages location set correctly in the wizard?

In the log file I can see a NPE related to the JSF framework but this NPE has
nothing to do with Web Application with Existing Sources wizard so you had to do
something else when this exception was thrown, probably working with project
properties.
Comment 4 wqtnetbeans 2007-06-05 16:27:50 UTC
Hi,

I am attaching the screen shot that show the existing web project structure. The
project is created by IBM RAD, pretty standard web project setup. I took the
shot from NB5.5.1, where I have no problem creating a "web project with existing
sources". But when I try the same thing with 6.0M9, problem occurs.

Comment 5 wqtnetbeans 2007-06-05 16:29:14 UTC
Created attachment 43246 [details]
web project structure
Comment 6 Radko Najman 2007-06-06 15:24:03 UTC
Could you be more specific with the error message, please? There is no error
message saying "can not find web pages", what's the exact wording? Is the error
message shown in the wizard (on which panel), is error window opened or is it
shown in the console window? How did you set the folder locations in both
wizard's panels?
Comment 7 wqtnetbeans 2007-06-07 05:41:21 UTC
Sorry for not being clear. Here are the steps to reproduce:

1. Checkout from svn the existing source folder as in the attachment image.
2. New project -> Web with existing sources
3. Give the checkout folder in step 1 as the "Location"
4. Provide "project name", and "project folder" somewhere outside the checkout
folder (I am using C:\temp\web); and select "j2ee 1.4" as the source level.
5. Click "next", the IDE automatically recognize the "Web page folder", "WEB-INF
content", "Libraries folder", and "Source package folders" to be the correct
locations within the checkout folder.
6. Click "finish". The "finish" button becomes grayed out, and IDE shows
"creating new project" bar, but stays as 33% for a long time. And then "Finish"
button becomes clickable again, but progress bar still stays 33%.
7. Click "finish" again. An error message appears in the wizard window "Already
a project in MasterFileObject@1ad734[C:/temp/web]".
8. Click "finish" again. Same error, progress bar stays at 33%.
9. Click "Cancel" to dismiss the wizard window.
10. Click "open project" button, and try to open "C:/temp/web". Now I get the
"web: Cannot find the web pages folder" error.

I am attaching the error screen shot. Again, sorry for not being clear earlier.
Comment 8 wqtnetbeans 2007-06-07 05:43:37 UTC
Created attachment 43351 [details]
error screen shot
Comment 9 Radko Najman 2007-06-07 09:54:14 UTC
Thanks for the steps to reproduce. It is a duplicate of issue #104303 which has
been already fixed. You can try to use any NetBeans daily build after May 23.

*** This issue has been marked as a duplicate of 104303 ***
Comment 10 Radko Najman 2007-06-07 09:54:33 UTC
Thanks for the steps to reproduce. It is a duplicate of issue #104303 which has
been already fixed. You can try to use any NetBeans daily build after May 23.

*** This issue has been marked as a duplicate of 104303 ***
Comment 11 Dan Kolar 2008-06-02 13:30:41 UTC
v.