org.eclipse.jface.text.BadLocationException

Appcelerator JIRA | Nam Le | 4 years ago
  1. 0

    While investigating the iOS provisioning issue customers were seeing in 3.0.0, I kept running into this exception in their logs: !ENTRY com.appcelerator.titanium.ui 1 0 2012-12-18 11:02:01.359 !MESSAGE (Build 3.1.0.201212162216) [INFO] Failed to properly color output. !STACK 0 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1055) at org.eclipse.jface.text.TreeLineTracker.getLineInformationOfOffset(TreeLineTracker.java:1151) at org.eclipse.jface.text.AbstractLineTracker.getLineInformationOfOffset(AbstractLineTracker.java:145) at org.eclipse.jface.text.AbstractDocument.getLineInformationOfOffset(AbstractDocument.java:936) at org.eclipse.ui.internal.console.ConsoleDocument.getLineInformationOfOffset(ConsoleDocument.java:52) at com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.calculateStyles(ConsolePageParticipant.java:104) at com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.lineGetStyle(ConsolePageParticipant.java:59) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:48) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.custom.StyledText.sendLineEvent(StyledText.java:8023) at org.eclipse.swt.custom.StyledText.getLineStyleData(StyledText.java:4154) at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:794) at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720) at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:211) at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:229) at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7791) at org.eclipse.swt.custom.StyledText.handleTextChanged(StyledText.java:6181) at org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:5615) at org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentChanged(ConsoleDocumentAdapter.java:375) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:769) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:736) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:721) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:796) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210) at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82) at org.eclipse.ui.internal.console.IOConsolePartitioner.processQueue(IOConsolePartitioner.java:572) at org.eclipse.ui.internal.console.IOConsolePartitioner$QueueProcessingJob.runInUIThread(IOConsolePartitioner.java:520) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.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) Occurred for almost every user that had the provisioning issue. May be coincidence but we should fix it

    Appcelerator JIRA | 4 years ago | Nam Le
    org.eclipse.jface.text.BadLocationException
  2. 0

    While investigating the iOS provisioning issue customers were seeing in 3.0.0, I kept running into this exception in their logs: !ENTRY com.appcelerator.titanium.ui 1 0 2012-12-18 11:02:01.359 !MESSAGE (Build 3.1.0.201212162216) [INFO] Failed to properly color output. !STACK 0 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1055) at org.eclipse.jface.text.TreeLineTracker.getLineInformationOfOffset(TreeLineTracker.java:1151) at org.eclipse.jface.text.AbstractLineTracker.getLineInformationOfOffset(AbstractLineTracker.java:145) at org.eclipse.jface.text.AbstractDocument.getLineInformationOfOffset(AbstractDocument.java:936) at org.eclipse.ui.internal.console.ConsoleDocument.getLineInformationOfOffset(ConsoleDocument.java:52) at com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.calculateStyles(ConsolePageParticipant.java:104) at com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.lineGetStyle(ConsolePageParticipant.java:59) at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:48) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.custom.StyledText.sendLineEvent(StyledText.java:8023) at org.eclipse.swt.custom.StyledText.getLineStyleData(StyledText.java:4154) at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:794) at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720) at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:211) at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:229) at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7791) at org.eclipse.swt.custom.StyledText.handleTextChanged(StyledText.java:6181) at org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:5615) at org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentChanged(ConsoleDocumentAdapter.java:375) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:769) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:736) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:721) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:796) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210) at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82) at org.eclipse.ui.internal.console.IOConsolePartitioner.processQueue(IOConsolePartitioner.java:572) at org.eclipse.ui.internal.console.IOConsolePartitioner$QueueProcessingJob.runInUIThread(IOConsolePartitioner.java:520) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.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) Occurred for almost every user that had the provisioning issue. May be coincidence but we should fix it

    Appcelerator JIRA | 4 years ago | Nam Le
    org.eclipse.jface.text.BadLocationException
  3. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    apache.org | 11 months ago
    org.eclipse.jface.text.BadLocationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    harmony-alerts | 9 years ago | nomail@intel.com
    org.eclipse.jface.text.BadLocationException
  6. 0

    [Editor] exception pasting code into editor

    Eclipse Bugzilla | 9 years ago | markus.schorn
    org.eclipse.jface.text.BadLocationException

    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.TreeLineTracker.fail()
    2. JFace Text
      AbstractDocument.getLineInformationOfOffset
      1. org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1055)
      2. org.eclipse.jface.text.TreeLineTracker.getLineInformationOfOffset(TreeLineTracker.java:1151)
      3. org.eclipse.jface.text.AbstractLineTracker.getLineInformationOfOffset(AbstractLineTracker.java:145)
      4. org.eclipse.jface.text.AbstractDocument.getLineInformationOfOffset(AbstractDocument.java:936)
      4 frames
    3. Console
      ConsoleDocument.getLineInformationOfOffset
      1. org.eclipse.ui.internal.console.ConsoleDocument.getLineInformationOfOffset(ConsoleDocument.java:52)
      1 frame
    4. com.appcelerator.titanium
      ConsolePageParticipant$LogLineStyleListener.lineGetStyle
      1. com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.calculateStyles(ConsolePageParticipant.java:104)
      2. com.appcelerator.titanium.ui.internal.ConsolePageParticipant$LogLineStyleListener.lineGetStyle(ConsolePageParticipant.java:59)
      2 frames
    5. RWT
      StyledText$6.textChanged
      1. org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:48)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
      8. org.eclipse.swt.custom.StyledText.sendLineEvent(StyledText.java:8023)
      9. org.eclipse.swt.custom.StyledText.getLineStyleData(StyledText.java:4154)
      10. org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:794)
      11. org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720)
      12. org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:211)
      13. org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:229)
      14. org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7791)
      15. org.eclipse.swt.custom.StyledText.handleTextChanged(StyledText.java:6181)
      16. org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:5615)
      16 frames
    6. Console
      ConsoleDocumentAdapter.documentChanged
      1. org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentChanged(ConsoleDocumentAdapter.java:375)
      1 frame
    7. JFace Text
      AbstractDocument.replace
      1. org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:769)
      2. org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:736)
      3. org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:721)
      4. org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:796)
      5. org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191)
      6. org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
      6 frames
    8. Console
      IOConsolePartitioner$QueueProcessingJob.runInUIThread
      1. org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82)
      2. org.eclipse.ui.internal.console.IOConsolePartitioner.processQueue(IOConsolePartitioner.java:572)
      3. org.eclipse.ui.internal.console.IOConsolePartitioner$QueueProcessingJob.runInUIThread(IOConsolePartitioner.java:520)
      3 frames
    9. Workbench
      UIJob$1.run
      1. org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
      1 frame
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3938)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3615)
      4 frames
    11. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    15. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. 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
    18. 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
    19. Equinox
      Main.run
      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)
      3 frames