My Oracle Support Banner

API Used to Display PDF Reports Does Not Function Properly "Error: Object Reference Not Set To An Instance Of An Object" (Doc ID 1559229.1)

Last updated on MARCH 09, 2019

Applies to:

Hyperion Financial Data Quality Management - Version 11.1.2.2.300 and later
Information in this document applies to any platform.

Symptoms

Error: Object reference not set to an instance of an object.
Detail: Stacktrace:
Hyperion.FDM.Pages.IntersectionSummaryCheck.FillTitleRow()
Hyperion.FDM.Pages.IntersectionSummaryCheck.Page_Load(sender[Object], e[EventArgs])
System.Web.UI.Control.OnLoad(e[EventArgs])
Hyperion.FDM.Pages.BasePage.OnLoad(e[EventArgs])

Trying this in an event script trying to display file in outbox directory
File exists in the OutBox directory. It can be opened manually. Users should have rights to this outbox directory.

Code being executed.

strFileName = API.DataWindow.Connection.PstrDirOutbox & "\Logs\" & API.POVMgr.PPOVLocation & "_" & API.POVMgr.PPOVCategory & ".pdf"
Dim strHTMLFilePath

'Set the file path value (Must be a path that the App Server can access)
strHTMLFilePath = strFileName

'Web Client (Set API action properties)
RES.PlngActionType = 4 '(See Enumeration: ScriptActionTypes)
RES.PstrActionValue = strHTMLFilePath
Issue Clarification

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.