SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48611: "ObjectNotFoundException: ProductModel2: element with key 1 is not found at permission WRITE..." generated when attempting to change promotion scope

DetailsHotfixAboutRate It

The following exception might be generated in SAS® Promotion Optimization when attempting to change the product or location scope of a promotion:

java.lang.RuntimeException: com.sas.solutions.di.server.api.ObjectNotFoundException: ProductModel2: element with key 1 is not found at permission WRITE at com.sas.solutions.di.commons.mvc.AbstractDimensionModel2.getRootPaths(AbstractDimensionModel2.java:237) at com.sas.solutions.di.commons.mvc.AbstractDimensionModel2.getElementsBySk(AbstractDimensionModel2.java:258) at com.sas.solutions.di.commons.selectprodgeo.AbstractSelectProdGeoConfig$LoadHierarchyDataJob.execute(AbstractSelectProdGeoConfig.java:650) at com.sas.solutions.di.commons.jobs.AbstractJob.internalExecute(AbstractJob.java:454) at com.sas.solutions.di.commons.jobs.AbstractJob.run(AbstractJob.java:420) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: com.sas.solutions.di.server.api.ObjectNotFoundException: ProductModel2: element with key 1 is not found at permission WRITE at com.sas.solutions.di.commons.mvc.AbstractDimensionModel2.getRootPaths(AbstractDimensionModel2.java:226) ...

The exception is generated when you attempt to change the product or location scope of a promotion and you do not have permissions for the full product or location scope.

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 OptimizationMicrosoft® Windows® for x645.25.2_M29.3 TS1M19.3 TS1M2
Linux for x645.25.2_M29.3 TS1M19.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.