Home » Developer & Programmer » Forms » Forms 6i - REPORT_OBJECT_STATUS cannot be null
Forms 6i - REPORT_OBJECT_STATUS cannot be null [message #440087] Thu, 21 January 2010 00:27 Go to next message
Derek N
Messages: 80
Registered: September 2002
Member
Hi

I have an existing form and report. We recreated our testing environment and now when running any report I first get the following error:
REP-3002: Error initializing printer.Please make sure a printer in installed.

This error pops up when calling RUN_REPORT_OBJECT.

The next line of code checks the report status by using REPORT_OBJECT_STATUS. This check throws out error: FRM-40738: Argument1 to builtin REPORT_OBJECT_STATUS cannot be null.

This indicates that my FIND_REPORT_OBJECT is not returning a value.

All these reports and forms used to work fine on our old testing environment and also works on our live database.

Any help would be appreciated.



Re: Forms 6i - REPORT_OBJECT_STATUS cannot be null [message #440089 is a reply to message #440087] Thu, 21 January 2010 00:36 Go to previous messageGo to next message
ramoradba
Messages: 2454
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
Quote:
workaround: Forms Server NT Service must have visibility of a default
printer when integrating Reports with Forms via the RUN_PRODUCT Built-in).


sriram Smile
Re: Forms 6i - REPORT_OBJECT_STATUS cannot be null [message #440090 is a reply to message #440089] Thu, 21 January 2010 00:44 Go to previous messageGo to next message
Derek N
Messages: 80
Registered: September 2002
Member
Hi

I am using RUN_REPORT_OBJECT and not RUN_PRODUCT on a Linux platform. The reports are displayed via the web browser.
Re: Forms 6i - REPORT_OBJECT_STATUS cannot be null [message #440110 is a reply to message #440087] Thu, 21 January 2010 02:40 Go to previous messageGo to next message
Littlefoot
Messages: 20824
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Derek N wrote on Thu, 21 January 2010 07:27
All these reports and forms used to work fine on our old testing environment and also works on our live database.

Make sure that the new test environment is the same as the old one (or, even better, as your new production).
Re: Forms 6i - REPORT_OBJECT_STATUS cannot be null [message #444942 is a reply to message #440110] Wed, 24 February 2010 21:58 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you tried using web.show_document?

David
Previous Topic: WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
Next Topic: Forms Performance Tuning (merged by CM)
Goto Forum:
  


Current Time: Sun Sep 25 09:32:08 CDT 2016

Total time taken to generate the page: 0.04419 seconds