pulse00/Symfony-2-Eclipse-Plugin — Issue #54: Autocomplete doesn't work, Execption thrown
Author: patrick-git
Created: 2011-11-08 16:15:15+00:00
State: open

Hey there,

just installed your Eclipse Plugin. Unfortunately the code-completions doesn't work.
The natures have been added and are there in the .project file. I tried to Clean the project as well.
It still doesn't work.

<natures>
<nature>com.dubture.doctrine.core.doctrineNature</nature>
<nature>com.dubture.symfony.core.symfonyNature</nature>
<nature>org.eclipse.php.core.PHPNature</nature>
<nature>com.dubture.twig.core.TwigNature</nature>
</natures>

Eclipse Indigo and Ubuntu 11.10.
When starting eclipse in debug-mode, it comes visible,that an exception is thrown. The output is:

ppeters@local:/opt/eclipse_indigo$ ./eclipse -debug .options
Start VM: -Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/opt/eclipse_indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86
-showsplash /opt/eclipse_indigo//plugins/org.eclipse.platform_3.7.0.v201106131736/splash.bmp
-launcher /opt/eclipse_indigo/eclipse
-name Eclipse
--launcher.library /opt/eclipse_indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup /opt/eclipse_indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-product org.eclipse.epp.package.jee.product
-debug .options
-vm /usr/lib/jvm/java-6-openjdk/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.class.path=/opt/eclipse_indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Install location:
file:/opt/eclipse_indigo/
Configuration file:
file:/opt/eclipse_indigo/configuration/config.ini loaded
Configuration location:
file:/opt/eclipse_indigo/configuration/
Framework located:
file:/opt/eclipse_indigo/plugins/org.eclipse.osgi_3.7.0.v20110613.jar
Loading extension: reference:file:javax.transaction_1.1.1.v201105210645.jar
eclipse.properties not found
Framework classpath:
file:/opt/eclipse_indigo/plugins/org.eclipse.osgi_3.7.0.v20110613.jar
file:/opt/eclipse_indigo/plugins/
file:/opt/eclipse_indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
Splash location:
/opt/eclipse_indigo//plugins/org.eclipse.platform_3.7.0.v201106131736/splash.bmp
Debug options:
file:/opt/eclipse_indigo/.options not found
Time to load bundles: 4
Starting application: 639
Exception in thread "DLTK indexing" java.lang.NoSuchFieldError: requestor
at com.dubture.twig.core.index.TwigIndexingVisitorExtension.endvisit(TwigIndexingVisitorExtension.java:459)
at org.eclipse.php.internal.core.index.PhpIndexingVisitor.endvisit(PhpIndexingVisitor.java:779)
at org.eclipse.dltk.ast.declarations.ModuleDeclaration.traverse(ModuleDeclaration.java:72)
at org.eclipse.php.internal.core.index.PhpIndexingParser.parseSourceModule(PhpIndexingParser.java:30)
at com.dubture.symfony.core.index.SymfonyIndexingParser.parseSourceModule(SymfonyIndexingParser.java:29)
at org.eclipse.dltk.core.index2.AbstractIndexer.indexDocument(AbstractIndexer.java:45)
at org.eclipse.dltk.internal.core.index.sql.SqlIndexer.indexDocument(SqlIndexer.java:143)
at org.eclipse.dltk.internal.core.index2.SourceModulesRequest.run(SourceModulesRequest.java:78)
at org.eclipse.dltk.core.search.indexing.AbstractJob.execute(AbstractJob.java:76)
at org.eclipse.dltk.internal.core.search.processing.JobManager.run(JobManager.java:467)
at java.lang.Thread.run(Thread.java:679)
Application Started: 8283