java.lang.IllegalArgumentException: Argument cannot be null

Spring JIRA | Jaroslav Jankovic | 5 years ago
  1. 0

    In Graphical Editor of Web Flow definition file I have one view state. If I want to "Add Set" to some action (Render/Entry/Exit) no set is added and exception is thrown in error log: {code:title=Unhandled loop exception} java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:4263) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:466) at org.eclipse.swt.widgets.Text.setText(Text.java:2099) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createDialogArea(SetActionPropertiesDialog.java:232) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createContents(SetActionPropertiesDialog.java:125) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4330) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.ActionComposite$7.widgetSelected(ActionComposite.java:292) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4330) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66) at org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.runWithCommand(EditPropertiesAction.java:124) at org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.run(EditPropertiesAction.java:108) at org.springframework.ide.eclipse.webflow.ui.graph.parts.ChildrenStatePart.performRequest(ChildrenStatePart.java:243) at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194) at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137) at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069) at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:527) at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291) at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:195) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) 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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 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}

    Spring JIRA | 5 years ago | Jaroslav Jankovic
    java.lang.IllegalArgumentException: Argument cannot be null
  2. 0

    In Graphical Editor of Web Flow definition file I have one view state. If I want to "Add Set" to some action (Render/Entry/Exit) no set is added and exception is thrown in error log: {code:title=Unhandled loop exception} java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:4263) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.widgets.Widget.error(Widget.java:466) at org.eclipse.swt.widgets.Text.setText(Text.java:2099) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createDialogArea(SetActionPropertiesDialog.java:232) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createContents(SetActionPropertiesDialog.java:125) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4330) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.ActionComposite$7.widgetSelected(ActionComposite.java:292) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4330) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81) at org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66) at org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.runWithCommand(EditPropertiesAction.java:124) at org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.run(EditPropertiesAction.java:108) at org.springframework.ide.eclipse.webflow.ui.graph.parts.ChildrenStatePart.performRequest(ChildrenStatePart.java:243) at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194) at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137) at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069) at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:527) at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291) at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:195) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) 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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 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}

    Spring JIRA | 5 years ago | Jaroslav Jankovic
    java.lang.IllegalArgumentException: Argument cannot be null
  3. 0

    Sporadic "Argument cannot be null" errors

    GitHub | 5 years ago | Cito
    java.lang.IllegalArgumentException: Argument cannot be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot open step dialog after restart of kettle

    GitHub | 5 years ago | jordanvs
    java.lang.IllegalArgumentException: Argument cannot be null
  6. 0

    GitHub comment 50#4673057

    GitHub | 5 years ago | Cito
    java.lang.IllegalArgumentException: Argument cannot be null

    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 cannot be null

      at org.eclipse.swt.SWT.error()
    2. RWT
      Text.setText
      1. org.eclipse.swt.SWT.error(SWT.java:4263)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:466)
      5. org.eclipse.swt.widgets.Text.setText(Text.java:2099)
      5 frames
    3. org.springframework.ide
      SetActionPropertiesDialog.createDialogArea
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createDialogArea(SetActionPropertiesDialog.java:232)
      1 frame
    4. JFace
      TitleAreaDialog.createContents
      1. org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155)
      1 frame
    5. org.springframework.ide
      SetActionPropertiesDialog.createContents
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.SetActionPropertiesDialog.createContents(SetActionPropertiesDialog.java:125)
      1 frame
    6. JFace
      Window.open
      1. org.eclipse.jface.window.Window.create(Window.java:431)
      2. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
      3. org.eclipse.jface.window.Window.open(Window.java:790)
      3 frames
    7. org.springframework.ide
      DialogUtils$1.run
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150)
      1 frame
    8. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
      1 frame
    9. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
      1 frame
    10. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4330)
      1 frame
    11. org.springframework.ide
      ActionComposite$7.widgetSelected
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81)
      2. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66)
      3. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.ActionComposite$7.widgetSelected(ActionComposite.java:292)
      3 frames
    12. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      5 frames
    13. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    14. org.springframework.ide
      DialogUtils$1.run
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils$1.run(DialogUtils.java:150)
      1 frame
    15. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
      1 frame
    16. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
      1 frame
    17. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4330)
      1 frame
    18. org.springframework.ide
      ChildrenStatePart.performRequest
      1. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:81)
      2. org.springframework.ide.eclipse.webflow.ui.graph.dialogs.DialogUtils.openPropertiesDialog(DialogUtils.java:66)
      3. org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.runWithCommand(EditPropertiesAction.java:124)
      4. org.springframework.ide.eclipse.webflow.ui.graph.actions.EditPropertiesAction.run(EditPropertiesAction.java:108)
      5. org.springframework.ide.eclipse.webflow.ui.graph.parts.ChildrenStatePart.performRequest(ChildrenStatePart.java:243)
      5 frames
    19. Graphical Editing Framework
      DomainEventDispatcher.dispatchMouseDoubleClicked
      1. org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
      2. org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
      3. org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
      4. org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:527)
      5. org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
      6. org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
      6 frames
    20. Graphical Editing Framework Draw2d
      LightweightSystem$EventHandler.mouseDoubleClick
      1. org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
      1 frame
    21. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:195)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      5 frames
    22. 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
    23. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    24. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    25. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    26. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      1 frame
    27. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    28. 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
    29. 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
    30. 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