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.
At least one class have such defect: FunctionInstantiationImp P1 because CND persistence broken. See exception: java.lang.IllegalArgumentException: The UID is an instance of unknown class: 25971 at org.netbeans.modules.cnd.modelimpl.uid.UIDObjectFactory.createObject(UIDObjectFactory.java:498) at org.netbeans.modules.cnd.repository.support.AbstractObjectFactory.readSelfPersistent(AbstractObjectFactory.java:78) at org.netbeans.modules.cnd.modelimpl.uid.UIDObjectFactory.readUID(UIDObjectFactory.java:136) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.<init>(OffsetableBase.java:178) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableIdentifiableBase.<init>(OffsetableIdentifiableBase.java:121) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.<init>(OffsetableDeclarationBase.java:261) at org.netbeans.modules.cnd.modelimpl.csm.FunctionInstantiationImpl.<init>(FunctionInstantiationImpl.java:199) at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.createObject(CsmObjectFactory.java:418) at org.netbeans.modules.cnd.repository.support.AbstractObjectFactory.readSelfPersistent(AbstractObjectFactory.java:78) at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.read(CsmObjectFactory.java:577) at org.netbeans.modules.cnd.repository.sfs.BufferedRWAccess.read(BufferedRWAccess.java:108) at org.netbeans.modules.cnd.repository.sfs.IndexedStorageFile.read(IndexedStorageFile.java:139) at org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage.read(DoubleFileStorage.java:135) at org.netbeans.modules.cnd.repository.disk.UnitImpl.get(UnitImpl.java:119) at org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.get(DiskRepositoryManager.java:200) at org.netbeans.modules.cnd.repository.impl.DelegateRepository.get(DelegateRepository.java:82) at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:127) at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:99) at org.netbeans.modules.cnd.modelimpl.uid.UIDUtilities$CachedUID.getObject(UIDUtilities.java:445) at org.netbeans.modules.cnd.modelimpl.uid.UIDProviderIml.get(UIDProviderIml.java:96) at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.put(RepositoryUtils.java:177) at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.postObjectCreateRegistration(OffsetableDeclarationBase.java:291) at org.netbeans.modules.cnd.modelimpl.csm.FunctionInstantiationImpl.create(FunctionInstantiationImpl.java:86) at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:152) at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:91) at org.netbeans.modules.cnd.modelimpl.parser.ParserProviderImpl$Antlr2CppParser.render(ParserProviderImpl.java:156) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:722) at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:539) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:130) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:72) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:91) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
fixing, change set: http://hg.netbeans.org/cnd-main/rev/9c944a9406ce
Integrated into 'main-golden', will be available in build *201103100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9c944a9406ce User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #196523 Persistence broken due to unsymmetrical read/write
QA, please, verify fix
fix is OK
How to verify the fix?
To verify bug try to open file: boost_1_43_0/libs/program_options/src/parsers.cpp This file contains FunctionInstantiationImpl. Reopen IDE should not reparse project, no error in log.
Verified in dev build
integrated in release70, change set: http://hg.netbeans.org/releases/rev/b7de086ff3f2
Verified in NetBeans IDE 7.0 RC1 (Build 201103180000)