pulse00 / Twig-Eclipse-Plugin

Eclipse plugin for the twig templating language.
twig.dubture.com
MIT License
107 stars 24 forks source link

Problem Occurred INSTANCE #59

Closed DarkAxi0m closed 12 years ago

DarkAxi0m commented 12 years ago

I have just finished installing the plugin and I am getting the following error when editing twig files

An Error has occurred. See error log for more details

INSTANCE

I am not sure if it is the Twig plugin or something else...

Windows 7 Twig Version 1.0.101 Eclipse Version: Helios Service Release 2 Build id: 20110218-0911

java version "1.6.0_31"

Workspace Log:

null Error Thu May 24 16:13:39 CST 2012 Problems occurred when invoking code from plug-in: "org.eclipse.wst.sse.ui".

java.lang.NoSuchFieldError: INSTANCE at com.dubture.symfony.index.Schema.storeSchemaVersion(Schema.java:90) at com.dubture.symfony.index.Schema.initialize(Schema.java:63) at com.dubture.symfony.index.SymfonyDbFactory.(SymfonyDbFactory.java:135) at com.dubture.symfony.index.SymfonyDbFactory.getInstance(SymfonyDbFactory.java:57) at com.dubture.symfony.index.SymfonyIndexer.(SymfonyIndexer.java:50) at com.dubture.symfony.index.SymfonyIndexer.getInstance(SymfonyIndexer.java:63) at com.dubture.symfony.core.model.SymfonyModelAccess.(SymfonyModelAccess.java:97) at com.dubture.symfony.core.model.SymfonyModelAccess.getDefault(SymfonyModelAccess.java:106) at com.dubture.symfony.core.codeassist.SymfonySelectionEngine.select(SymfonySelectionEngine.java:75) at org.eclipse.dltk.internal.core.Openable.codeSelect(Openable.java:624) at org.eclipse.dltk.internal.core.Openable.codeSelect(Openable.java:636) at org.eclipse.dltk.internal.core.AbstractSourceModule.codeSelect(AbstractSourceModule.java:86) at org.eclipse.dltk.internal.core.AbstractSourceModule.codeSelect(AbstractSourceModule.java:77) at org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction.getSelectionModelElement(OpenTypeHierarchyAction.java:197) at org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction.isEnabled(OpenTypeHierarchyAction.java:147) at org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction.selectionChanged(OpenTypeHierarchyAction.java:115) at org.eclipse.php.internal.ui.actions.OpenTypeHierarchyAction.selectionChanged(OpenTypeHierarchyAction.java:125) at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.dispatchSelectionChanged(SelectionDispatchAction.java:180) at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.selectionChanged(SelectionDispatchAction.java:175) at org.eclipse.wst.sse.ui.StructuredTextEditor$4.run(StructuredTextEditor.java:592) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:590) at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:671) at org.eclipse.wst.sse.ui.StructuredTextEditor$3.selectionChanged(StructuredTextEditor.java:564) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2745) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2693) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2672) at org.eclipse.swt.widgets.Display.runTimer(Display.java:4167) at org.eclipse.swt.widgets.Display.messageProc(Display.java:3256) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)

pulse00 commented 12 years ago

It looks like you're using the Symfony plugin with an unsupported eclipse version (helios). The minimum requirement is Eclipse >= 3.7.2.

Can you try it with this version and see if the error still occurs?

DarkAxi0m commented 12 years ago

That was it, I ran the updater, but it wouldn't update it to 3.7.2 for what ever reason, so I re-downloaded a fresh copy.

Thank you