SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53180: An exception might be generated when you delete a vehicle group from a marketing calendar with total spots approved labels

DetailsHotfixAboutRate It

In SAS® Promotion Optimization, the following exception might be generated when you delete a vehicle group from a marketing calendar with total spots approved labels:

FATAL main java.lang.StackTraceElement - Failed to execute runnable (com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: VehicleGroup(Two Days Sale Quebec): Need to initialize TotalSpots first!)
org.eclipse.swt.SWTException: Failed to execute runnable (com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: VehicleGroup(Two Days Sale Quebec): Need to initialize TotalSpots first!)
	at org.eclipse.swt.SWT.error(SWT.java:3777)
	at org.eclipse.swt.SWT.error(SWT.java:3695)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at com.sas.solutions.di.studio.runtime.internal.StudioApplication.start(StudioApplication.java:187)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:382)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: com.sas.solutions.di.server.rpp.api.NamedScopedValue$UninitializedException: ERROR: VehicleGroup(Two Days Sale Quebec): Need to initialize TotalSpots first!
	at com.sas.solutions.di.server.rpp.api.NamedScopedValue.validateInit(NamedScopedValue.java:922)
	at com.sas.solutions.di.server.rpp.api.VehicleGroup.getTotalSpotsApprovedCount(VehicleGroup.java:207)
	at com.sas.solutions.di.studio.rpp.common.components.CalendarViewer.addVehicleGroups(CalendarViewer.java:865)
	at com.sas.solutions.di.studio.rpp.common.components.CalendarViewer.setItems(CalendarViewer.java:550)
	at com.sas.solutions.di.studio.rpp.calendar.detail.ui.CalendarDetailObjectsSection.refreshChart(CalendarDetailObjectsSection.java:495)
	at com.sas.solutions.di.studio.rpp.calendar.detail.ui.CalendarDetailObjectsSection.refreshViewData(CalendarDetailObjectsSection.java:359)
	at com.sas.solutions.di.studio.rpp.calendar.detail.ui.CalendarDetailObjectsSection$1$1.run(CalendarDetailObjectsSection.java:100)
	at com.sas.solutions.di.commons.ui.swt.WidgetUtils$3.run(WidgetUtils.java:803)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
...

The exception is generated when you perform the following steps:

  1. Create a calendar and a vehicle group.
  2. Switch to Total Spots Approved in the Show list in the Calendar Details view.
  3. Delete a vehicle group.

There is no workaround for this issue.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Promotion OptimizationLinux for x645.2_M45.49.3 TS1M29.4 TS1M3
Microsoft® Windows® for x645.2_M45.49.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.