When Attempting to Navigate to the Theoreticals Section Under the Compliance tab, Receiving Error, NullReferenceException: Object reference not set to an instance of an object. at Xeno.Web.UI.GSMExtensions.Formulation.DataSources.SimpleComplianceItemDat (Doc ID 2276406.1)

Last updated on AUGUST 11, 2017

Applies to:

Oracle Agile Product Lifecycle Management for Process - Version 6.2.0.0 and later
Information in this document applies to any platform.

Symptoms


When attempting to navigate to the theoreticals section under the compliance tab, receiving error:

ERROR:

Log Name: P4P-GSM

Exception: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
  at Xeno.Web.UI.GSMExtensions.Formulation.DataSources.SimpleComplianceItemDataSource.AddItemsFromConstitution()
  at Xeno.Web.UI.GSMExtensions.Formulation.DataSources.SimpleComplianceItemDataSource.InitializeRowModels()
  at Xeno.Web.UI.GSMExtensions.Formulation.DataSources.SimpleComplianceItemDataSource.get_RowItems()
  at Xeno.Web.UI.GSMExtensions.Formulation.PopUps.NutrientPropertyBreakdownInfoPopup.BindDataList(String sortByExpression)
  at Xeno.Web.UI.GSMExtensions.Formulation.PopUps.NutrientPropertyBreakdownInfoPopup.OnPreRender(EventArgs e)
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Control.PreRenderRecursiveInternal()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  at System.Web.UI.Page.HandleError(Exception e)
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  at System.Web.UI.Page.ProcessRequest()
  at System.Web.UI.Page.ProcessRequest(HttpContext context)
  at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


STEPS TO REPRODUCE:

1) Create a formulation spec workflow with the “designable” tag on draft status. Although, any status will suffice. Draft makes it easier to reproduce the issue since you do not have to perform any workflows. You can also use an existing formulation workflow with that has a designable tag.
2) Create a formulation spec with the new workflow.
3) Add a material spec as an input to the formulation.
4) Under the formulation spec’s “Process” tab, consume the material spec in a step. Make sure to add a quantity.
5) Save the formulation spec.
6) Edit the formulation spec, and look at the outputs section under the “Formulation” tab.
7) Next to the output, click on the window next to the output name.
8) Click on the “Compliance” tab in the new window.
9) Scroll to the “Complies With” section, and click the “Add New” button to add a compliance. The compliance item should show up like in the list above, with the name in the “Overrides” column, but with no name under the “Theoreticals” column.
10) Save the output, and save the formulation.
11) Make sure that formulation specification is not in edit mode any longer.
12) Navigate to the “Compliance” tab.
13) Click on the blank box under “Theoreticals”
14) Get error.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms