Problem Note 48968: Exception generated when you create an optimized promotion and enter more than ten price candidates overrides for the simple price type
The following exception might be generated when you create an optimized promotion and enter more than ten price candidates overrides in the Pricing page for the simple price type:
java.lang.NullPointerException
at com.sas.solutions.di.studio.rpp.plan.properties.PlanOptimizationPage.focusGained(PlanOptimizationPage.java:237)
at com.sas.solutions.di.commons.ui.dlg.wizard.PageNavigatorComposite.selectList(PageNavigatorComposite.java:208)
at com.sas.solutions.di.commons.ui.dlg.wizard.PageNavigatorComposite.widgetSelected(PageNavigatorComposite.java:186)
at com.sas.solutions.di.commons.ui.dlg.wizard.PageNavigatorComposite.nextPage(PageNavigatorComposite.java:273)
at com.sas.solutions.di.commons.ui.dlg.wizard.PagingDialog.buttonPressed(PagingDialog.java:755)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.sas.solutions.di.commons.ui.dlg.wizard.PagingDialog.open(PagingDialog.java:663)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemContextActionBase.openAndSave(EditItemContextActionBase.java:119)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemContextActionBase.createDialogConfigAndOpen(EditItemContextActionBase.java:155)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemContextActionBase.access$100(EditItemContextActionBase.java:38)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemContextActionBase$LaunchDialogJobResultsHandler.displayResults(EditItemContextActionBase.java:222)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemContextActionBase$LaunchDialogJobResultsHandler.displayResults(EditItemContextActionBase.java:204)
at com.sas.solutions.di.commons.jobs.AbstractJob$3.run(AbstractJob.java:474)
...
The exception is generated when you enter more than ten price candidates and then select Optimization Settings. When you enter more than ten price candidates, the following warning is generated at the bottom of the page, but you are incorrectly allowed to select Optimization Settings:
Candidates are limited to 10 values
The workaround is to enter ten or fewer price candidates.
Operating System and Release Information
| SAS System | SAS Promotion Optimization | Microsoft® Windows® for x64 | 5.2 | 5.2_M2 | 9.3 TS1M2 | 9.3 TS1M2 |
| Linux for x64 | 5.2 | 5.2_M2 | 9.3 TS1M2 | 9.3 TS1M2 |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2013-03-07 13:20:49 |
| Date Created: | 2013-01-22 10:02:20 |