java.lang.IllegalArgumentException: Argument not valid

Apache's JIRA Issue Tracker | Joern Kottmann | 7 years ago
  1. 0

    The Annotation Editor tries to place a cursor between the chars of a multi char line delimiter which results in an IllegalArgumentException. The bug causes the following exception: java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:3865) at org.eclipse.swt.SWT.error(SWT.java:3799) at org.eclipse.swt.SWT.error(SWT.java:3770) at org.eclipse.swt.custom.StyledText.setCaretOffset(StyledText.java:7882) at org.apache.uima.caseditor.editor.AnnotationEditor.selectionChanged(AnnotationEditor.java:950) at org.apache.uima.caseditor.editor.AnnotationEditor$DocumentListener.updatedAnnotation(AnnotationEditor.java:300) at org.apache.uima.caseditor.editor.AbstractAnnotationDocumentListener.updated(AbstractAnnotationDocumentListener.java:75) at org.apache.uima.caseditor.editor.AbstractDocumentListener.updated(AbstractDocumentListener.java:62) at org.apache.uima.caseditor.editor.AbstractDocument.fireUpdatedFeatureStructure(AbstractDocument.java:114) at org.apache.uima.caseditor.editor.DocumentUimaImpl.update(DocumentUimaImpl.java:145) at org.apache.uima.caseditor.editor.AnnotationDocument.update(AnnotationDocument.java:132) at org.apache.uima.caseditor.editor.action.WideRightAnnotationSideAction.wideRightAnnotationSide(WideRightAnnotationSideAction.java:65) at org.apache.uima.caseditor.editor.action.WideRightAnnotationSideAction.run(WideRightAnnotationSideAction.java:77) at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) 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:368) 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:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

    Apache's JIRA Issue Tracker | 7 years ago | Joern Kottmann
    java.lang.IllegalArgumentException: Argument not valid
  2. 0

    GitHub comment 599#196969780

    GitHub | 9 months ago | Juancete
    java.lang.IllegalArgumentException: Argument not valid
  3. 0

    jface TextViewer filling .log with IllegalArgumentExceptions

    Eclipse Bugzilla | 1 decade ago | gunnar
    java.lang.IllegalArgumentException: Argument not valid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [console] IOConsoleViewer.handleVerifyEvent causes java.lang.IllegalArgumentException

    Eclipse Bugzilla | 1 decade ago | sja.eclipse
    java.lang.IllegalArgumentException: Argument not valid
  6. 0

    StringIndexOutOfBoundsException caused by IOConsolePartition

    Eclipse Bugzilla | 1 decade ago | sja.eclipse
    java.lang.IllegalArgumentException: Argument not valid

    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. java.lang.IllegalArgumentException

      Argument not valid

      at org.eclipse.swt.SWT.error()
    2. RWT
      StyledText.setCaretOffset
      1. org.eclipse.swt.SWT.error(SWT.java:3865)
      2. org.eclipse.swt.SWT.error(SWT.java:3799)
      3. org.eclipse.swt.SWT.error(SWT.java:3770)
      4. org.eclipse.swt.custom.StyledText.setCaretOffset(StyledText.java:7882)
      4 frames
    3. org.apache.uima
      WideRightAnnotationSideAction.run
      1. org.apache.uima.caseditor.editor.AnnotationEditor.selectionChanged(AnnotationEditor.java:950)
      2. org.apache.uima.caseditor.editor.AnnotationEditor$DocumentListener.updatedAnnotation(AnnotationEditor.java:300)
      3. org.apache.uima.caseditor.editor.AbstractAnnotationDocumentListener.updated(AbstractAnnotationDocumentListener.java:75)
      4. org.apache.uima.caseditor.editor.AbstractDocumentListener.updated(AbstractDocumentListener.java:62)
      5. org.apache.uima.caseditor.editor.AbstractDocument.fireUpdatedFeatureStructure(AbstractDocument.java:114)
      6. org.apache.uima.caseditor.editor.DocumentUimaImpl.update(DocumentUimaImpl.java:145)
      7. org.apache.uima.caseditor.editor.AnnotationDocument.update(AnnotationDocument.java:132)
      8. org.apache.uima.caseditor.editor.action.WideRightAnnotationSideAction.wideRightAnnotationSide(WideRightAnnotationSideAction.java:65)
      9. org.apache.uima.caseditor.editor.action.WideRightAnnotationSideAction.run(WideRightAnnotationSideAction.java:77)
      9 frames
    4. Eclipse UI
      BaseSelectionListenerAction.runWithEvent
      1. org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
      1 frame
    5. JFace
      ActionContributionItem$6.handleEvent
      1. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      2. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      3. org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
      3 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
      4 frames
    7. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      4. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      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:493)
      1 frame
    10. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    11. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
      1 frame
    12. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
      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:368)
      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:559)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1311)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1287)
      4 frames