40738 ERROR WHEN INVOKING A REPORT BY THE DEVELOPER OF FORMS

I've created a new report and put it in the current directory to run drunk when I try to use:

REPORT_ID: = FIND_REPORT_OBJECT (lower (NOMBRE_REPORTE));
If id_null (report_id) then
message ("postponed not found...'");
end if;
the report_id is null and the following sentence show me error 40738 Argument 1 to builtin RUN_REPORT_OBJEC cannot be null

rro_report: = RUN_REPORT_OBJECT (report_id, ALIST);

I do not understand why this occur if the report is in the correct directory. When I try you launch an old report it work.

What I have to do for the reportserver can see the new report...

All can help me please...

Hello

try something like that.

DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);

BEGIN

repid := FIND_REPORT_OBJECT('REPORT6');   --Report Name
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no p_parameter=' || to_char(:block.ID );

v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
  rep_status := report_object_status(v_rep);
END LOOP; 

if
 rep_status = 'FINISHED'
then
  WEB.SHOW_DOCUMENT('http://sarah:8890/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||
  '?server=repserver' );
else
  message ( 'error while running reports-object '  || error_text );
  message ( ' ' );
  clear_message;
end if;
end; 

Sarah

Tags: Oracle Development

Similar Questions

  • error when exporting large report on the PDF in OBIEE 11.1.1.6.12

    Hello

    We have great report should be exported to PDF, I have change some setting like below:

    In the Config.xml file that is located in \BI_Home\instances\instance1\config\OracleBIJavaHostComponent\coreapplication_obijh1\, change

    < XMLP >

    < InputStreamLimitInKB > 32768 < / InputStreamLimitInKB >

    < ReadRequestBeforeProcessing > true < / ReadRequestBeforeProcessing >

    < / XMLP >

    in xdo.cfg, replace

    < property name = "system-temp-dir" > c:\temp < / property >

    the correct path

    After this adjustment, I am able to export reports to PDF, but the records of more than 10000, it throws the error in sawing:

    [2015 03-27 T 10: 51:29.000 - 04:00] [OBIPS] [ERROR: 16] [] [saw.rpc.mis.read] [ecid: 6314d6274a0b62d0:3aa2f498:14bec1dc796: - 8000-0000000000048471, 0:1] [tid: 2312] RPCServer returned an error: error when running PDFRpcCall.processMessage

    oracle.xdo.XDOIOException: com.siebel.analytics.utils.InputStreamWithLimit$ ReadOverTheLimitException

    at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1065)

    at com.siebel.analytics.web.javahostrpccalls.xmlp.XmlpAbstractRpcCall.processMessageInternal(XmlpAbstractRpcCall.java:71)

    at com.siebel.analytics.javahost.AbstractRpcCall.processMessage(AbstractRpcCall.java:251)

    at com.siebel.analytics.javahost.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:193)

    to com.siebel.analytics.javahost.Listener$ Job.run (Listener.java:223)

    at com.siebel.analytics.javahost.standalone.SAJobManagerImpl.threadMain(SAJobManagerImpl.java:207)

    to com.siebel.analytics.javahost.standalone.SAJobManagerImpl$ 1.run(SAJobManagerImpl.java:155)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: com.siebel.analytics.utils.InputStreamWithLimit$ ReadOverTheLimitException

    at com.siebel.analytics.utils.InputStreamWithLimit.incTotalBytes(InputStreamWithLimit.java:58)

    at com.siebel.analytics.utils.InputStreamWithLimit.read(InputStreamWithLimit.java:49)

    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)

    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)

    at oracle.xdo.common.io.FileUtil.writeLargeFile(FileUtil.java:75)

    at oracle.xdo.template.FOProcessor.xmlDataSave(FOProcessor.java:2229)

    at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1050)

    ... 7 more

    [[

    Leader: RPC.cpp

    Online: 473

    Geographical area:

    Saw.RPC.mis.Read

    Saw.Subsystem.Portal.pdf

    Saw.httpserver.ProcessRequest

    Saw.RPC.Server.Responder

    Saw.RPC.Server

    saw.rpc.server.handleConnection

    Saw.RPC.Server.Dispatch

    Saw.ThreadPool.socketrpcserver

    Saw.threads

    SessionID: 6hj63tlcl14h5jfa8m9dacbmgea1frjsndqc6ta

    AuthProps: AuthSchema = UidPwd | PWD = * | UID = wei | User = wei

    ECID: 6314d6274a0b62d0:3aa2f498:14bec1dc796: - 8000-0000000000048471, 0:1

    ThreadID: 2312

    HttpCommand: go

    ]]

    [2015 03-27 T 10: 51:29.000 - 04:00] [OBIPS] [ERROR: 31] [] [saw.rpc.mis.read] [ecid: 6314d6274a0b62d0:3aa2f498:14bec1dc796: - 8000-0000000000048471, 0:1] [tid: 2312] a fatal error occurred during the processing of the request. The server responded with: com.siebel.analytics.utils.InputStreamWithLimit$ ReadOverTheLimitException. [[

    Leader: RPC.cpp

    Online: 479

    Geographical area:

    Saw.RPC.mis.Read

    Saw.Subsystem.Portal.pdf

    Saw.httpserver.ProcessRequest

    Saw.RPC.Server.Responder

    Saw.RPC.Server

    saw.rpc.server.handleConnection

    Saw.RPC.Server.Dispatch

    Saw.ThreadPool.socketrpcserver

    Saw.threads

    SessionID: 6hj63tlcl14h5jfa8m9dacbmgea1frjsndqc6ta

    AuthProps: AuthSchema = UidPwd | PWD = * | UID = wei | User = wei

    ECID: 6314d6274a0b62d0:3aa2f498:14bec1dc796: - 8000-0000000000048471, 0:1

    ThreadID: 2312

    HttpCommand: go

    In addition, we have already set in configuration in insatanceconfig.xml for report export to excel that has no problem:

    < ResultRowLimit > 300000 < / ResultRowLimit >

    < / ODBC >

    < views >

    < Center >

    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >

    < DefaultRowsDisplayedInDelivery > 2500 < / DefaultRowsDisplayedInDelivery >

    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >

    < defaultRowsDisplayedInDownload > 200000 < / DefaultRowsDisplayedInDownload >

    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >

    < DisableAutoPreview > false < / DisableAutoPreview >

    < > 1920000 MaxCells < / MaxCells >

    < MaxVisibleColumns > 5000 < / MaxVisibleColumns >

    < MaxVisiblePages > 2500 < / MaxVisiblePages >

    < MaxVisibleRows > 500000 < / MaxVisibleRows >

    < MaxVisibleSections > 5000 < / MaxVisibleSections >

    < / Center >

    < table >

    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >

    < DefaultRowsDisplayedInDelivery > 2500 < / DefaultRowsDisplayedInDelivery >

    <! - this Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware control - >

    < defaultRowsDisplayedInDownload > 200000 < / DefaultRowsDisplayedInDownload >

    < > 1920000 MaxCells < / MaxCells >

    < MaxVisiblePages > 2500 < / MaxVisiblePages >

    < MaxVisibleRows > 500000 < / MaxVisibleRows >

    < MaxVisibleSections > 5000 < / MaxVisibleSections >

    < /table >

    < cube >

    < CubeMaxRecords > 500000 < / CubeMaxRecords >

    < CubeMaxPopulatedCells > 500000 < / CubeMaxPopulatedCells >

    < / cube >

    < graphics >

    < MaxVisibleColumns > 5000 < / MaxVisibleColumns >

    < MaxVisiblePages > 2500 < / MaxVisiblePages >

    < MaxVisibleRows > 500000 < / MaxVisibleRows >

    < MaxVisibleSections > 5000 < / MaxVisibleSections >

    < JavaHostReadLimitInKB > 10240 < / JavaHostReadLimitInKB >

    < / charts >

    < / views >

    Someone knows if I get bored always something here?

    Thank you

    Check this Doc ID 1567582.1

  • Error when you try to view the application latencies

    I'm not able to get see Planner to latencies report application series of tests with multiple virtual machines in them. If I run a test that has 3-2 VMs in it while I'm able to view the results of the trial very well, however when I try to run tests with more of that I get errors when I try to view the results. When I try to load the web page results to see Planner, nothing happens, and I get the following error in viewplanner.log:

    2012-10-24 20:16:13, 025 INFO {}
    Unhandled error
    Traceback (most recent call changed):
    File "/ usr/lib/python2.6/site-packages/twisted/web/http.py", line 773, requestReceived
    Self.Process)
    File "/ usr/lib/python2.6/site-packages/twisted/web/server.py", line 127, process
    Self.Render (resrc)
    File "/ usr/lib/python2.6/site-packages/twisted/web/server.py", line 147, in rendering
    body = resrc.render (self)
    File "/ usr/lib/python2.6/site-packages/txjsonrpc/web/jsonrpc.py", line 112, rendering
    () defer.maybeDeferred(function,_*args).addErrback
    -< exception that is caught here >-
    File "/ usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 133, in maybeDeferred
    result = f (* args, * kw)
    File "/ tmp/ViewPlanner/web_interface.py", line 527, jsonrpc_getResultsMap
    File "/ tmp/ViewPlanner/mysql_interface.py", line 571, in getTestAverages
    exceptions. KeyError: 0

    When I try to manually execute the python script statement, it tells me that there is no result for the test.

    I just ran a test locally with 276 VMs, according to viewplanner.log, all 276 VMs transferred their results to the device. Yet I still get this error when you try to view the results.

    I tried to create new images GoldenDesktop and GoldenClient, as well as deployed a new device see Planner and reinstalled all of its agent programs, nothing helps. Anyone know what could be the cause?

    We have seen this issue for large series and I attach a patch file that you can overwrite the/root/ViewPlanner harness directory and then restart the vdiappd service, and then you can give it a try.

    For manual results extratcion by using the report.pyc script, you must use '-j' I ' and '-j' operations if you ran just 1 iteration of the workload.

  • website valid W3C, initially no error reported by the developer toolbar. But by right clicking (giving the menu validation), the toolbar reports two errors: width and height. Despite the fact that each page is posted! The forum for the toolbar, this i

    website valid W3C, initially no error reported by the developer toolbar. But by right clicking (giving the menu validation), the toolbar reports two errors: width and height. Despite the fact that each page is posted! The forum for the toolbar, it's supposed to be a browser error. So, how can it be fixed? I use FF 3.6.6

    This has happened

    Each time Firefox opened

    is after upgrade to 3.5?

    http://chrispederick.com/forums/viewtopic.php?PID=8239#p8239

    You create a new profile and install only the extension Web Developer, as recommended Chris?

  • get error when you try to lower the java load error 1-4 of 4 0 x 80070643.

    get error when you try to lower the java load error 1-4 of 4 0 x 80070643.

    This forum is for Microsoft Security Essentials.

    You question is with Oracle Java.

    It is recommended to go to www.oracle.com to get help.

  • Code 80072EE2 error when I try to update the update for Windows Vista (KB972145) tried to install on a week help someone?

    Code 80072EE2 error when I try to update the update for Windows Vista (KB972145) tried to install on a week help someone?

    sweetcheeks,

    0x80072EE2 ERROR_INTERNET_TIMEOUT http://support.microsoft.com/kb/836941/en-us

  • Windows XP SP3: Access denied error when you try to change the beginning upward in MS CONFIG. Director of applications but I am the administrator.

    original title: access denied errors when you try to change the beginning upward in xp sr CIP 3 msconfig. I am the administrator, please the administrator

    I am a user with privileges under windows xp pro service PAC 3. I recently received an access denied error message acusing me of not being the administrator when I tried to limit the start up programs in msconfig. What should I do these changes in safe mode?

    You have scanned your system for malware? It seems its infected with something. Download ccleaner install / run. Then go to tools / startup. Delete the entries that you want here

  • Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems) in Vista

    Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems). It keeps failing even though I followed the steps all the recommended (in aid) and installed some other stuff.  Tried several times but nothing helped.  I saw a recommendation to install a Wups2.dll file but do not know if I should do it because the recommendation is for Windows XP and I have Vista Home.

    Hello

    I suggest check the link below and try do a SFC (System File Checker) scan and check if it helps.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    I would also say that you reset Windows update components and check if this may help.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

  • Error when you try to play the game: memory access violation

    memory access violation

    I have redownloaded a game that has been previously loaded on my computer, now I get this error when you try to play the game "Memory Access Violation".

    Your sound card that is more than adequate.
    If the game was previously installed and worked fine then maybe it is not been completely uninstalled.
    I suggest you uninstall the game, look in the registry for any left over entries that can refer to the game.

    Then restart and reinstall the game.

    Alternatively, you can try to install in compatibility mode. If the program is not compatible, then you try to install and run the program in compatibility mode.
    Use the following steps:
    (1) right click on the program
    2) click Properties
    3) click on the Compatibility tab
    (4) select run this program in compatibility mode and select Windows Vista or other operating system, the program has been run successfully.

    Check out the link here: make sure to run older programs in this version of Windows
    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Let us know if that helps.

    Marilyn

  • Problem with burning Audio files to a blank CD error "Windows Media Player encountered an error when burning. Check that the burner is connected properly and that the disc is clean and not damaged"

    I recently burned music CD blank so I can enjoy some songs in the car. After that a few discs engraved with success, I received the message "Windows Media Player encountered an error when burning. Check that the burner is connected properly and that the disc is clean and not damaged"when trying to burn audio. To see if it was the m drive, I tried to burn audio files to four separate discs and each of them had the error message. The discs are brand new and have no information on them. I do something wrong or is my burner disconnected? Thanks for all your help and your support! I hope that we can find the cause of this problem so I can continue to make the CDs.

    Consumers concerned,

    Cody bridges

    Could you also confirm that it is playing the discs ok?

    Run the sfc tool and see if it shows anything... instructions here.

    http://support.Microsoft.com/kb/929833/en-us

  • Error when you try to run the game in the call of duty Black Ops II of BEX

    Hi all

    I get this error when I try to run the request of COD Black Ops single player II file.

    Signature of the problem:
    Problem event name: BEX
    Application name: t6sp.exe
    Application version: 1.0.0.1
    Application timestamp: 509a 7621
    Fault Module name: StackHash_4bc9
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception offset: 0012fd4c
    Exception code: c0000005
    Exception data: 00000008
    OS version: 6.1.7601.2.1.0.256.1
    Locale ID: 16393
    Additional information 1: 4bc9
    More information 2: 4bc95bc08c80253552a5c9f5e69006f7
    Information additional 3:7736
    Additional information 4: 77363e9c4fcc0db54525b3b0c99efd5e

    Read our privacy statement online:
    http://go.Microsoft.com/fwlink/?LinkId=104288&clcid=0x0409

    If the online privacy statement is not available, please read our offline privacy statement:
    C:\Windows\system32\en-US\erofflps.txt

    Please notify.

    Thank you

    Pravin

    Hi Pravin

    It is a Buffer Exreception overflow error that takes place within the program, caused by the t6sp.exe file.

    A buffer overflow occurs when data written to a buffer programmatically also corrupts data values in memory addresses adjacent to the destination due to the insufficient limits check buffer. This can happen when you copy data from a buffer to the other without checking first that the data fits into the destination buffer.

    I recommend that you contact the developer for assistance or to check known issues or updates of performance for this game.

    Support from Activision:
    http://support.Activision.com/Contact_us

    Concerning

  • Error when you try to set the Parental control 'Unable to set settings for administrators user or unknown users.

    I am trying to set up Parental controls for the user account of my son and I get the following error: error when you try to set the Parental control 'Unable to set settings for administrators user or unknown users.

    I tried to use the administrator account.

    When I ran the System File Check sfc/scannow

    TI completed indicating certain files may be damaged and cannot be repaired and check the convertible bonds. LOG file.

    How can I know which files are corrupted.

    Any other Suggestions on how to fix this user profile?  Do I have a profile that I don't know?

    Hi wimuggss,
     
    Step 1: Disable UAC (User Account Control) and check the result
    See How can I change the behavior of user account control by using the cursor?
    Note: You must restart your computer when you enable or disable UAC. Change levels of notification does not require that you restart your computer.
     
    Important: Enable UAC after you complete the steps.
     
    Step 2: If the problem persists, try to set the parental control in safe mode and check the result. If you are able to apply settings in safe mode, this means that some program is causing this problem, mainly the security software.
    See Start your computer in safe mode
    Kind regards
    Syed - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.
  • I'm getting follwing error when I try to open the computer management in windows 7, the error is as follows.

    The program cannot start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

    I'm getting follwing error when I try to open the computer management in windows 7, the error is as follows.

    The program cannot start because MSVCR100.dll is missing from your computer. Try reinstalling the program to fix this problem.

    Where can I find this dll file and help me to download and install.

    MSVCR100. DLL is part of C++ 2010.  You need to reinstall that.

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=A7B7A05E-6DE6-4D3A-A423-37BF0912DB84&displaylang=en

  • A 0x8020002e error when I tried to update the pre-installed applications

    Original title: 0x8020002e

    Hi Microsoft supports,

    I met a 0x8020002e error when I tried to update the pre-installed in my laptop windows applications 8.

    There is no problem with my wifi connection as I can easily browse the web and download applications through internet.

    I tried to search for solutions on the web, but all suggested do not work.

    It is a common problem among all users of windows 8 and we really hope you can provide us with the fix.

    Thank you.

    Try this suggestion.

    Windows 8 Store Update 0x8024001E error code
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_cp-windows_store/Windows-8-store-update-error-code-0x8024001E/49820d2a-241e-471e-89F4-7b5440bb8abf

    The poster means Windows key + X when he mentions "Activate Windows + X and turn on the command line (Admin)".

    -What are you connected to a Local or a Microsoft Account account?

    Introduction to Windows 8: If you use a Local account or a Microsoft account?
    http://www.7tutorials.com/introducing-Windows-8-should-you-use-local-account-or-Microsoft-account

    See if the program can diagnose any problems and fix them.

    Download and run the troubleshooter modern UI App and check.
    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    What to do if you have problems with a soft
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Try to clear the cache of Windows Store:

    On the screen, press Windows + R key to open the Run dialog box.

    Type WSReset.exe and press ENTER.

  • I receive an error when I try to download the trial version of After Effects an Adope Id I have already

    I receive an error when I try to download the trial version of After Effects an Adope ID I have already

    Download and install the desktop application Adobe Creative cloud and then connect with the Adobe ID and then click the applications tab, and then click the Try button beside Affter Effects:

    Windows version Adobe Creative Cloud Setup:

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

    Reference:

    Download and install Adobe Creative Cloud apps

Maybe you are looking for

  • Splash screen goes to apple then goes black

    I have not used my macbook air 13 "mid-2011 for a while. (It had been set aside, but I finally found it.) I tried to turn it on once it has been reloaded, but I get a grey screen showing the Apple but then I see a glimmer of a line underneath and the

  • Satellite C660 refuses to stop

    Hi all I hope someone can help, my laptop refuses to stop and I have no idea why.Someone at - it suggestions? Thank you

  • Does everything except officejet 6500 still won't print black not - help!

    Hello HP Officejet 6500 E709a, purchased in June 2011, stopped printing in black ink one day last week.  Quickly, I ordered new ink and replace the cartridge.  When he wouldn't even print I started troubleshooting and followed all the steps.  After c

  • Mail and iCloud application

    Hello! I'm just curiosities about why the Mail App is included in the iCloud features? I mean, your mail is updated on your device once you connect this device to the internet. So, what is the purpose of the iCloud?

  • How can satellite M30x, I find the model number?

    Helloneed to get the drivers for my old Toshiba Satellite M30x *. The stickers below are washed out and I can't read the model number more. How can I know the model number to get the right drivers? Thanks for help