Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Showing Type Hierarchy throws CompositingNotImplementedError

nightly build from 25th fixed it for me

 

On Tuesday 24 Sep 2013 22:49:24 Jacek Sieka wrote:

> Yes, I ran under the debugger and set a breakpoint for when that

> particular exception is thrown.

>

> I don't remember the details now, but I'm (wildly) guessing from the

> name the CompositeIndex is something that is created when one project

> is referencing another and the template aliases in this case somehow

> cross project borders.

>

> Regards,

> Jacek

>

> On Tue, Sep 24, 2013 at 10:40 PM, scalpel4k <scalpel4k@xxxxxxxxx> wrote:

> > many thanks Jacek,

> >

> >

> >

> > at first glance I thought that's it. But I then tried to remove all template

> > aliases and ended up with the same problem.

> >

> > I also have other classes with template aliases and they work smoothly.

> >

> >

> >

> > Did you have to run eclipse under a debugger to find out about

> > CPPAliasTemplateInstance ?

> >

> >

> >

> > thx Michi

> >

> >

> >

> > On Tuesday 24 Sep 2013 22:01:40 Jacek Sieka wrote:

> >

> >> This looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=414450 -

> >

> >> I've been hitting that one very often in different places ever since I

> >

> >> upgraded to gcc 4.8 (and the libstdc++ that comes with it).

> >

> >>

> >

> >> Root cause in that case is that getCompositeType is not implemented

> >

> >> for CPPAliasTemplateInstance - hopefully someone knowledgeable about

> >

> >> composite indexes will know what to do about it ;)

> >

> >>

> >

> >> Kind Regards,

> >

> >> Jacek

> >

> >>

> >

> >>

> >

> >> On Tue, Sep 24, 2013 at 9:39 PM, scalpel4k <scalpel4k@xxxxxxxxx> wrote:

> >

> >> > Hi,

> >

> >> >

> >

> >> >

> >

> >> >

> >

> >> > I have a class that is causing this error when I try 'F4' on it. Does

> >> > the

> >

> >> > stack trace tell you anything where I should start to look for the

> >> > cause?

> >

> >> >

> >

> >> >

> >

> >> >

> >

> >> > thx Michi

> >

> >> >

> >

> >> >

> >

> >> >

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.CompositingNotImplementedError

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CPPCompositesFactory.getCompositeType(CPPCompositesFactory.java:238)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CPPCompositesFactory.getCompositeType(CPPCompositesFactory.java:185)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.AbstractCompositeFactory.getCompositeTypes(AbstractCompositeFactory.java:50)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CPPCompositesFactory.getCompositeType(CPPCompositesFactory.java:156)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CompositeCPPFunction.getType(CompositeCPPFunction.java:70)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CompositeCPPFunctionTemplate.getType(CompositeCPPFunctionTemplate.java:1)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CompositeCPPMethodTemplate.getType(CompositeCPPMethodTemplate.java:1)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.composite.cpp.CompositeCPPFunction.getType(CompositeCPPFunction.java:1)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.IndexCPPSignatureUtil.getSignature(IndexCPPSignatureUtil.java:73)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.index.IndexCPPSignatureUtil.getSignatureHash(IndexCPPSignatureUtil.java:159)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.pdom.dom.cpp.CPPFindBinding.findBinding(CPPFindBinding.java:137)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPLinkage.doAdaptBinding(PDOMCPPLinkage.java:838)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPLinkage.adaptBinding(PDOMCPPLinkage.java:780)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPLinkage.adaptBinding(PDOMCPPLinkage.java:760)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.core.pdom.PDOM.findBindingInLinkage(PDOM.java:1109)

> >

> >> >

> >

> >> > at org.eclipse.cdt.internal.core.pdom.PDOM.adaptBinding(PDOM.java:1100)

> >

> >> >

> >

> >> > at org.eclipse.cdt.internal.core.pdom.PDOM.adaptBinding(PDOM.java:1086)

> >

> >> >

> >

> >> > at org.eclipse.cdt.internal.core.pdom.PDOM.findNames(PDOM.java:1123)

> >

> >> >

> >

> >> > at org.eclipse.cdt.internal.core.index.CIndex.findNames(CIndex.java:188)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.viewsupport.IndexUI.findAllDefinitions(IndexUI.java:291)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.viewsupport.IndexUI.findRepresentative(IndexUI.java:275)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.typehierarchy.THGraph.addMemberElements(THGraph.java:280)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.typehierarchy.THGraph.addMembers(THGraph.java:258)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.typehierarchy.THGraph.addSuperClasses(THGraph.java:157)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.typehierarchy.THHierarchyModel.onComputeGraph(THHierarchyModel.java:158)

> >

> >> >

> >

> >> > at

> >

> >> >

> >> > org.eclipse.cdt.internal.ui.typehierarchy.THHierarchyModel$BackgroundJob.run(THHierarchyModel.java:46)

> >

> >> >

> >

> >> > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

> >

> >> >

> >

> >> >

> >

> >> > _______________________________________________

> >

> >> > cdt-dev mailing list

> >

> >> > cdt-dev@xxxxxxxxxxx

> >

> >> > https://dev.eclipse.org/mailman/listinfo/cdt-dev

> >

> >> >

> >

> >> _______________________________________________

> >

> >> cdt-dev mailing list

> >

> >> cdt-dev@xxxxxxxxxxx

> >

> >> https://dev.eclipse.org/mailman/listinfo/cdt-dev

> >

> >

> > _______________________________________________

> > cdt-dev mailing list

> > cdt-dev@xxxxxxxxxxx

> > https://dev.eclipse.org/mailman/listinfo/cdt-dev

> >

> _______________________________________________

> cdt-dev mailing list

> cdt-dev@xxxxxxxxxxx

> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top