Problem Note 42624: Error "java.lang.RuntimeException: Default prices are not populated correctly, please update your database tables
" might be encountered
The following errors might be encountered when creating a new promotion in SAS® Promotion Optimization:
java.lang.RuntimeException: Default prices are not populated correctly, please update your database tables
at com.sas.solutions.di.studio.rpp.plan.price.selection.PriceModel.populateDefaultSystemPrices(PriceModel.java:137)
at com.sas.solutions.di.studio.rpp.plan.actions.AbstractCreatePromotionPlan$1.createInitalizationData(AbstractCreatePromotionPlan.java:60)
at com.sas.solutions.di.studio.rpp.plan.actions.AbstractCreatePromotionPlan$1.createInitalizationData(AbstractCreatePromotionPlan.java:59)
at com.sas.solutions.di.studio.rpp.common.actions.EditItemActionBase$LoadInitializationDataJob.execute(EditItemActionBase.java:183)
at com.sas.solutions.di.commons.jobs.AbstractJob.internalExecute(AbstractJob.java:432)
at com.sas.solutions.di.commons.jobs.AbstractJob.run(AbstractJob.java:401)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NumberFormatException
at java.math.BigDecimal.(BigDecimal.java:481)
at java.math.BigDecimal.(BigDecimal.java:671)
at com.sas.solutions.di.server.api.core.CustomAttributeDecimal.setValueAsString(CustomAttributeDecimal.java:19)
at com.sas.solutions.di.server.api.core.CustomAttribute.setPersistedValueString(CustomAttribute.java:118)
......
The UI is erroneously expecting a non-null default value for numeric custom attributes.
To work around this issue, assign the numeric custom attributes a default value or make the custom attributes as "String" type.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Promotion Optimization | Microsoft Windows Server 2003 for x64 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
64-bit Enabled AIX | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 for x64 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 4.2_M1 | 4.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
*
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: | alert |
Date Modified: | 2011-04-01 14:49:57 |
Date Created: | 2011-03-08 11:24:43 |