java.lang.IllegalArgumentException: Cannot set null selection on DateTime

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

Solutions on the web

via GitHub by MicheleMUC
, 1 year ago
via Eclipse Bugzilla by jhelming, 2 weeks ago
Cannot set null selection on DateTime
via Stack Overflow by Kevin King
, 1 year ago
java.lang.IllegalArgumentException: Cannot set null selection on DateTime
at org.eclipse.jface.internal.databinding.swt.DateTimeSelectionProperty.doSetValue(DateTimeSelectionProperty.java:70)
at org.eclipse.core.databinding.property.value.ValueProperty.setValue(ValueProperty.java:89)
at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.doSetValue(SimplePropertyObservableValue.java:110)
at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:66)
at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.setValue(DecoratingObservableValue.java:115)
at org.eclipse.core.databinding.observable.value.DateAndTimeObservableValue.doSetValue(DateAndTimeObservableValue.java:270)
at org.eclipse.core.databinding.observable.value.DateAndTimeObservableValue.doSetValue(DateAndTimeObservableValue.java:1)
at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:66)
at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:469)
at org.eclipse.core.databinding.ValueBinding$3$1.run(ValueBinding.java:206)
at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
at org.eclipse.core.databinding.ValueBinding$3.run(ValueBinding.java:196)
at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:158)
at org.eclipse.core.databinding.ValueBinding.updateModelToTarget(ValueBinding.java:123)
at org.eclipse.core.databinding.ValueBinding.postInit(ValueBinding.java:101)
at org.eclipse.core.databinding.Binding.init(Binding.java:81)
at org.eclipse.core.databinding.DataBindingContext.bindValue(DataBindingContext.java:167)
at org.eclipse.emf.ecp.view.internal.core.swt.renderer.DateTimeControlSWTRenderer.createBindings(DateTimeControlSWTRenderer.java:127)
at org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTControlSWTRenderer.createControl(SimpleControlSWTControlSWTRenderer.java:67)
at org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTRenderer.renderControl(SimpleControlSWTRenderer.java:255)
at org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer.render(AbstractSWTRenderer.java:198)
at org.eclipse.emf.ecp.view.spi.core.swt.AbstractControlSWTRenderer.render(AbstractControlSWTRenderer.java:163)
at org.eclipse.emf.ecp.view.spi.core.swt.ContainerSWTRenderer.renderControl(ContainerSWTRenderer.java:176)
at org.eclipse.emf.ecp.view.internal.core.swt.renderer.ViewSWTRenderer.renderControl(ViewSWTRenderer.java:100)
at org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer.render(AbstractSWTRenderer.java:198)
at org.eclipse.emf.ecp.view.internal.swt.ECPSWTViewRendererImpl.render(ECPSWTViewRendererImpl.java:113)
at org.eclipse.emf.ecp.ui.e4.editor.ECPE4Editor.setInput(ECPE4Editor.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:90)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:343)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:358)
at org.eclipse.emf.ecp.application.e4.editor.E4ModelElementOpener.openModelElement(E4ModelElementOpener.java:77)
at org.eclipse.emf.ecp.spi.ui.util.ECPHandlerHelper.openModelElement(ECPHandlerHelper.java:450)
at org.eclipse.emf.ecp.ui.e4.view.DynamicCreateChildrenElementsMenuContribution$CustomCreateChildAction.run(DynamicCreateChildrenElementsMenuContribution.java:150)
at org.eclipse.emf.ecp.ui.e4.view.DynamicCreateChildrenElementsMenuContribution$1.execute(DynamicCreateChildrenElementsMenuContribution.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:54)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.ui.workbench.renderers.swt.DirectContributionItem.executeItem(DirectContributionItem.java:130)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4228)
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:388)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

Users with the same issue

You are the first who have seen this exception.

Write tip

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