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 124450 - AssertionError: empty project for UID KeyBasedUID on ProjectKey /export/NB/Quote_1_1N
Summary: AssertionError: empty project for UID KeyBasedUID on ProjectKey /export/NB/Qu...
Status: CLOSED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Kvashin
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 127727
Blocks:
  Show dependency tree
 
Reported: 2007-12-26 09:26 UTC by soldatov
Modified: 2008-03-26 14:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 17344


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2007-12-26 09:26:20 UTC
Build: NetBeans IDE Dev (Build 200712260000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.5-7.244-smp, i386
User comments: When I verified issue 89842, then this exception appears 2 times
STACKTRACE: (first 10 lines)
java.lang.AssertionError: empty project for UID KeyBasedUID on ProjectKey /export/NB/Quote_1_1N
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._getProject(FileImpl.java:183)
        at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.getProject(FileImpl.java:736)
        at org.netbeans.modules.cnd.modelimpl.csm.core.Notificator.gatherProjects(Notificator.java:239)
        at org.netbeans.modules.cnd.modelimpl.csm.core.Notificator.flush(Notificator.java:224)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.onFileRemoved(ProjectImpl.java:183)
        at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.onFileRemoved(ProjectBase.java:1022)
        at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.onProjectItemRemoved(ModelSupport.java:345)
        at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$3.fileRemoved(ModelSupport.java:242)
        at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.fireFilesRemoved(NativeProjectProvider.java:268)
        at
org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.fireFilesRemoved(MakeConfigurationDescriptor.java:378)
Comment 1 soldatov 2007-12-26 09:32:20 UTC
Scenario:
1) Create C/C++ project
2) Add into project ~30 files
3) Copy project
4) Select ~30 files and press 'Del' key on keyboard
5) Repeat 3)-5) steps
==> Sometimes this exception appears
Comment 2 Vladimir Kvashin 2008-03-20 14:16:49 UTC
Valery, I failed to repeat this.
Can you reproduce the situation?
Comment 3 soldatov 2008-03-20 14:29:15 UTC
No, I cannot reproduce this bug also
Comment 4 Vladimir Kvashin 2008-03-20 16:26:03 UTC
Does not repeat.
Comment 5 soldatov 2008-03-26 14:26:41 UTC
verified in 200803251204 build