java.lang.IllegalArgumentException: Argument not valid

Pentaho BI Platform Tracking | Chris Deptula | 1 year ago
  1. 0

    When installing a plugin from the marketplace in Spoon, Spoon will crash with an IllegalArgumentException. The exact timing of the crash is inconsistent, but I have been able to reproduce the crash 4 times installing different plugins. This does not occur in versions prior to Pentaho 5.4. *Steps to Reproduce:* 1. Go to Help > Marketplace 2. Install any plugin from the Marketplace. 3. If the install succeeds press ctrl-n to create a new transformation. *Actual Results:* *First test:* 1. Plugin installed correctly with no errors. 2. Pressed ctrl-n to create a new transformation and Spoon immediately crashed. *Second test:* 1. During install received a dialog with the following error. 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.graphics.GC.setBackground(Unknown Source) at org.eclipse.swt.custom.CTabFolderRenderer.drawBody(Unknown Source) at org.eclipse.swt.custom.CTabFolderRenderer.draw(Unknown Source) at org.eclipse.swt.custom.CTabFolder.onPaint(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Composite.WM_PAINT(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2. Clicked OK and Spoon stayed up. 3. Pressed ctrl-n and Spoon crashed. *Third Test:* 1. Spoon crashed during the plugin install. From what I could see of the error in the 1 second before Spoon crashed it was an illegal argument exception. *Fourth Test:* 1. During the install received the above stack trace error. 2. Clicked OK and Spoon crashed.

    Pentaho BI Platform Tracking | 1 year ago | Chris Deptula
    java.lang.IllegalArgumentException: Argument not valid
  2. 0

    When installing a plugin from the marketplace in Spoon, Spoon will crash with an IllegalArgumentException. The exact timing of the crash is inconsistent, but I have been able to reproduce the crash 4 times installing different plugins. This does not occur in versions prior to Pentaho 5.4. *Steps to Reproduce:* 1. Go to Help > Marketplace 2. Install any plugin from the Marketplace. 3. If the install succeeds press ctrl-n to create a new transformation. *Actual Results:* *First test:* 1. Plugin installed correctly with no errors. 2. Pressed ctrl-n to create a new transformation and Spoon immediately crashed. *Second test:* 1. During install received a dialog with the following error. 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.graphics.GC.setBackground(Unknown Source) at org.eclipse.swt.custom.CTabFolderRenderer.drawBody(Unknown Source) at org.eclipse.swt.custom.CTabFolderRenderer.draw(Unknown Source) at org.eclipse.swt.custom.CTabFolder.onPaint(Unknown Source) at org.eclipse.swt.custom.CTabFolder$1.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.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Composite.WM_PAINT(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2. Clicked OK and Spoon stayed up. 3. Pressed ctrl-n and Spoon crashed. *Third Test:* 1. Spoon crashed during the plugin install. From what I could see of the error in the 1 second before Spoon crashed it was an illegal argument exception. *Fourth Test:* 1. During the install received the above stack trace error. 2. Clicked OK and Spoon crashed.

    Pentaho BI Platform Tracking | 1 year ago | Chris Deptula
    java.lang.IllegalArgumentException: Argument not valid
  3. 0

    Java SWT Dragging Dialog Causes Application To Crash

    Stack Overflow | 4 years ago | Talon06
    java.lang.IllegalArgumentException: Argument not valid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [implementation] IllegalArgumentException: Argument not valid

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

    'Argument not valid' exception when changing java editor syntax highlights

    Eclipse Bugzilla | 1 decade ago | sinpi
    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
      Display.windowProc
      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.graphics.GC.setBackground(Unknown Source)
      5. org.eclipse.swt.custom.CTabFolderRenderer.drawBody(Unknown Source)
      6. org.eclipse.swt.custom.CTabFolderRenderer.draw(Unknown Source)
      7. org.eclipse.swt.custom.CTabFolder.onPaint(Unknown Source)
      8. org.eclipse.swt.custom.CTabFolder$1.handleEvent(Unknown Source)
      9. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      10. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      11. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      12. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      13. org.eclipse.swt.widgets.Composite.WM_PAINT(Unknown Source)
      14. org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
      15. org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
      15 frames
    3. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
      2 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      1 frame
    5. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1319)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7939)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9190)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
      1 frame