Problem Note 48079: "java.lang.StackTraceElement - Failed to execute runnable..." generated when opening Pricing Rules Graph
SAS® Regular Price Optimization might generate an exception when you open the Pricing Rules Graph.
You might see a message similar to the one below in the distudio.log file:
2012-09-06 07:30:56,231 FATAL main java.lang.StackTraceElement - Failed to execute runnable (java.lang.NullPointerException)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
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:182)
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: java.lang.NullPointerException
at com.sas.solutions.di.studio.rpo.rulegraph.RuleGraphVCP.createComposite(RuleGraphVCP.java:238)
at com.sas.solutions.di.studio.rpo.rulegraph.RuleGraphVCP.createRightControl(RuleGraphVCP.java:129)
at com.sas.solutions.di.studio.views.AbstractSplitPageVCP.createControl(AbstractSplitPageVCP.java:333)
at com.sas.solutions.di.studio.views.AbstractPagedView.createPage(AbstractPagedView.java:1029)
at com.sas.solutions.di.studio.views.AbstractPagedView.addContentProvider(AbstractPagedView.java:625)
at com.sas.solutions.di.studio.views.AbstractPagedView.addContentProvider(AbstractPagedView.java:572)
at com.sas.solutions.di.studio.rpo.rulegraph.LoadRuleGraphJob.displayResults(LoadRuleGraphJob.java:126)
at com.sas.solutions.di.commons.jobs.AbstractJob$5$1.run(AbstractJob.java:725)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
... 22 more
This error occurs when the minimum or maximum value is null in a Margin price rule.
To work around this issue, ensure both the minimum and maximum values are populated when you create a Margin price rule.
Operating System and Release Information
| SAS System | SAS Regular Price Optimization | Microsoft® Windows® for x64 | 5.2 | 5.2_M1 | 9.3 TS1M1 | 9.3 TS1M2 |
| Linux for x64 | 5.2 | 5.2_M1 | 9.3 TS1M1 | 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: | alert |
| Date Modified: | 2012-10-09 11:45:28 |
| Date Created: | 2012-10-04 05:17:34 |