Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 196523 - Persistence broken due to unsymmetrical read/write
Persistence broken due to unsymmetrical read/write
Product: cnd
Classification: Unclassified
Component: Code Model
PC Linux
: P1 (vote)
: 7.0
Assigned To: Alexander Simon
Depends on:
  Show dependency treegraph
Reported: 2011-03-09 21:25 UTC by Alexander Simon
Modified: 2011-03-18 12:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2011-03-09 21:25:44 UTC
At least one class have such defect:
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(
	at org.netbeans.modules.cnd.modelimpl.uid.UIDObjectFactory.readUID(
	at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.<init>(
	at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableIdentifiableBase.<init>(
	at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.<init>(
	at org.netbeans.modules.cnd.modelimpl.csm.FunctionInstantiationImpl.<init>(
	at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.createObject(
	at org.netbeans.modules.cnd.repository.disk.UnitImpl.get(
	at org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.get(
	at org.netbeans.modules.cnd.repository.impl.DelegateRepository.get(
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(
	at org.netbeans.modules.cnd.modelimpl.uid.UIDUtilities$CachedUID.getObject(
	at org.netbeans.modules.cnd.modelimpl.uid.UIDProviderIml.get(
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.put(
	at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.postObjectCreateRegistration(
	at org.netbeans.modules.cnd.modelimpl.csm.FunctionInstantiationImpl.create(
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(
	at org.netbeans.modules.cnd.modelimpl.parser.ParserProviderImpl$Antlr2CppParser.render(
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$
	at org.openide.util.RequestProcessor$
	at org.openide.util.RequestProcessor$
Comment 1 Alexander Simon 2011-03-09 22:23:56 UTC
fixing, change set:
Comment 2 Quality Engineering 2011-03-10 09:36:28 UTC
Integrated into 'main-golden', will be available in build *201103100400* on (upload may still be in progress)
User: Alexander Simon <>
Log: fixed Bug #196523 Persistence broken due to unsymmetrical read/write
Comment 3 Alexander Simon 2011-03-10 10:59:23 UTC
QA, please, verify fix
Comment 4 Vladimir Voskresensky 2011-03-11 13:49:27 UTC
fix is OK
Comment 5 Alexander Pepin 2011-03-14 18:05:49 UTC
How to verify the fix?
Comment 6 Alexander Simon 2011-03-14 19:14:18 UTC
To verify bug try to open file:
This file contains FunctionInstantiationImpl.
Reopen IDE should not reparse project, no error in log.
Comment 7 soldatov 2011-03-15 13:50:45 UTC
Verified in dev build
Comment 8 Alexander Simon 2011-03-16 07:33:07 UTC
integrated in release70, change set:
Comment 9 soldatov 2011-03-18 12:36:17 UTC
Verified in NetBeans IDE 7.0 RC1 (Build 201103180000)

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