[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] Unusual problem with PresentationReconciler; help please
|
Sorry for being too brief.
I have a very basic editor-only project (extending TextEditor) that I am
attempting to port to DLTK to pick up greater functionality. The
basic editor has partitioning, pair matching, rule and non-rule based
repairers working. No outline or AST. I started a new DLTK
project(s) following the form of the Python sub-project initially and Lua
subsequent. I created an Antlr based grammar/core and have adjusted
the dependencies of my old editor to depend from ScriptEditor, etc, again
following the form of Python and Lua. I have left out things like
search and debug, looking to get basic functionality first. Most
problems I could trace out fairly easily -- recognizing the difference
between
IDLTKLanguageToolkit and
IDLTKUILanguageToolkit and
fixing the plugin.xml/Extensions was a tricky.
But, the current error is giving me no hint as to the source of the
problem. I know the logic of my PresentationReconciler is correct
and the dependencies have been changed to match those in
Python/Lua. Obviously I am missing something -- just not sure
what.
Given the error, hoping someone might have an opinion as to the likely
source of the problem.
Thanks,
Gerald
At 05:23 PM 11/3/2007, you wrote:
i don't quite understand
your question. are you implementing a new plugin, or are you trying to
the plugins listed below and you're getting that error?
On 11/3/07, Gerald Rosenberg
<gerald@xxxxxxxxxx>
wrote:
- New user, generally following the Python and Lua code bases as
- examples. Eclipse 3.3 and DLTK 0.9.1 sdk.
- Running into this error, which does not *seem* to intersect my
code
- -- the editor fails to open, giving the message "Error opening
the
- editor". Any advice or even guesses as to the source of
the problem
- would be appreciated.
- java.lang.ClassCastException:
- org.eclipse.jface.text.presentation.PresentationReconciler
- at
-
org.eclipse.dltk.internal.ui.editor.SemanticHighlightingManager.install
(SemanticHighlightingManager.java:288)
- at
-
org.eclipse.dltk.internal.ui.editor.ScriptEditor.installSemanticHighlighting(ScriptEditor.java:2925)
- at
- org.eclipse.dltk.internal.ui.editor.ScriptEditor.createPartControl
(ScriptEditor.java:1845)
- at
-
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
- at
-
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
- at
-
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
- at
-
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
- at
-
org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1405)
- at
-
org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:939)
- at
- org.eclipse.ui.internal.StartupThreading$StartupRunnable.run
(StartupThreading.java:31)
- at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
- at
-
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
- at
org.eclipse.swt.widgets.Display.runAsyncMessages (Display.java:3659)
- at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
- at
-
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:801)
- at
org.eclipse.ui.internal.Workbench$25.runWithException
(Workbench.java:1342)
- at
-
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
- at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
- at
- org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:123)
- at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
- at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
- at
org.eclipse.ui.internal.Workbench.runUI (Workbench.java:2309)
- at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
- at
org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
- at
- org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:289)
- at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
- at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
- at
- org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:106)
- at
-
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
- at
-
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java
:106)
- at
-
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
- at
-
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
- at
-
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
- 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:508)
- at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
- at
org.eclipse.equinox.launcher.Main.run(Main.java:1173)
- at
org.eclipse.equinox.launcher.Main.main(Main.java:1148)
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev