Aptana Studio
  1. Aptana Studio
  2. APSTUD-3248

AssertionFailedException in PeerCharacterCloser.computePartitioning()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Duplicate
    • Affects Version/s: Aptana Studio 3.0.3
    • Fix Version/s: None
    • Component/s: php
    • Labels:
      None
    • Environment:

      Description

      From issue:

      "Sometimes when using Aptana Studio 3 for Web Development, it will not let me type the double quote symbol for say, a class in a HTML element. This is very frustrating, as the only way I can seem to get around it is to go out, type it in notepad, copy it and paste it in. It lets me type anything else.
      I would never have reported it, until today, it then wouldn't let me type the > than symbol.
      When this happened, I was commenting out a chunk of HTML code in a php file. I put in the <!-- at the start, then went to where it was ending, which wasn't far, 5 lines. I could then type any character I wanted except >.</p> <p>Why does it do this? I also use 3.0 for Python development, and have never had any problems, but when it comes to HTML, these two problems are extremely frustrating.</p>"

      !ENTRY org.eclipse.ui 4 0 2011-08-10 20:32:05.303
      !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.core.internal.filebuffers.SynchronizableDocument.computePartitioning(SynchronizableDocument.java:293)
        at org.eclipse.jface.text.AbstractDocument.computePartitioning(AbstractDocument.java:980)
        at com.aptana.editor.common.internal.peer.PeerCharacterCloser.computePartitioning(PeerCharacterCloser.java:357)
        at com.aptana.editor.common.internal.peer.PeerCharacterCloser.unpairedClose(PeerCharacterCloser.java:270)
        at com.aptana.editor.common.internal.peer.PeerCharacterCloser.verifyKey(PeerCharacterCloser.java:131)
        at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:65)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
        at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5957)
        at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5656)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
        at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1508)
        at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4270)
        at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:4162)
        at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
        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 com.aptana.rcp.IDEApplication.start(IDEApplication.java:125)
        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)
      

        Issue Links

          Activity

          Hide
          Shalom Gibly added a comment -

          Looks like a duplicate of APSTUD-3354

          Show
          Shalom Gibly added a comment - Looks like a duplicate of APSTUD-3354
          Hide
          Joel Witt (Inactive) added a comment -

          Aptana Studio 3, build: 3.0.5.201108231934
          Ubuntu 10.10

          This issue should be closed by APSTUD-3354 if the stack traces are the same.

          Show
          Joel Witt (Inactive) added a comment - Aptana Studio 3, build: 3.0.5.201108231934 Ubuntu 10.10 This issue should be closed by APSTUD-3354 if the stack traces are the same.

            People

            • Assignee:
              Shalom Gibly
              Reporter:
              Ingo Muschenetz
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: