-
Bug
-
Resolution: Duplicate
-
Major
-
4.3.0.Alpha1
-
None
I get constant "assertion failed" errors in the freemarker editor. The error is associated with the following stack trace in my eclipse log:
!ENTRY org.eclipse.ui 4 0 2015-02-06 12:28:37.974 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96) at org.eclipse.jface.text.Position.setLength(Position.java:185) at org.eclipse.jface.text.rules.FastPartitioner.computePartitioning(FastPartitioner.java:634) at org.eclipse.jface.text.AbstractDocument.computePartitioning(AbstractDocument.java:1430) at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:431) at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:451) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:569) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:567) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:227) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2830) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3501) at org.jboss.ide.eclipse.freemarker.editor.Editor.resetRange(Editor.java:282) at org.jboss.ide.eclipse.freemarker.editor.Editor.highlightRelatedRegions(Editor.java:257) at org.jboss.ide.eclipse.freemarker.editor.Editor.handleCursorPositionChanged(Editor.java:174) at org.jboss.ide.eclipse.freemarker.editor.Editor.mouseUp(Editor.java:200) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
This happens across multiple FreeMarker templates, all with very basic syntax.
I am using version 1.4.1.Final of the FreeMarker plugin.