org.eclipse.jface.text.BadLocationException

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Editing a ruby file, I see this in my console. It doesn't seem to impact the editing process, but is unsightly. {code} (Build 3.0.3.qualifier) [ERROR] Unable to get text at end of block, end offset: 463 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:1038) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:139) at com.aptana.editor.ruby.RubySourceEditor.updateOccurrences(RubySourceEditor.java:220) at com.aptana.editor.ruby.RubySourceEditor.selectionChanged(RubySourceEditor.java:116) at com.aptana.editor.common.AbstractThemeableEditor$SelectionChangedListener.selectionChanged(AbstractThemeableEditor.java:158) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676) at org.eclipse.swt.widgets.Display.runTimers(Display.java:4103) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3601) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.jface.text.BadLocationException
  2. 0

    Editing a ruby file, I see this in my console. It doesn't seem to impact the editing process, but is unsightly. {code} (Build 3.0.3.qualifier) [ERROR] Unable to get text at end of block, end offset: 463 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:1038) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:139) at com.aptana.editor.ruby.RubySourceEditor.updateOccurrences(RubySourceEditor.java:220) at com.aptana.editor.ruby.RubySourceEditor.selectionChanged(RubySourceEditor.java:116) at com.aptana.editor.common.AbstractThemeableEditor$SelectionChangedListener.selectionChanged(AbstractThemeableEditor.java:158) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749) at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697) at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676) at org.eclipse.swt.widgets.Display.runTimers(Display.java:4103) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3601) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.jface.text.BadLocationException
  3. 0

    Stuck in insert mode with "Failed to get text" messages

    GitHub | 2 years ago | The-Compiler
    net.sourceforge.vrapper.platform.VrapperPlatformException: Failed to get text M-690 (1028 chars)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to leave Insert mode when using Refactor or Eclipse movements

    GitHub | 2 years ago | muellan
    java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException
  6. 0

    BadLocationException when 2 editors are open on the same file

    GitHub | 2 years ago | marsiancba
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.RuntimeException: org.eclipse.jface.text.BadLocationException)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.jface.text.BadLocationException

      No message provided

      at org.eclipse.jface.text.AbstractDocument.get()
    2. JFace Text
      AbstractDocument.get
      1. org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:1038)
      1 frame
    3. File Buffers
      SynchronizableDocument.get
      1. org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:139)
      1 frame
    4. com.aptana.editor
      AbstractThemeableEditor$SelectionChangedListener.selectionChanged
      1. com.aptana.editor.ruby.RubySourceEditor.updateOccurrences(RubySourceEditor.java:220)
      2. com.aptana.editor.ruby.RubySourceEditor.selectionChanged(RubySourceEditor.java:116)
      3. com.aptana.editor.common.AbstractThemeableEditor$SelectionChangedListener.selectionChanged(AbstractThemeableEditor.java:158)
      3 frames
    5. JFace Text
      TextViewer$5.run
      1. org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2749)
      2. org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2697)
      3. org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2676)
      3 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.runTimers(Display.java:4103)
      2. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3601)
      2 frames
    7. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
      4 frames
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    9. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
      1 frame
    10. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    11. com.aptana.rcp
      IDEApplication.start
      1. com.aptana.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    12. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    13. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    15. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      4 frames