Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] anyone seen this before?

This might indicate a corrupt database or it is maybe another
manifestation of bug 192664
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=192664).

Do you get this error repeatedly or occasionally?
In the first case, I'd suggest to recreate the index from scratch.
In the second case, I'd suggest to update to CDT 4.0 RC4 (when it is
released).

Toni
--
Anton Leherbauer
Wind River CDT Team, Austria

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Greg Watson
Sent: Wednesday, June 20, 2007 4:02 PM
To: CDT General developers list.
Subject: [cdt-dev] anyone seen this before?

Hi all,

I just started getting this error. Anyone seen it before? Eclipse
3.3RC4, CDT 4.0.0.200705251830.

Greg

Exception in thread "org.eclipse.cdt.internal.ui.text.CReconciler"  
java.lang.ArrayIndexOutOfBoundsException: -243711
	at org.eclipse.cdt.internal.core.pdom.db.Database.getChunk
(Database.java:165)
	at org.eclipse.cdt.internal.core.pdom.db.Database.getInt
(Database.java:318)
	at org.eclipse.cdt.internal.core.pdom.db.Database.getString
(Database.java:360)
	at
org.eclipse.cdt.internal.core.pdom.dom.PDOMNamedNode.getDBName
(PDOMNamedNode.java:59)
	at
org.eclipse.cdt.internal.core.pdom.dom.NamedNodeCollector.compare
(NamedNodeCollector.java:65)
	at
org.eclipse.cdt.internal.core.pdom.db.BTree.accept(BTree.java:548)
	at
org.eclipse.cdt.internal.core.pdom.db.BTree.accept(BTree.java:560)
	at
org.eclipse.cdt.internal.core.pdom.db.BTree.accept(BTree.java:560)
	at
org.eclipse.cdt.internal.core.pdom.db.BTree.accept(BTree.java:551)
	at
org.eclipse.cdt.internal.core.pdom.db.BTree.accept(BTree.java:524)
	at org.eclipse.cdt.internal.core.pdom.dom.PDOMLinkage.accept
(PDOMLinkage.java:115)
	at
org.eclipse.cdt.internal.core.pdom.PDOM.findBindings(PDOM.java:424)
	at org.eclipse.cdt.internal.core.index.CIndex.findBindings
(CIndex.java:304)
	at org.eclipse.cdt.internal.core.index.CIndex.findBindings
(CIndex.java:358)
	at org.eclipse.cdt.internal.core.dom.parser.c.CScope.getBinding
(CScope.java:190)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CVisitor.createBinding
(CVisitor.java:867)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CVisitor.createBinding
(CVisitor.java:823)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CVisitor.createBinding
(CVisitor.java:475)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CASTName.resolveBinding
(CASTName.java:50)
	at org.eclipse.cdt.internal.ui.editor.SemanticToken.getBinding
(SemanticToken.java:47)
	at org.eclipse.cdt.internal.ui.editor.SemanticHighlightings
$ClassHighlighting.consumes(SemanticHighlightings.java:1133)
	at
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingReconciler
$PositionCollector.visitNode(SemanticHighlightingReconciler.java:243)
	at
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingReconciler
$PositionCollector.visit(SemanticHighlightingReconciler.java:189)
	at org.eclipse.cdt.internal.core.dom.parser.c.CASTName.accept
(CASTName.java:93)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CASTDeclarator.accept
(CASTDeclarator.java:125)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CASTSimpleDeclaration.accept(
CASTSimpleDeclaration.java:75)
	at
org.eclipse.cdt.internal.core.dom.parser.c.CASTTranslationUnit.accept
(CASTTranslationUnit.java:541)
	at
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingReconciler.reconc
ilePositions(SemanticHighlightingReconciler.java:438)
	at
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingReconciler.reconc
iled(SemanticHighlightingReconciler.java:403)
	at org.eclipse.cdt.internal.ui.editor.CEditor.reconciled
(CEditor.java:2528)
	at
org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile
(CReconcilingStrategy.java:141)
	at
org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.initialReconcile
(CReconcilingStrategy.java:155)
	at
org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess
(MonoReconciler.java:103)
	at org.eclipse.cdt.internal.ui.text.CReconciler.initialProcess
(CReconciler.java:382)
	at org.eclipse.jface.text.reconciler.AbstractReconciler
$BackgroundThread.run(AbstractReconciler.java:170)

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


Back to the top