[jbosstools-issues] [JBoss JIRA] (JBIDE-19183) Constant AssertionFailedExceptions from FreeMarker Editor

Eric Sirianni (JIRA) issues at jboss.org
Fri Feb 6 12:35:49 EST 2015


Eric Sirianni created JBIDE-19183:
-------------------------------------

             Summary: Constant AssertionFailedExceptions from FreeMarker Editor
                 Key: JBIDE-19183
                 URL: https://issues.jboss.org/browse/JBIDE-19183
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: freemarker
         Environment: Eclipse 4.4.1
Linux
            Reporter: Eric Sirianni


I get constant "assertion failed" errors in the freemarker editor.  The error is associated with the following stack trace in my eclipse log:

{noformat}
!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)
{noformat}

This happens across multiple FreeMarker templates, all with very basic syntax.

I am using version 1.4.1.Final of the FreeMarker plugin.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list