Bug 98591 - AssertionError: no object for UID KeyBasedUID on FileKey
AssertionError: no object for UID KeyBasedUID on FileKey
Status: CLOSED FIXED
Product: cnd
Classification: Unclassified
Component: -- Other --
5.x
All All
: P1 (vote)
: 6.x
Assigned To: Vladimir Voskresensky
issues@cnd
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-22 05:35 UTC by Thomas Preisler
Modified: 2007-12-14 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2007-03-22 05:35:26 UTC
> I'm seeing this assertion error every time I try to delete (not remove) a file
in a project:
>
> java.lang.AssertionError: no object for UID KeyBasedUID on FileKey (Welcome,
/home/thp/SunStudioProjects/Welcome/welcome_1.cc)
>     at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase._getFile(OffsetableBase.java:144)
>     at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getContainingFile(OffsetableBase.java:134)
>     at
org.netbeans.modules.cnd.modelimpl.csm.core.Notificator.gatherProjects(Notificator.java:210)
>     at
org.netbeans.modules.cnd.modelimpl.csm.core.Notificator.flush(Notificator.java:184)
>     at
org.netbeans.modules.cnd.modelimpl.csm.core.ProjectImpl.onFileRemoved(ProjectImpl.java:166)
>     at
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.onProjectItemRemoved(ModelSupport.java:235)
>     at
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$1.fileRemoved(ModelSupport.java:156)
>     at
org.netbeans.modules.cnd.makeproject.NativeProjectProvider.fireFilesRemoved(NativeProjectProvider.java:183)
>     at
org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.fireFilesRemoved(MakeConfigurationDescriptor.java:315)
>     at
org.netbeans.modules.cnd.makeproject.api.configurations.Folder.removeItemAction(Folder.java:267)
>     at
org.netbeans.modules.cnd.makeproject.api.configurations.Item.propertyChange(Item.java:175)
>     at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
>     at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
>     at org.openide.loaders.DataObject.firePropertyChange(DataObject.java:828)
>     at org.openide.loaders.DataObject.delete(DataObject.java:552)
Comment 1 Thomas Preisler 2007-03-22 05:38:55 UTC
It happens when deleting AND removing a file from a project.
Comment 2 Vladimir Voskresensky 2007-03-22 19:17:06 UTC
fixed:
- use hard container references


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo