Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Imports not resolved- Exception in thread "DLTK indexing" -Related?(References in the workspace are not resolved in a PHP project)
Imports not resolved- Exception in thread "DLTK indexing" -Related? [message #1792549] Thu, 19 July 2018 12:05
George Young is currently offline George YoungFriend
Messages: 1
Registered: July 2018
Junior Member
I have a PHP/Symfony/Composer project which until recently was working fine. Imports were resolved and context assist/autocomplete worked fine. But recently for no apparent reason both of those failed to work and my project is full of red crosses.
The actual code works perfectly of course.
I have cleaned the project, check, deleted and recreated the buildpath entries. deleted the project from the workspace, deleted all the eclipse files and recreated the project.

Looking at the logs I notice that there is an error whenever I do a Clean.

Exception in thread "DLTK indexing" java.lang.NoSuchMethodError: org.eclipse.php.core.compiler.ast.nodes.UsePart.getFullUseStatementName()Ljava/lang/String;
        at com.dubture.symfony.core.index.SymfonyIndexingVisitorExtension$1.visit(
        at org.eclipse.php.core.compiler.ast.visitor.PHPASTVisitor.visit(
        at org.eclipse.php.core.compiler.ast.visitor.PHPASTVisitor.visit(
        at org.eclipse.php.core.compiler.ast.nodes.UseStatement.traverse(
        at org.eclipse.dltk.ast.statements.Block.traverse(
        at com.dubture.symfony.core.index.SymfonyIndexingVisitorExtension.visit(
        at org.eclipse.php.internal.core.index.PHPIndexingVisitor.visit(
        at org.eclipse.dltk.ast.statements.Block.traverse(
        at org.eclipse.dltk.ast.declarations.ModuleDeclaration.traverse(
        at org.eclipse.php.internal.core.index.PHPIndexingParser.parseSourceModule(
        at org.eclipse.dltk.core.index2.AbstractIndexer.indexDocument(
        at org.eclipse.dltk.internal.core.index.lucene.LuceneIndexer.indexDocument(
        at java.base/

I've Googled for getFullUseStatementName which seems to be part of PDT but can't see any reference to this error. I'm thinking maybe my next step should be to delete and reinstall eclipse but before that does anyone have a less brutal suggestion.
Previous Topic:unistall
Next Topic:Initilal TCF load
Goto Forum:

Current Time: Tue Jan 31 11:42:39 GMT 2023

Powered by FUDForum. Page generated in 0.07360 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top