pulse00/Symfony-2-Eclipse-Plugin — Issue #49: Zend Studio 8
Author: KaipiYann
Created: 2011-10-31 19:45:07+00:00
State: open

Hi,

I don't know if this plugin should work on Zend Studio but I tried it without success. Here is the log :

!ENTRY org.eclipse.php.core 4 4 2011-10-31 20:40:57.978
!MESSAGE Plug-in "com.dubture.symfony.core" was unable to instantiate class "com.dubture.symfony.core.compiler.SourceElementRequestor".
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "com.dubture.symfony.core" was unable to instantiate class "com.dubture.symfony.core.compiler.SourceElementRequestor".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.php.internal.core.compiler.PHPSourceElementRequestor.(PHPSourceElementRequestor.java:94)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceElementParser.createVisitor(PHPSourceElementParser.java:30)
at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSourceElementParser.java:28)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceElementParser.parseSourceModule(PHPSourceElementParser.java:26)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.ModelElement.getElementInfo(ModelElement.java:171)
at org.eclipse.dltk.internal.core.ModelElement.getChildren(ModelElement.java:356)
at org.eclipse.dltk.internal.core.ModelElement.getChildrenOfType(ModelElement.java:335)
at org.eclipse.dltk.internal.core.ModelElement.getChildrenOfType(ModelElement.java:330)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getTypes(AbstractSourceModule.java:350)
at com.zend.php.semanticanalysis.internal.core.checks.DuplicateClassMethodCheck.a(DuplicateClassMethodCheck.java)
at com.zend.php.semanticanalysis.internal.core.SemanticAnalysisBuilder.buildModelElements(SemanticAnalysisBuilder.java)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.buildElements(ScriptBuilder.java:858)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.fullBuild(ScriptBuilder.java:520)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.build(ScriptBuilder.java:259)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
at org.eclipse.core.internal.resources.Project.build(Project.java:115)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:222)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NoSuchFieldError: INSTANCE
at com.dubture.symfony.index.Schema.storeSchemaVersion(Schema.java:82)
at com.dubture.symfony.index.Schema.initialize(Schema.java:55)
at com.dubture.symfony.index.SymfonyDbFactory.(SymfonyDbFactory.java:127)
at com.dubture.symfony.index.SymfonyDbFactory.getInstance(SymfonyDbFactory.java:49)
at com.dubture.symfony.index.SymfonyIndexer.(SymfonyIndexer.java:42)
at com.dubture.symfony.index.SymfonyIndexer.getInstance(SymfonyIndexer.java:55)
at com.dubture.symfony.core.model.SymfonyModelAccess.(SymfonyModelAccess.java:84)
at com.dubture.symfony.core.model.SymfonyModelAccess.getDefault(SymfonyModelAccess.java:93)
at com.dubture.symfony.core.compiler.SourceElementRequestor.(SourceElementRequestor.java:39)
at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
... 38 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2011-10-31 20:40:57.979
!MESSAGE Plug-in "com.dubture.symfony.core" was unable to instantiate class "com.dubture.symfony.core.compiler.SourceElementRequestor".
!STACK 0
java.lang.NoSuchFieldError: INSTANCE
at com.dubture.symfony.index.Schema.storeSchemaVersion(Schema.java:82)
at com.dubture.symfony.index.Schema.initialize(Schema.java:55)
at com.dubture.symfony.index.SymfonyDbFactory.(SymfonyDbFactory.java:127)
at com.dubture.symfony.index.SymfonyDbFactory.getInstance(SymfonyDbFactory.java:49)
at com.dubture.symfony.index.SymfonyIndexer.(SymfonyIndexer.java:42)
at com.dubture.symfony.index.SymfonyIndexer.getInstance(SymfonyIndexer.java:55)
at com.dubture.symfony.core.model.SymfonyModelAccess.(SymfonyModelAccess.java:84)
at com.dubture.symfony.core.model.SymfonyModelAccess.getDefault(SymfonyModelAccess.java:93)
at com.dubture.symfony.core.compiler.SourceElementRequestor.(SourceElementRequestor.java:39)
at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:904)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.php.internal.core.compiler.PHPSourceElementRequestor.(PHPSourceElementRequestor.java:94)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceElementParser.createVisitor(PHPSourceElementParser.java:30)
at org.eclipse.dltk.core.AbstractSourceElementParser.parseSourceModule(AbstractSourceElementParser.java:28)
at org.eclipse.php.internal.core.compiler.ast.parser.PHPSourceElementParser.parseSourceModule(PHPSourceElementParser.java:26)
at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:507)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.ModelElement.getElementInfo(ModelElement.java:171)
at org.eclipse.dltk.internal.core.ModelElement.getChildren(ModelElement.java:356)
at org.eclipse.dltk.internal.core.ModelElement.getChildrenOfType(ModelElement.java:335)
at org.eclipse.dltk.internal.core.ModelElement.getChildrenOfType(ModelElement.java:330)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getTypes(AbstractSourceModule.java:350)
at com.zend.php.semanticanalysis.internal.core.checks.DuplicateClassMethodCheck.a(DuplicateClassMethodCheck.java)
at com.zend.php.semanticanalysis.internal.core.SemanticAnalysisBuilder.buildModelElements(SemanticAnalysisBuilder.java)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.buildElements(ScriptBuilder.java:858)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.fullBuild(ScriptBuilder.java:520)
at org.eclipse.dltk.internal.core.builder.ScriptBuilder.build(ScriptBuilder.java:259)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
at org.eclipse.core.internal.resources.Project.build(Project.java:115)
at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:222)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:162)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:483)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

But this plug in looks very great !

Thks