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.
Test failed because error output has unexpected errors: testcase: testQuote(org.netbeans.modules.cnd.classview.QuoteTestCase): FAILED ERR Difference - check: diff /home/as204739/devarea/cnd-main/cnd.classview/build/test/unit/work/o.n.m.c.c.Q/testQuote/quote.cc.err /home/as204739/devarea/cnd-main/cnd.classview/build/test/unit/work/o.n.m.c.c.Q/testQuote/quote.cc.err.golden Beginning of diff: + java.lang.Exception: no deref object for uid[<UNNAMED CLASSIFIER UID>:KeyBasedUID on OffsDeclKey: 4[t 145-210] {/home/as204739/devarea/cnd-main/cnd.classview/build/test/unit/data/org/netbeans/modules/cnd/classview/QuoteTestCase/typedef_test.h; /home/as204739/devarea/cnd-main/cnd.classview/build/test/unit/data/org/netbeans/modules/cnd/classview/QuoteTestCaseN}] of TYPEDEF [145-210][typedef_test.h 13:1-18:3] [13:1-18:3] + at org.netbeans.modules.cnd.modelimpl.uid.UIDProviderIml.get(UIDProviderIml.java:122) + at org.netbeans.modules.cnd.modelimpl.uid.UIDProviderIml.get(UIDProviderIml.java:85) + at org.netbeans.modules.cnd.api.model.util.UIDs.get(UIDs.java:70) + at org.netbeans.modules.cnd.classview.PersistentKey.createKey(PersistentKey.java:123) + at org.netbeans.modules.cnd.classview.HostKeyArray.removeDeclaration(HostKeyArray.java:240) + at org.netbeans.modules.cnd.classview.ChildrenUpdater.update(ChildrenUpdater.java:172) + at org.netbeans.modules.cnd.classview.ChildrenUpdater.update(ChildrenUpdater.java:134) + at org.netbeans.modules.cnd.classview.BaseTestCase.modelChanged(BaseTestCase.java:142) + at org.netbeans.modules.cnd.modelimpl.csm.core.ListenersImpl.fireModelChanged(ListenersImpl.java:145) + at org.netbeans.modules.cnd.modelimpl.csm.core.Notificator.flush(Notificator.java:233) + at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.postParseNotify(FileImpl.java:726) + at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:585) + at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:148) + at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:74) + at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:92) + at java.lang.Thread.run(Thread.java:662)
confirmed
fixed: http://hg.netbeans.org/cnd-main/rev/8c6484a530f2 btw, these fails shows another problem: - due to setting to DUMMY for cache value in UID => even having in hand CsmObject the following can happen: uid = UIDs.get(decl); uid.getObject() == null it happens when physical removal was done between this lines
Integrated into 'main-golden', will be available in build *201205010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8c6484a530f2 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #211816 - Class view unit test failed after fixing bug #211804 - We only want to prevent deserialization of old state, so hold removed object till physical removal for non-null client's queries.