java.lang.IllegalArgumentException: Argument not valid

Pentaho BI Platform Tracking | Paula Clemente | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If we have an annotated field as a Measure, but then we edit that field to be an Attribute, if we click on the Hierarchy input box: * Using a Mac OSX: Spoon locks. * Using a Windows: An exception is thrown. The full stacktrace of the exception thrown on Windows is: {code} java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Widget.error(Unknown Source) at org.eclipse.swt.widgets.List.setItems(Unknown Source) at org.eclipse.swt.custom.CCombo.setItems(Unknown Source) at org.pentaho.di.ui.core.widget.TableView.editCombo(TableView.java:2219) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1970) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1941) at org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1461) at org.pentaho.di.ui.core.widget.TableView.access$3300(TableView.java:109) at org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:1068) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {code}

    Pentaho BI Platform Tracking | 2 years ago | Paula Clemente
    java.lang.IllegalArgumentException: Argument not valid
  2. 0

    If we have an annotated field as a Measure, but then we edit that field to be an Attribute, if we click on the Hierarchy input box: * Using a Mac OSX: Spoon locks. * Using a Windows: An exception is thrown. The full stacktrace of the exception thrown on Windows is: {code} java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Widget.error(Unknown Source) at org.eclipse.swt.widgets.List.setItems(Unknown Source) at org.eclipse.swt.custom.CCombo.setItems(Unknown Source) at org.pentaho.di.ui.core.widget.TableView.editCombo(TableView.java:2219) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1970) at org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1941) at org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1461) at org.pentaho.di.ui.core.widget.TableView.access$3300(TableView.java:109) at org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:1068) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {code}

    Pentaho BI Platform Tracking | 2 years ago | Paula Clemente
    java.lang.IllegalArgumentException: Argument not valid

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Argument not valid

      at org.eclipse.swt.SWT.error()
    2. RWT
      CCombo.setItems
      1. org.eclipse.swt.SWT.error(Unknown Source)
      2. org.eclipse.swt.SWT.error(Unknown Source)
      3. org.eclipse.swt.SWT.error(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.error(Unknown Source)
      5. org.eclipse.swt.widgets.List.setItems(Unknown Source)
      6. org.eclipse.swt.custom.CCombo.setItems(Unknown Source)
      6 frames
    3. org.pentaho.di
      TableView$26.mouseDown
      1. org.pentaho.di.ui.core.widget.TableView.editCombo(TableView.java:2219)
      2. org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1970)
      3. org.pentaho.di.ui.core.widget.TableView.edit(TableView.java:1941)
      4. org.pentaho.di.ui.core.widget.TableView.editSelected(TableView.java:1461)
      5. org.pentaho.di.ui.core.widget.TableView.access$3300(TableView.java:109)
      6. org.pentaho.di.ui.core.widget.TableView$26.mouseDown(TableView.java:1068)
      6 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    5. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1339)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9214)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:653)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame