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 53375 - Problems when checking out sample web project from CVS.
Summary: Problems when checking out sample web project from CVS.
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 18:43 UTC by Jiri Kovalsky
Modified: 2006-03-24 13:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Picture showing complete project structure after the checkout. (34.38 KB, image/jpeg)
2005-01-13 18:44 UTC, Jiri Kovalsky
Details
NPE thrown when expanding checked out project. (4.25 KB, text/plain)
2005-01-20 14:33 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2005-01-13 18:43:39 UTC
Development build #200501121900 of NetBeans 4.1
Windows XP, JDK 1.5 build #64

Description:
============
Sample web project that was created from scratch
and imported to CVS can't be opened when default
setting for checkout command is used. This happens
due to "Prune Empty Folders" option which causes
"src/java" folder not to be created. An attempt to
open such project obviously leads to NPE and
inability to do anything with the project node.

Steps to reproduce:
===================
1. Create new sample web project in CVS working
directory registered in "Versioning Manager".
2. Switch to "Files" view and run "CVS|Import" on
the project node.
3. Fill out all textfields and push "OK".
4. Close confirmation dialog.
5. Register another CVS working directory.
6. Switch to "Versioning" view and use "CVS|Check
Out" action to get project created in step 1.
7. Open the project and try to expand it. NPE will
be thrown instead and node will become empty.
Comment 1 Jiri Kovalsky 2005-01-13 18:44:29 UTC
Created attachment 19682 [details]
Picture showing complete project structure after the checkout.
Comment 2 Jiri Kovalsky 2005-01-14 09:38:49 UTC
Also please note that this scenario covers missing test subfolder.
Comment 3 Jiri Kovalsky 2005-01-20 14:33:47 UTC
Created attachment 19816 [details]
NPE thrown when expanding checked out project.
Comment 4 Andrei Badea 2005-02-25 18:59:42 UTC
Been there, done that. In other words, fixed by the fix of issue #54058.
Comment 5 Jiri Kovalsky 2005-02-28 08:10:10 UTC
Great, verified in development build #200502271900 of NetBeans 4.1.