No page error but also no image displayed on the report ?

Hi Everyone,
First I like to apologise for the long post, but I would like to make sure that I am providing the full information so as not to waist anyone's time.
As I am having problems displaying images, in a report, but I am not getting any errors, all I see is the typical red X where the image shout be. When I right click the red X and select properties, it all appears to be fine:
http://127.0.0.1:8080/apex/ZOROPIO.FILE_TO_BLOB?p_file_id=6
except that Type: Not Available
and Size: Not Available
So I decided to creating a table and procedures to specifically test my approach and I am still getting the same result.
I have an Apex page where uses can upload an image to the system, using the following Page Process:
On Submit - After Computations and validations
FOR REC IN( SELECT FILENAME, MIME_TYPE
FROM HTMLDB_APPLICATION_FILES
WHERE NAME = :P4_FILENAME
LOOP
INSERT INTO AB ( FNAME, MTYPE )
VALUES (REC.FILENAME, REC.MIME_TYPE);
END LOOP;
ZOROPIO.BLOB_TO_FILE(:P4_FILENAME);
DELETE FROM HTMLDB_APPLICATION_FILES
WHERE NAME = :P4_FILENAME;
The AB table is define as:
CREATE TABLE "AB"
(     "DB_ID" NUMBER NOT NULL ENABLE,
     "FNAME" VARCHAR2(256 CHAR) NOT NULL ENABLE,
     "A_IMG" BFILE,
     "MTYPE" VARCHAR2(256 CHAR),
     CONSTRAINT "AB_PK" PRIMARY KEY ("DB_ID") ENABLE
CREATE OR REPLACE TRIGGER "BI_AB"
BEFORE INSERT
ON ZOROPIO.AB
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
tmpVar NUMBER;
BEGIN
tmpVar := 0;
SELECT NVL (MAX (DB_ID), 0) + 1 INTO tmpVar FROM AB;
:NEW.DB_ID := tmpVar;
IF :NEW.FNAME IS NOT NULL THEN
:NEW.A_IMG := BFILENAME ('IMG', :NEW.FNAME);
END IF;
END BI_AB;
ALTER TRIGGER "BI_AB" ENABLE
The BLOB_TO_FILE procedure is defined as:
create or replace PROCEDURE BLOB_TO_FILE (p_file_name VARCHAR2) AS
l_out_file UTL_FILE.FILE_TYPE;
l_buffer RAW (32767);
l_amount BINARY_INTEGER := 32767;
l_pos INTEGER := 1;
l_blob_len INTEGER;
p_data BLOB;
file_name VARCHAR2 (256);
BEGIN
FOR rec IN (SELECT ID
FROM HTMLDB_APPLICATION_FILES
WHERE Name = p_file_name) LOOP
SELECT BLOB_CONTENT, filename
INTO p_data, file_name
FROM HTMLDB_APPLICATION_FILES
WHERE ID = rec.ID;
l_blob_len := DBMS_LOB.getlength (p_data);
l_out_file := UTL_FILE.fopen ( 'IMG',file_name, 'wb', 32767 );
WHILE l_pos < l_blob_len LOOP
DBMS_LOB.Read ( p_data,l_amount, l_pos, l_buffer );
IF l_buffer IS NOT NULL THEN
UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
END IF;
l_pos := l_pos + l_amount;
END LOOP;
UTL_FILE.fclose (l_out_file);
END LOOP;
EXCEPTION
WHEN OTHERS THEN
IF UTL_FILE.is_open (l_out_file) THEN
UTL_FILE.fclose (l_out_file);
END IF;
END BLOB_TO_FILE;
This works fine, as I can see the data in both the OS Directory and the AB table after the user uplodas the image.
I have then define an Apex Report pageto display the uploaded images. The page has the following Source:
SELECT FNAME, MTYPE,
'<IMG SRC="ZOROPIO.FILE_TO_BLOB?p_file_id='||NVL( DB_ID, 0)||'"HEIGHT="'||80||'"WIDTH="'||100||'"/>' AS IMAGE
FROM ZOROPIO.AB
The ZOROPIO.FILE_TO_BLOB procedure is defined as:
CREATE OR REPLACE PROCEDURE ZOROPIO.FILE_TO_BLOB ( p_file_id NUMBER ) IS
l_mime_type VARCHAR2 ( 256 );
l_file_name VARCHAR2 ( 256 );
l_bfile BFILE;
l_blob BLOB;
l_bfile_length NUMBER;
l_blob_length NUMBER;
BEGIN
SELECT FNAME, MTYPE
INTO l_file_name, l_mime_type
FROM AB
WHERE DB_ID = p_file_id;
l_bfile := BFILENAME ('IMG', l_file_name);
-- MAKE SURE THE FILE EXIST
IF ( DBMS_LOB.FILEEXISTS( l_bfile ) = 1 ) THEN
DBMS_LOB.CREATETEMPORARY ( l_blob, TRUE, DBMS_LOB.SESSION );
DBMS_LOB.FILEOPEN ( l_bfile );
l_bfile_length := DBMS_LOB.GETLENGTH ( l_bfile );
DBMS_LOB.LOADFROMFILE ( l_blob, l_bfile, l_bfile_length );
DBMS_LOB.FILECLOSE ( l_bfile );
l_blob_length := DBMS_LOB.GETLENGTH ( l_blob );
OWA_UTIL.MIME_HEADER( NVL ( l_mime_type, 'Application/Octet' ), FALSE );
HTP.P ( 'Content-length:' || l_blob_length );
OWA_UTIL.HTTP_HEADER_CLOSE;
WPG_DOCLOAD.DOWNLOAD_FILE ( l_blob );
DBMS_LOB.FREETEMPORARY( l_blob );
ELSE
RAISE_APPLICATION_ERROR(-20007, 'Requested IMG does not exist');
END IF;
END FILE_TO_BLOB;
I have GRANT EXECUTE to ZOROPIO for both the procedures:
BLOB_TO_FILE
FILE_TO_BLOB
The Oracle database verison, Apex version, etc details are:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Language: en-gb
Application Express 3.2.1.00.12
Any sugestions, help, etc would be much appreciated.
Thank you
Daniel

Hi everyone,
I have check everyone possible and I am unable to find the cause of the problem.
I decided to recreate an identical setup to the examples provided by Denes on his workspace and I still have the same issue.
I have change the wwv_flow_epg_include_modules.authorize to include Denes procedure as you can see below.
CREATE OR REPLACE function APEX_030200.wwv_flow_epg_include_mod_local( procedure_name in varchar2) return boolean is
begin
if upper(procedure_name) in ( 'my_image_display' ) then
return TRUE;
else
return FALSE;
end if;
end wwv_flow_epg_include_mod_local;
The only way I can get it to work is to change the function to RETURN TRUE before the IF statement.
Any suggestion and this stage may prevent my insanity from getting to silly levels.
Regards
Daniel

Similar Messages

  • STORAGE OF PDF IN A TABLE, AND ALSO WAY TO DISPLAY THROUGH THE REPORT

    Hello All,
    Kindly help me out if possible,
    I have a table, lets say table1.
    Kindly guide me that if I want to store a PDF under a column of table1 then how can I store it? What the datatype should I use to store this pdf.
    Also Kindly give me the way to display this PDF through Report...
    Thank you...
    Edited by: 974572 on Dec 3, 2012 2:26 AM

    PLEASE DO NOT SHOUT (in the title as well).
    >
    I have a table, lets say table1.
    Kindly guide me that if I want to store a PDF under a column of table1 then how can I store it? What the datatype should I use to store this pdf.
    >
    Store in a BLOB column.
    >
    Also Kindly give me the way to display this PDF through Report...
    >
    See < a href="https://forums.oracle.com/forums/search.jspa?threadID=&q=display+pdf&objID=f137&dateRange=thisyear&userID=&numResults=15">this link and check the solutions given.</a>

  • Why does moving the mouse over an IMAQ image display slow the GUI down so much?

    I have a large application with several vi's running simultaneously under labview 8.6.1.  When I mouse over an image display control in one of the vi's, everything slows down a shocking amount in all the other vi's.  The windows task manager does not show a large increase in CPU use.  My pc is has a quad cpu with 4GB of RAM, and the CPU and memory loads do not appear to be terribly taxing to the system.  However, many of my vi's apparently come almost to a standstill if I just move the mouse in a circle around my image control.
    This looks like it is largely a GUI display issue.  If I make a new vi and put a while loop in it that only displays the iteration loop number to an indicator, I can see the iterating occurring, then stopping totally when I mouse inside the image display control.  When I stop moving the mouse inside the control, or when I move it outside the control, the interation loop number jumps up, as if it had been incrementing behind the scenes the whole time.  So only display of the interating was halted.
    This problem occurs even if the vi with the image control is not executing.  If the vi with the image control is open but not running, and I mouse over the image on it, the other guis all come to a screeching halt.
    Does mousing in the image display control really utterly crush all other guis in all other labview windows?  Is this an issue inherent to the image display control?  If so, is there anything I can do about this? 
    Also, this issue is not entirely limited to display.  I started looking at it in greater detail because this issue also exposed what I think is a race condition in my code.  I have a vi that acquires an image from a ccd and puts it into an IMAQ image.ctl.  This image then gets passed up to a vi up the call chain, and is put on a queue and sent over to be de-queued by a vi that has the image display control.  Here's the kicker:  when I mouse over the image display control, the image successfully gets acquired inside the subvi, and if I probe the wire leading to the output IMAQ image display.ctl, I see the image.  If I simultaneously probe the wire coming out of the subvi one level up the call chain, the image gets lost about half the time.  This only happens if I am mousing in the image display control IN A TOTALLY DIFFERENT AND SEPARATE VI.  If I bump up the priority of the ccd image acquisition vi to 'highest priority', the problem only happens about 1% of the time, and I really have to mouse around to make it happen.  Still, it's disturbing that mousing in the GUI in one window results in a failure of a separate subvi to simply pass an image up the call chain.  I understand that IMAQ images are referenced rather than passed by value, but I don't see why there should be a failure to pass the image up the call chain.  I've looked for a race condition, but can't find one.
    Eric

    I have finally been able to replicate the behavior that you are seeing on another computer once the image was large enough.  Here are a few notes about this behavior:
    First. The UI only slows down when the images are large, 16 bit images.  The reason why this is unique to 16 bit images is that they can only be displayed on the front panel as 8 bit images.  The workaround that Weiyuan suggested to change the 16 bit display mapping hints towards the root of the problem...that any time a mouse runs over the indicator, Windows asks the entire image to re-draw (having a separate indicator overlapping the image will create the same behavior).  With a 16 bit image, not only does the image have to re-draw on the screen but the 16 bit pixels need to be mapped to 8 bits.  When setting the 16 bit display mapping to Full Dynamic, this requires mor computation/pixel than 90% dynamic or one of the other mapping schemes.
    This is expected behavior if your program is running and you're trying to display a large 16 bit image.  To fix this behavior there are a couple options:
    Change the 16 bit display mapping to something other than full dynamic.  You can choose which 8 bits to display or if you want to map the bits. 
    Resize the image just for viewing purposes on your front panel (since you aren't going to view every single pixel of you image on the screen). You can use the IMAQ Resample.vi to do this.  This will allow you to take your 1500x1500 pixel image and only display a 500x500 pixel version.
    If you are interested in viewing small details of the large image, consider just displaying a smaller region of interest at a time.
    Let me know if any of these solutions work for you.  Good luck on your application.
    Zach C.
    Field Engineer
    Greater Los Angeles

  • When i try to load any page on Mozilla 28 the page opens but i get additional tab saying The address isn't valid The URL is not valid and cannot be loaded.

    When i try to load any page on Mozilla 28 the page opens but i get additional tab saying The address isn't valid The URL is not valid and cannot be loaded. I tried everything from reseting Firefox ,completely new installation of firefox to about.config and nothing worked it's been two days now since the problem started and i am pretty frustrated and desperate as i try to fix the issue so please help me with some solutions????
    Big thanks in advance

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Preferences_not_saved

  • I am trying to set up iCloud to sync my Outlook Calendar however it keeps failing due to 'an unexpected error' but it doesn't say what the error is! Any suggestions would be gratefully received.

    I am trying to set up iCloud to sync my Outlook Calendar however it keeps failing due to 'an unexpected error' but it doesn't say what the error is! Any suggestions would be gratefully received.

    Create a iTune and App Store account without credit card
    1. Go to App Store and select a free app
    2. Tap INSTALL APP
    3. Create New Apple ID
    4. Confirm Your Country
    5. Agree with Terms and Conditions
    6. Fill in your Apple ID and Password (must be a valid email address)
    7. Create and answer your secret question e.g. What is the name of my dog?
    8. Select NONE for Payment Method
    9. Fill in Billing Address i.e. your address
    10. Submit application for new Apple ID
    11. Wait for verification email
    12. When email arrive, verify your account
    13. Start downloading your free apps

  • Why is it when safari is minimized on my iPhone it's stuck on a certain pages thumbnail but when I click on it the correct page shows up?

    Why is it when safari is minimized on my iPhone it's stuck on a certain pages thumbnail but when I click on it the correct page shows up?

    It doesn't really matter whether I am talking to Apple or not (and I'm sure they monitor these comments), I want everyone to know how bad this new iphone 4s is, and all of it's problems.
    Apple have already launched an upgrade to the software - it obviously did not help, as many around the world would concur.
    As far as being patient and waiting for another "update in the works" is concerned, it is just not satisfactory. This is not a cheap phone, and those who are experiencing these problems, should not have to be paying a substantial amount of money, for a very smart phone, that obviously, has some serious problems.

  • WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point

    I am getting the following error message while trying to configure a database for a Reporting Service Server.  Both SQL Server and Reporting server are 2012 named instances.  I have 2014 instances as well on the same server.
    Exception details...
    Microsoft.ReportingServices.WmiProvider.WMIProviderException: An error occurred when attempting to connect to the report server remote procedure call (RPC) end point. Verify that the Report Server Windows service is running, and then retry the operation.
     ---> System.Runtime.InteropServices.COMException (0x800706B3): The RPC server is not listening. (Exception from HRESULT: 0x800706B3)
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
       at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
       at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
    Can someone help me on this please?

    Hi Jaigi,
    According to your description, you want to change a report server database for Reporting Services. But it fails on the last step and returns a error. Right?
    In this scenario, it seems you are creating a report server database on another server via remote connection. Based on the error message, it has issues on executing the script for generating new database. Please check if you have permission to connect the
    server and create a new database. Also please check if the Reporting Services Windows services is working properly.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Udf Data is not being displayed in the report

    Hi all,
    i have designed one report in which i am displaying some udf fields along with other system fields.
    i have not used any selection criteria.
    when i run report it doesn't display udf data of some random rows in the report even if data is peresent in that udf field.
    If i open sales order and press 'Shift-F2'  and update the document and now if i run report then i get that udf value in the report.
    why this happening. data is there in the udf field only its not displayed in the report with out updating the that udf.
    pls suggest some solution.
    regsrds,
    Chetan.

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

  • Discoverer viewer displaying all the reports instead of one report

    Hi Team,
    I have created one menu and attached 4 reports to that.after that that menu is attached to the main menu.This menu is attached to the one xyz responsibility.
    Now i am facing the problem is : After logging to the responsibility,i clicked on individual report ,but it is not displaying only one report.It is showing all the reports in the discoverer viewer.
    Can you please help me in this issue..

    Please post the details of the application release, database version and OS.
    I have created one menu and attached 4 reports to that.after that that menu is attached to the main menu.This menu is attached to the one xyz responsibility.
    Now i am facing the problem is : After logging to the responsibility,i clicked on individual report ,but it is not displaying only one report.It is showing all the reports in the discoverer viewer.Please review these docs and verify that you have completed all the steps.
    How to Create a Link to a Discoverer Workbook in Apps R12 [ID 471303.1]
    How to Create a Link to a Discoverer Workbook in Apps11i [ID 278095.1]
    Thanks,
    Hussein

  • SSRS 2008 R2 is extremely slow. The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes. I have read this is a bug in SSRS 2008 R2. We installed the most recent patches and service packs.

    SSRS 2008 R2 is extremely slow.  The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes.  I have read this is a bug in SSRS 2008 R2.  We installed the most recent patches and
    service packs.  Nothing we've done so far has fixed it and I see that I'm not the only person with this problem.  However I don't see any answers either.

    Hi Kim Sharp,
    According to your description that when you view the report it is extremely slow in SSRS 2008 R2 but it is very fast when execute the query in dataset designer, right?
    I have tested on my local environment and can‘t reproduce the issue. Obviously, it is the performance issue, rendering performance can be affected by a combination of factors that include hardware, number of concurrent users accessing reports, the amount
    of data in a report, design of the report, and output format. If you have parameters in your report which contains many values in the list, the bad performance as you mentioned is an known issue on 2008 R2 and already have the hotfix:
    http://support.microsoft.com/kb/2276203
    Any issue after applying the update, I recommend you that submit a feedback at https://connect.microsoft.com/SQLServer/ 
    If you don’t have, you can do some action to improve the performance when designing the report. Because how you create and update reports affects how fast the report renders.
    Actually, the Report Server ExecutionLog2  view contains reports performance data. You could make use of below query to see where the report processing time is being spent:
    After you determine whether the delay time is in data retrieval, report processing, or report rendering:
    use ReportServer
    SELECT TOP 10 ReportPath,parameters,
    TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],
    TimeDataRetrieval, TimeProcessing, TimeRendering,
    ByteCount, [RowCount],Source, AdditionalInfo
    FROM ExecutionLog2
    ORDER BY Timestart DESC
    Use below methods to help troubleshoot issues according to the above query result :
    Troubleshooting Reports: Report Performance
    Besides this, you could also follow these articles for more information about this issue:
    Report Server Catalog Best Practices
    Performance, Snapshots, Caching (Reporting Services)
    Similar thread for your reference:
    SSRS slow
    Any problem, please feel free to ask
    Regards
    Vicky Liu

  • ERROR: Failed to retrieve character view of the report.

    While trying to get HTML representation of report I am getting following error trying to get report from crystal reports web services XI R2 (Product: 11.5):
    Source code to reproduce:
                        ViewSupport htmlViewSupport = new ViewSupport();
                        htmlViewSupport.setOutputFormat(OutputFormatType.HTML);
                        htmlViewSupport.setViewType(ViewType.CHARACTER);
                        htmlViewSupport.setViewMode(ViewModeType.REPORT);
                        RetrieveCharacterView retCharView = new RetrieveCharacterView();
                        retCharView.setViewSupport(htmlViewSupport);
                        retBOData = new RetrieveData();
                        retBOData.setRetrieveView(retCharView);
                        boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, retBOData);
                        XMLView oBinaryView = (XMLView) boDocInfo.getView();
                        docContents = ((String) oBinaryView.getContent()).getBytes();
    in contrary this works ok (getting PDF):
                        RetrieveBinaryView oRetrieveBinaryView = new RetrieveBinaryView();
                        ViewSupport oViewSupport = new ViewSupport();
                        oViewSupport.setOutputFormat(OutputFormatType.PDF);
                        oViewSupport.setViewType(ViewType.BINARY);
                        oViewSupport.setViewMode(ViewModeType.DOCUMENT);
                        oRetrieveBinaryView.setViewSupport(oViewSupport);
                        oRetrieveData.setRetrieveView(oRetrieveBinaryView);
                        // retrieve binary data
                        boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, oRetrieveData);
                        documentCUID = boDocInfo.getDocumentReference();
                        BinaryView oBinaryView = (BinaryView) boDocInfo.getView();
                        docContents = oBinaryView.getContent();
    Error:
    Failed to retrieve character view of the report. (Error: WRE 02505)
    AxisFault
    faultCode: Server.generalException
    faultSubcode:
    faultString: Failed to retrieve character view of the report. (Error: WRE 02505)
    faultActor:
    faultNode:
    faultDetail:
         {reportengine.dsws.businessobjects.com}DSWSException:
         <ID>2505</ID>
         <Message>Failed to retrieve character view of the report. (Error: WRE 02505)</Message>
         <Operation>reportengine.dsws.businessobjects.com/getDocumentInformation</Operation>
         <CallStackTrace>com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$InvalidViewSupport
         at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.validateCharacterViewSupport(Unknown Source)
         at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleGetCharacterView(Unknown Source)
         at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleRetrieveData(Unknown Source)
         at com.businessobjects.dsws.wsc.reportengine.DocumentAgent.handleActions(Unknown Source)
         at com.businessobjects.dsws.wsc.reportengine.CrystalReportEngineSoapImpl.getDocumentInformation(Unknown Source)
         at com.businessobjects.dsws.reportengine.ReportEngineSoapImpl.getDocumentInformation(Unknown Source)
         at com.businessobjects.dsws.reportengine.ReportEngineSoapSkeleton.getDocumentInformation(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.businessobjects.dsws.wsc.common.axis.FlashFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    </CallStackTrace>
         <CauseException>com.businessobjects.dsws.wsc.common.axis.WSExceptionFactory$InvalidViewSupport</CauseException>
         exceptionName: com.businessobjects.dsws.DSWSException
    Failed to retrieve character view of the report. (Error: WRE 02505)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:125)
         at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:111)
         at com.businessobjects.dsws.DSWSException.getDeserializer(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:176)
         at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContextImpl.java:466)
         at org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForType(DeserializationContextImpl.java:481)
         at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:172)
         at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
         at org.apache.axis.client.Call.invoke(Call.java:2553)
         at org.apache.axis.client.Call.invoke(Call.java:2248)
         at org.apache.axis.client.Call.invoke(Call.java:2171)
         at org.apache.axis.client.Call.invoke(Call.java:1691)
         at com.businessobjects.dsws.reportengine.ReportEngineSoapStub.getDocumentInformation(Unknown Source)
         at com.businessobjects.dsws.reportengine.ReportEngine.getDocumentInformation(Unknown Source)
         at com.mobitel.reports.CrReportPdfGenerator.getPdf(CrReportPdfGenerator.java:289)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)

    I am not using HTML renderer but PDF renderer. See code below:
                   String format = "pdf";
                   RetrieveData oRetrieveData = null;
                   oRetrieveData = new RetrieveData();
                   if (format == "pdf") {
                        // Get a Document info object in character view format.
                        RetrieveBinaryView oRetrieveBinaryView = new RetrieveBinaryView();
                        ViewSupport oViewSupport = new ViewSupport();
                        oViewSupport.setOutputFormat(OutputFormatType.PDF);
                        oViewSupport.setViewType(ViewType.BINARY);
                        oViewSupport.setViewMode(ViewModeType.REPORT_PAGE);
                        oRetrieveBinaryView.setViewSupport(oViewSupport);
                        oRetrieveData.setRetrieveView(oRetrieveBinaryView);
                        // retrieve binary data
                        boDocInfo = oReportEngine.getDocumentInformation(documentCUID, null, null, null, oRetrieveData);
                        documentCUID = boDocInfo.getDocumentReference();
                        BinaryView oBinaryView = (BinaryView) boDocInfo.getView();
                        docContents = oBinaryView.getContent();
    In the mean time I already figured out that I need to use ViewModeType.REPORT_PAGE as you sugested.
    Problem we are having now is that PDF rendering takes at best 6 seconds on pageserver.exe to render report. But if we render it on CR Developer, it renders imediately.
    Report is referencing stored procedure on oracle.

  • SSRS tablix not be visible when no data is selected to display on the report

    In an SSRS 2008 r2 existing dashboard application, I display a tablix (as a header) based upon the following selection criteria:
    =iif(Len(First(Fields!CustomerNumber.Value, "Main")) = 0, true, false).
    The CustomerNumber value is passed between the various SSRS reports in the dashboard application. There are times when the Fields!CustomerNumber.Value is selected for a particular report and there is no detail data to display. What happens with the existing
    reports, is the space that would be allocated for the tablix is shown.
    When there is no data to display, there is a NoRowsmessage that can be displayed on the report.
    Basically when there are no detail records to display on the report, I would like the tablix report header not to display when there is no detail data for the report.
    Thus can you tell me how to code the tablix report header not to display when there is no detail data?

    Sorry, I overlooked Katherine's simple solution, partly because the header doesn't go away, it is just replaced with something that cannot be differentiated from the report background. Keep in mind that the space the tablix is in is still occupied by the
    tablix as you can see below:
    Sample report with no data and an empty rows message of "  ".
    Above is the same report without a no rows message but with the header row hidden using thisformula: =IIf(Count(1)>0, false, true). You can see that the space that the header normally occupies is collapsed away when hiding the header whereas the spaces
    ("  ") occupy that space when using the no rows message.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • How to display % in the report results

    Hi Experts
    I my BW report i am calculacting % using Calculacted KF.
    I want to display "%" in the report
    Ex: 2.5 should be displayed as 2.5%
    How can i achieve this

    Hi,
        In formula -- u have to select the Percentage Functions - then u select the [%A] Percentage share funtion.
         It will display the calculated value with percentage like ,50%.
    Regards
    RP

  • Please solve  Radio buttons (when selected) will then display on the report

    Each of these new Radio buttons (when selected) will then display on the report in the same locations, which is after the existing columns.
    Check boxes are by default checked.
    When the 1st radio button is selected then a new column will be displayed in the ALV output
    Next to A.
    Like wise when 2nd radio button selected then a new column will be displayed in the ALV output next to B.
    Like wise the ALV output is displayed.
    A   is a checkbox
    B  is a checkbox
    C   is a checkbox
    D   is a checkbox
    1   is a radio button                         
    2   is a radio button      
    3  is a radio button
    4   is a radio button

    while populating fieldcatalog itself u include these condition....
    if Pradiobutton = 'X'.
    *--populate field catalog for field u want in specified position....
    endif.
    similarly u proceed for other fields and other condition

  • Total time taken for the quiz needs to be displayed in the report

    Hi,
    I would want tthe total time taken for the quiz to be displayed in the report...Let me know if its possible

    Hi,
    Please try this.
    Define three user variables - StartTime, EndTime and Duration.
    At the start of the quiz ('On Slide Enter' of the first Question Slide). have an advanced action with the following actions.
    Assign: StartTime with cpInfoElapsedTimeMS  
    Continue
    At the end of the quiz ('On Success' or 'On Failure' of the last Question Slide or 'On Slide Enter' of Result Slide), have this advanced action.
    Assign: EndTime with cpInfoElapsedTimeMS
    Expression: Duration = EndTime - StartTime
    Expression: Duration = Duration / 1000
    Continue
    The variable 'Duration' will have the time taken by the user for the Quiz in seconds.
    Let me know if you have any queries.
    Thanks,
    Thejas

Maybe you are looking for

  • Why can't PS CC read .gif and .png files anymore?

    Everytime I've tried to load my files into my PS like usual (simply dragging the photo to the dock) I get this error message "Could not complete your request because Photoshop does not recognize this type of file." for both .gif files and .png. It's

  • Process Chain - What is Scheduled

    I haven't found an easy way to find out what PCs are scheduled to run in the future, i.e. overnite.  I know that from RSPC, I can can click on the "Job Overview" button, and filter only "Released" jobs for a particular date range.  Those jobs all say

  • Recently updated, blue lines on screen

    I recently updated the software on my 30 GB ipod video, and when the software finished updating and my ipod reset itself, thin blue lines now appear vertically on my ipod display screen. Does anyone know how to get rid of those lines? or should I tak

  • Mountain Lion Missing Report Safari Bugs Menu Item?

    I recall a Bug reporting menu option in Safari which seems to have disappeared in the latest version in Mountain Lion. Or am I missing it? Perhaps the Apple folks think Safari is now perfect. ;-) I was trying to view photos of this Hilton http://www.

  • Cannot read the code

    My daughter scratched off the coating and now she cannot read the code on her itunes card. Is there a way we can redeem it by the barcode?