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 50179 - creating project with existing code caused org.netbeans.api.mdr.CreationFailedException
Summary: creating project with existing code caused org.netbeans.api.mdr.CreationFaile...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 18:40 UTC by blackwindds
Modified: 2004-10-14 09:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error log created after the exception. (60.66 KB, text/plain)
2004-10-08 18:43 UTC, blackwindds
Details

Note You need to log in before you can comment on or make changes to this bug.
Description blackwindds 2004-10-08 18:40:40 UTC
There was existing code base, and I wanted to use 
NetBeans 4.0 test whether I could integrate it 
with the existing code.  

After creating a new project for netbeans (with 
project directory and source directory in 
completely different folders but within the same 
drive), I assigned library and compiler which are 
yet in completely different directories but the 
same drive.  Then, I clicked "apply" button to 
get the error dialog box.
Comment 1 blackwindds 2004-10-08 18:43:20 UTC
Created attachment 18172 [details]
error log created after the exception.
Comment 2 Martin Matula 2004-10-11 10:47:31 UTC

*** This issue has been marked as a duplicate of 50134 ***
Comment 3 Tomas Zezula 2004-10-14 09:32:05 UTC
THis issue is not a duplicate of issue 50314
Comment 4 Martin Matula 2004-10-14 09:44:56 UTC
You are right. This problem seems to be caused by a bug in MDR caches
we had in beta 2. This bug resulted in a severe metadata repository
corruption. To recover, one needs to shutdown netbeans and delete
var/cache/mdrstorage directory from NB user directory. This bug was
fixed several weeks ago, so this should no longer happen in daily builds.