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 244609

Summary: Repository issue [Exception: Existing project unique name differ: /home/toddb/src/srcapp/libmapi/omneon/director/host/include/L/ - expected /opt/omneon/cross_x86_64_v6g/include/L/]
Product: cnd Reporter: tbrunhoff <tbrunhoff>
Component: Code ModelAssignee: Maria Tishkova <mromashova>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon, aravindhand, areeda, VaderZ, vkvashin
Priority: P2    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209840
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description tbrunhoff 2014-05-20 19:15:48 UTC
This bug was originally marked as duplicate of bug 241559, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201405200001)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
tbrunhoff: starting ide

tbrunhoff: reparse project (very big tree of sources)

GUEST: Clicked on Code Assistance - Reparse project for C++ project

GUEST: I closed a remote project!

GUEST: na

tbrunhoff: opening a set of projects

aravindhand: When I try to open a Recent Project, this problem occured

GUEST: opened file form Files window.

GUEST: Opened a Project

GUEST: restarted NetBeans with 5 open C++ projects

areeda: Several projects were opened last time I quit.  These were upgraded from 7.4.

NB was opened and left to do it's scanning while I read email.  When I came back exception was listed.  No interaction by me.

tbrunhoff: nothing.

GUEST: na




Stacktrace: 
java.lang.Exception: Existing project unique name differ: /home/toddb/src/srcapp/libmapi/omneon/director/host/include/L/ - expected /opt/omneon/cross_x86_64_v6g/include/L/
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:200)
   at org.netbeans.modules.cnd.utils.CndUtils.assertTrue(CndUtils.java:185)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.checkUniqueNameConsistency(ProjectBase.java:541)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.write(ProjectBase.java:3669)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibProjectImpl.write(LibProjectImpl.java:178)
   at org.netbeans.modules.cnd.repository.support.AbstractObjectFactory.writeSelfPersistent(AbstractObjectFactory.java:69)
Comment 1 tbrunhoff 2014-05-20 19:15:51 UTC
Created attachment 147349 [details]
stacktrace
Comment 2 tbrunhoff 2014-05-20 19:19:32 UTC
After removing ~/.cache/netbeans/dev/cnd/model and restarting the ide, there were no more exceptions (so far).
Comment 3 Alexander Simon 2014-05-23 09:25:11 UTC
Created attachment 147402 [details]
stacktrace

close project
Comment 4 Vladimir Kvashin 2014-07-25 15:46:42 UTC
Created attachment 148329 [details]
stacktrace

I experimtented with stand-alone local c++ file.
At some moment I renamed it from llocal_test.cc to local_test
Then I made some modifications
At some monent exception occurred
Comment 5 Exceptions Reporter 2014-08-18 21:40:51 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=209840
Comment 6 Alexander Simon 2014-08-22 07:10:54 UTC
Created attachment 148833 [details]
stacktrace

create-delete-create welcome sample
Comment 7 Quality Engineering 2014-08-23 04:54:25 UTC
Integrated into 'main-silver', will be available in build *201408230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/50d51cbcfd3e
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 244609 - Exception: Existing project unique name differ: /home/toddb/src/srcapp/libmapi/omneon/director/host/include/L/ - expected /opt/omneon/cross_x86_64_v6g/include/L/
- attempt to fix exception from report 734495. The exception was reproduced when ample project created-deleted-created.
Fix separated project close action and project delete action. On project delete action code model cache is deleted now.
Comment 8 Quality Engineering 2014-09-17 12:14:47 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/d781b5b60367
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 244609 - Exception: Existing project unique name differ: /home/toddb/src/srcapp/libmapi/omneon/director/host/include/L/ - expected /opt/omneon/cross_x86_64_v6g/include/L/
- attempt to fix exception from report 734495. The exception was reproduced when ample project created-deleted-created.
Fix separated project close action and project delete action. On project delete action code model cache is deleted now.
(transplanted from 50d51cbcfd3ea2eb980463ae8bba307a649c65d5)
Comment 9 Vladimir Kvashin 2014-09-24 06:04:54 UTC
Created attachment 149480 [details]
stacktrace

Started IDE, previously opened projects appeared, I closed them
I'm not sure on which stage aexception appeared
Comment 10 petrk 2014-11-21 11:36:21 UTC
*** Bug 244605 has been marked as a duplicate of this bug. ***
Comment 11 Maria Tishkova 2014-12-16 14:28:39 UTC
See all fixes of bz#243240