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 240783 - Exception: Existing project unique name differ: <WRONG FILE> - expected <WRONG FILE>/L/
Summary: Exception: Existing project unique name differ: <WRONG FILE> - expected <WRON...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
: 240471 240948 241026 241296 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-21 16:01 UTC by Alexander Simon
Modified: 2014-02-12 15:32 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206804


Attachments
stacktrace (2.18 KB, text/plain)
2014-01-21 16:01 UTC, Alexander Simon
Details
stacktrace (2.18 KB, text/plain)
2014-01-29 09:16 UTC, petrk
Details
stacktrace (2.18 KB, text/plain)
2014-01-31 06:25 UTC, Exceptions Reporter
Details
IDE info+thread dump (26.42 KB, text/plain)
2014-01-31 07:10 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2014-01-21 16:01:08 UTC
This bug was originally marked as duplicate of bug 239483, 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 20140121-3acf7c11400a)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: SunOS

User Comments:
alexvsimon: open project

vv159170: reopen IDE

tbrunhoff: after creating a new c++ project from existing sources, the make eventually failed, and this exception popped up.

petrk: Opened IDE with project on remote machine




Stacktrace: 
java.lang.Exception: Existing project unique name differ: <WRONG FILE> - expected <WRONG FILE>/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:531)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.setPlatformProjectImpl(ProjectBase.java:523)
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.setPlatformProject(ProjectBase.java:511)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibProjectImpl.<init>(LibProjectImpl.java:187)
Comment 1 Alexander Simon 2014-01-21 16:01:10 UTC
Created attachment 144218 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-01-22 01:12:54 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=206804
Comment 3 petrk 2014-01-29 09:16:13 UTC
Created attachment 144509 [details]
stacktrace

Included boost/lexical_cast.hpp into main.cpp
Comment 4 Exceptions Reporter 2014-01-31 06:25:14 UTC
Created attachment 144614 [details]
stacktrace

?
Comment 5 Alexander Simon 2014-01-31 07:10:34 UTC
Created attachment 144615 [details]
IDE info+thread dump

Point where storage starts to be broken
Comment 6 Maria Tishkova 2014-02-10 10:55:31 UTC
*** Bug 241296 has been marked as a duplicate of this bug. ***
Comment 7 Maria Tishkova 2014-02-10 10:55:34 UTC
*** Bug 240471 has been marked as a duplicate of this bug. ***
Comment 8 Maria Tishkova 2014-02-11 13:16:33 UTC
fixed in http://hg.netbeans.org/cnd-main/rev/0683f7d8b85c


FilesPathDictionary will be put the Writer queue once it is changed, therefore we garantee that if unit is opened implicitly
and new file is registered it will be stored on disk.
Comment 9 Maria Tishkova 2014-02-11 13:31:42 UTC
*** Bug 240948 has been marked as a duplicate of this bug. ***
Comment 10 Quality Engineering 2014-02-12 02:41:46 UTC
Integrated into 'main-silver', will be available in build *201402120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0683f7d8b85c
User: Maria Dalmatova <mromashova@netbeans.org>
Log: fixed bz#240783 Exception: Existing project unique name differ: <WRONG FILE> - expected <WRONG FILE>/L/
FilesPathDictionary will be put the Writer queue once it is changed, therefore we garantee that if unit is opened implicitly
and new file is registered it will be stored on disk.
repository version is incremented
repository.api module spec version is incremented
Comment 11 Maria Tishkova 2014-02-12 15:32:30 UTC
*** Bug 241026 has been marked as a duplicate of this bug. ***