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

Summary: creating project with existing code caused org.netbeans.api.mdr.CreationFailedException
Product: java Reporter: blackwindds <blackwindds>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: error log created after the exception.

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.