Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Exception thrown on invoking a getClassOwner()method on a ICPPMethod binding object

I don't see a good reason why an index should get corrupted. When you kill the IDE while it is writing to the index,
CDT will detect that and delete the index the next time you start the IDE.
 
You should probably open a bugzilla for this. Please provide
* the exact version of the org.eclipse.cdt.core plugin
* the log file (<workspace>/.metadata/.log)
* how larget is the size of the database (<workspace>/.metadata/.plugins/org.eclipse.cdt/core/*.pdom)
 
Markus.


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pavan V Ananth
Sent: Thursday, July 23, 2009 8:03 AM
To: CDT General developers list.
Subject: RE: [cdt-dev] Exception thrown on invoking a getClassOwner()method on a ICPPMethod binding object
Importance: Low


CDT 5.0.2

Refreshing the index doesn't seem to help either.


From: "Schorn, Markus" <Markus.Schorn@xxxxxxxxxxxxx>
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: 22/07/09 07:38 PM
Subject: RE: [cdt-dev] Exception thrown on invoking a getClassOwner() method        on a ICPPMethod binding object





What version of CDT are you using?


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pavan V Ananth
Sent:
Tuesday, July 21, 2009 3:48 PM
To:
cdt-dev@xxxxxxxxxxx
Subject:
[cdt-dev] Exception thrown on invoking a getClassOwner() method on a ICPPMethod binding object
Importance:
Low



Not happening always, unable to reproduce the exact scenario in which this happens. Can anyone point me out to what may be happening here?


java.lang.ArrayIndexOutOfBoundsException
: Array index out of range: 201
       at org.eclipse.cdt.internal.core.pdom.db.Database.getChunk(
Database.java:244)
       at org.eclipse.cdt.internal.core.pdom.db.Database.getInt(
Database.java:396)
       at org.eclipse.cdt.internal.core.pdom.dom.PDOMNode.getNodeType(
PDOMNode.java:124)
       at org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPLinkage.getNode(
PDOMCPPLinkage.java:738)
       at org.eclipse.cdt.internal.core.pdom.dom.PDOMNode.getParentNode(
PDOMNode.java:136)
       at org.eclipse.cdt.internal.core.pdom.dom.PDOMNamedNode.getParentBinding(
PDOMNamedNode.java:125)
       at org.eclipse.cdt.internal.core.pdom.dom.PDOMNamedNode.getOwner(
PDOMNamedNode.java:134)
       at org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPMethod.getClassOwner(
PDOMCPPMethod.java:167)

thanks!

Pavan
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top