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.
Steps: - Install 050707 build - Delete '/tmp/repository-caches' directory (I verified on linux) - Run Netbeans with fresh user dir - Create Quote project - Open quote.cc file ==> Quick Navigator, Class View and Navigator are empty. Code Completion returns "No suggestions". Exceptions on all hyperlinks.
Created attachment 44730 [details] My messages.log file
I'd like to mention that now code model persistence resides at the different place (due to #108726, persistence storage now does not have common root within /var/tmp). So now code model persistence resides at /var/tmp/${USER}-0-repository-caches Sp this directory, not '/tmp/repository-caches' should be cleaned. (Yes, IDE should clean it up itself in the case of the previous session abnormal termination - see the issue #108883; but this hasn't been fixed yet).
With empty persistence storage IDE works OK. But on subsequent restart exception occures and code model features do not work: java.lang.AssertionError: no file for UID KeyBasedUID on FileKey (/home/vk155633/SunStudioProjects/iz108921, /home/vk155633/SunStudioProjects/iz108921/file_1.cc) at org.netbeans.modules.cnd.modelimpl.csm.core.FileContainer.getFile(FileContainer.java:127) at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getFile(ProjectBase.java:982) at org.netbeans.modules.cnd.modelimpl.platform.CppUpToDateStatusProvider.getCsmFile(CppUpToDateStatusProvider.java:79) at org.netbeans.modules.cnd.modelimpl.platform.CppUpToDateStatusProvider.projectOpened(CppUpToDateStatusProvider.java:184) at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.fireProjectOpened(ModelImpl.java:379) at org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.addProject(ModelImpl.java:205) at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.addProject(ModelSupport.java:479) at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.openProjects(ModelSupport.java:174) at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.propertyChange(ModelSupport.java:147) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.propertyChange(OpenProjectsTrampolineImpl.java:81) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.project.ui.OpenProjectList$2.run(OpenProjectList.java:327) at org.openide.util.Mutex$1.run(Mutex.java:1194) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1039) at java.awt.Dialog$3.run(Dialog.java:1091) ...
Fixed: Checking in RepositoryWritingThread.java; /shared/data/ccvs/repository/cnd/repository/src/org/netbeans/modules/cnd/repository/queue/RepositoryWritingThread.java,v <-- RepositoryWritingThread.java new revision: 1.1.2.10.4.8; previous revision: 1.1.2.10.4.7 done
Fixed
verified with 5.5.1u1