java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

Solutions on the web

via SpringSource Issue Tracker by Ian Brandt, 1 year ago
[Assertion failed] - this argument is required; it must not be null
via SpringSource Issue Tracker by Ian Brandt, 1 year ago
[Assertion failed] - this argument is required; it must not be null
via springsource.com by Unknown author, 1 year ago
[Assertion failed] - this argument is required; it must not be null
via Stack Overflow by samiksha
, 1 year ago
[Assertion failed] - this argument is required; it must not be null
java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
at org.springframework.util.Assert.notNull(Assert.java:112)
at org.springframework.ide.eclipse.ui.AbstractCompositeImageDescriptor.(AbstractCompositeImageDescriptor.java:31)
at org.springframework.ide.eclipse.beans.ui.model.BeansModelImages$BeansModelCompositeImageDescriptor.(BeansModelImages.java:152)
at org.springframework.ide.eclipse.beans.ui.model.BeansModelImages.getDecoratedImage(BeansModelImages.java:117)
at org.springframework.ide.eclipse.beans.ui.model.BeansModelImages.getImage(BeansModelImages.java:63)
at org.springframework.ide.eclipse.beans.ui.model.BeansModelImages.getImage(BeansModelImages.java:52)
at org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelProvider.getImage(BeansModelLabelProvider.java:79)
at org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesModelLabelProvider.getImage(PropertiesModelLabelProvider.java:62)
at org.springframework.ide.eclipse.ui.viewers.DecoratingWorkbenchTreePathLabelProvider.updateLabel(DecoratingWorkbenchTreePathLabelProvider.java:71)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:164)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)
at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:385)
at org.eclipse.jface.viewers.CheckboxTableViewer.doUpdateItem(CheckboxTableViewer.java:169)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2150)
at org.eclipse.jface.viewers.AbstractTableViewer.createItem(AbstractTableViewer.java:276)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:723)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:615)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607)
at org.eclipse.jface.viewers.AbstractTableViewer$1.run(AbstractTableViewer.java:567)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1436)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1397)
at org.eclipse.jface.viewers.CheckboxTableViewer.preservingSelection(CheckboxTableViewer.java:344)
at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:564)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
at org.springframework.ide.eclipse.beans.ui.properties.ConfigSetDialog.createDialogArea(ConfigSetDialog.java:208)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768)
at org.eclipse.jface.window.Window.create(Window.java:435)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
at org.springframework.ide.eclipse.beans.ui.properties.ConfigSetsTab.handleEditButtonPressed(ConfigSetsTab.java:316)
at org.springframework.ide.eclipse.beans.ui.properties.ConfigSetsTab.handleButtonPressed(ConfigSetsTab.java:257)
at org.springframework.ide.eclipse.beans.ui.properties.ConfigSetsTab.access$0(ConfigSetsTab.java:252)
at org.springframework.ide.eclipse.beans.ui.properties.ConfigSetsTab$1.widgetSelected(ConfigSetsTab.java:145)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:160)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
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:483)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
196 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.