Bug and Fix: Report Template Preview displays ORA-01002

Hi, omniscient All!
Let me share some knowledge with you. There is an old APEX bug:
BUG: preview report template errors with ORA-01002
Report Template Preview/Copy Error
Template Preview Error:
You can definitely see it in 4.0, 4.1, 4.2, 4.2.1 versions: open any database application in AppBuilder, go to Shared Components→Templates, move cursor on Some Report Template row, click Preview Icon. Voilà:
report error:
ORA-01002: fetch out of sequenceI looked into Template Preview region's source and have found next WWV_RENDER_REPORT3.show call:
wwv_render_report3.show(
    p_query => '
select 1 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 2 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 3 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 4 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 5 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 6 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual
order by 1',
    p_row_template_id => :f4000_p245_id,
    p_region_id => 88449328191587806
  );I have no wish to go deep into my further investigation, therefore I just call a cause: APEX Team, you forgot to set the value of P_PLUG_SOURCE_TYPE parameter.
Workaround: While APEX Team will making a patch, those who can't wait it should fix it manually by executing next code:
update &APEX_SCHEMA.wwv_flow_page_plugs
   set plug_source = q'{wwv_render_report3.show(
    p_query => '
select 1 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 2 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 3 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 4 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 5 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 6 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual
order by 1',
    p_row_template_id => :f4000_p245_id,
    p_region_id => 88449328191587806,
    p_plug_source_type => 'SQL_QUERY'
where id = 14562627207747006
/APEX_SCHEMA is schema where APEX was installed.
Good luck,
Alex
Edited by: tiPPLer on 14.02.2013 17:14

I wouldn't mind piggy-backing this to ask if the Report Template "shortcut" links at the top of the page can be updated to account for all sections that are now a part of the Report Template. "Before Each Row" and "After Each Row" sections are not listed in the shortcuts. There are also two shortcuts listed as "Before" and "After" which should probably be relabeled.
Shane.

Similar Messages

  • BUG: preview report template errors with ORA-01002

    I've checked on my local install and on apex.oracle.com. I go into the Templates of Shared Components and filter on the Report Templates. Although the preview icon is displayed to allow me to preview the template, I always receive "ORA-01002: fetch out of sequence" on an error page. The only types of Report Templates I have are of type "Generic Columns" so not sure if the problem exists with "Named Columns."
    Can anyone confirm this or correct me on this?
    Shane.

    I wouldn't mind piggy-backing this to ask if the Report Template "shortcut" links at the top of the page can be updated to account for all sections that are now a part of the Report Template. "Before Each Row" and "After Each Row" sections are not listed in the shortcuts. There are also two shortcuts listed as "Before" and "After" which should probably be relabeled.
    Shane.

  • ACR 7.x known bugs and fixes

    Since Adobe stopped supplying Camera Raw downloads, I've noticed that it's become harder to track bugs and fixes. Hopefully, someone here can put me straight on the current state of play.
    Can anyone summarise the well-known problems with version 7, and when they were fixed (or are still ongoing)? Is there a 'changelog' somewhere? What is/are the main outstanding issues at the moment?
    Unfortunately, I'm getting to that age where my short–medium term memory isn't very good at retaining this sort of information, so it's good to have it written down!

    Jeff,
    I have been dealing with this since November. Steve G knows about it but hasn't had time to do anything. Here's the deal...I am on Windows 7 and Photoshop CS6. I shoot with a Canon 7D and G11.  I do all my initial work in the metadata template...my own info, description, keywords, location, etc. etc.  This creates an .xmp file. When the update from RAW 7.2 to 7.3 came through in November, I downloaded it, as I have all other updates. Then, suddenly, all images in folders with RAW files that had ANY metadata applied, would regenerate endlessly. This only happens with RAW files, not with folders containing jpegs or tifs.
    I tried resetting preferences. I tried creating new folders. I have asked if this problem is seen with Nikon RAW files and I'm not sure there has been an answer. I think people have recreated this even with DNG files tho I am not sure. I do know that someone in Adobe has recreated it.
    I then discovered that previous .8bi folders were no longer readily available. Getting to one is way, way, way above my ability and involved all kinds of ridiculous backflips but I finally got one. Then followed a solid week of me trying replace the 7.3 .8bi file with the 7.2. Of course, with no instructions, I was putting the wrong file in the wrong folder (32 bit and 64 bit). When I finally got THAT straightened out, it still didn't work. It took someone at Adobe taking over my computer to successfully revert to 7.2.
    I lost hours and days of work time trying to deal with this. Meanwhile, should I buy a new camera, I won't be able to see my own RAW CR2 files and will, instead, have to convert to DNG, which, frankly, I find to be a royal pain. Am I peeved. You bet I am. I've been asking, pleading, begging for something to be done since November. Some thoughtful soul suggested I try updating to 7.4 to see if it fixed the problem (the 'fixed problems' listed for 7.4 does NOT mention the recalibration). You can understand, after the problems I had in November, why I will NOT do this until I am absolutely sure the current, latest update has fixed my problem. And I will NOT spend another two hours on the phone with adobe alleged tech help to finally get someone in India who doesn't know what I am talking about. This forum has been far more helpful but please underestand, I am an old school film photographer who has had my share of problems understanding this digital stuff and mucking around with the basic technology of my computer only leads to horrifying outcomes for me.
    Jeff, are you with Adobe? Can you look into this?

  • [svn:fx-trunk] 5114: Fix FxRadioButton doc bug and fix the bug fix I messed up yesterday.

    Revision: 5114
    Author: [email protected]
    Date: 2009-02-27 12:50:47 -0800 (Fri, 27 Feb 2009)
    Log Message:
    Fix FxRadioButton doc bug and fix the bug fix I messed up yesterday.
    QE Notes: mustella gumbo/RadioButtons passed
    Doc Notes:
    Bugs: SDK-19475, SDK-19531
    Reviewers:
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19475
    http://bugs.adobe.com/jira/browse/SDK-19531
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxRadioButton.as

  • Subscriptions for fimware/software new releases, bugs and fixes

    Hi,
    Where can I subscibe for MDS 9000 Firmware/Software releases, bugs and fixes?
    Thanks,

    You have the "Cisco Notification Service" tool where you can setup a profile:
    http://www.cisco.com/en/US/customer/support/tsd_most_requested_tools.html
    - Filiph

  • Question on changing the report template to display the images

    I am trying to change the report template so that each table cell will display an image and a checkbox for the image. The column templatet for the new report template is like this:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t17data">
    <table>
    <tr height="90%"><td>
    <img src= "&F101_GET_THUMB.#COLUMN_VALUE#" onmouseover="return onmouseover_img('#COLUMN_VALUE#');">
    </td></tr>
    <tr height="10%"><td align="center" valign="bottom">
    <input type="checkbox" name="f01" value="#COLUMN_VALUE#"/>
    </td></tr>
    </table>
    </td>
    My questions are:
    1. If the #COLUMN_VALUE# is null, the table cell will display a broken image icon and a checkbox. How could I avoid this? I could add condition to this template, such as when #COLUMN_VALUE# is not null, but how to refer to the value of #COLUMN_VALUE# in pl/sql?
    2. I want to always put the checkbox at the center bottom, but no matter what I set "align='center' valign='bottom', it is always close to the image. Since the image sizes are different, the appearance of the checkbox are just up and down. How to fix this?
    Thanks,
    Fengting

    hello,
    at designtime the elements from the template are physically
    imported into the report. the only way of re-applying a template
    is to use the wizard, which will re-default the layout.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Report Template Preview/Copy Error

    Good afternoon,
    I get an error (Report error: ORA-01002: fetch out of sequence) when I attempt to preview or copy a report template. I am able to preview all other templates in Shared Components. I am training myself in APEX. I am using oracle.apex.com and the workspace I requested. This occurs in the applications I have created via the APEX OBE's, the applications I have created via the Beginners Application Express 4 book, and all of the Sample Applications I have installed.
    Any ideas of why I am getting this error.
    Thank you for your time,
    Michele

    The following SAP note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
    Regards,
    Raghavednra.G

  • FF has become useless and nothing but bugs and fixes

    Comment, <br /> See also similar question with some answers
    * '' 'save as' redownloads the data '' [/questions/986667] ~J99
    you cannot right click save as on an image, after the image has been dl already to save it FF re-downloads the image again. Noone can produce a config setting that corrects that. so if your paying for data FF is causing you to pay double.
    while something is DL most of the time the dl stalls. You now cannot pause and resume a dl to get it going again, the old Dl dialogue box had a pause function, the new one 'right-click' shows a pause but its grayed out and does not function
    FF cannot handle multiple tabs anymore, if you open multiple tabs it freezes FF and you get a slow script error. But the same tabs can be opened in an old version of IE 7,
    the repeated crashes are well known without a fix,
    the new version seems to have numerous bugs without fixes, or explanations that you need some add-on instead of a FF function.
    the mere fact that FF cause double data usage without a fix or explanation is beyond inexcusable. Payinf for double data because of a code error is unbelievable. test i opened IE went to a pg open 3 tabs saved the images, and did the same in FF and it used 3.23 times more data.
    Every since that Tor / FF debacle when the old versions were declared no good every version of FF since then has had to many errors without fixes that it has became an industry joke. The fact that chrome and IE or better browsers now speaks volumes. I am no code writer, but since that time, every version is so slow and bug prone, that what ever attempt to say face or redemption has been a disaster.

    To answer your questions here:
    <blockquote>you cannot right click save as on an image, after the image has been dl already to save it FF re-downloads the image again. Noone can produce a config setting that corrects that. so if your paying for data FF is causing you to pay double. </blockquote>
    I'm not sure I understand this. When I click save image as then try again it works fine for me. Can you clarify what you are trying to achieve?
    <blockquote>while something is DL most of the time the dl stalls. You now cannot pause and resume a dl to get it going again, the old Dl dialogue box had a pause function, the new one 'right-click' shows a pause but its grayed out and does not function </blockquote>
    It is better to use an external Download Manager (DM) if you are on dialup or have an unreliable connection.
    An external Download Manager offers better support for resuming interrupted downloads than the built-in Firefox DM.
    You can use the FlashGot extension to integrate an external Download Manager in Firefox.
    FlashGot: https://addons.mozilla.org/firefox/addon/flashgot/
    <blockquote>FF cannot handle multiple tabs anymore, if you open multiple tabs it freezes FF and you get a slow script error. But the same tabs can be opened in an old version of IE 7, </blockquote>
    This is most likely the way Firefox is set up on your end. What add-ons are you running since I don't see any listed. I need some more non-personal information from you. Please do the following:
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Use the Troubleshooting Information page to help fix Firefox issues]].
    <blockquote>the repeated crashes are well known without a fix, </blockquote>
    Again this is specific in your case. Follow the steps below to provide us crash IDs to help us learn more about your crash.
    #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
    #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.
    [[Image:SubmittedCrashReports-Win7|width=520]]
    <br><br>
    <blockquote>the new version seems to have numerous bugs without fixes, or explanations that you need some add-on instead of a FF function. </blockquote>
    I see you have Fx 26 installed and not the latest 27.0.1. See what's new with Firefox in version 27.0.1 http://www.mozilla.org/en-US/firefox/27.0.1/releasenotes/
    <blockquote>the mere fact that FF cause double data usage without a fix or explanation is beyond inexcusable. Payinf for double data because of a code error is unbelievable. test i opened IE went to a pg open 3 tabs saved the images, and did the same in FF and it used 3.23 times more data. </blockquote> Double data usage? Are you talking about a smart phone data limit or your RAM usage?
    <blockquote>Every since that Tor / FF debacle when the old versions were declared no good every version of FF since then has had to many errors without fixes that it has became an industry joke. The fact that chrome and IE or better browsers now speaks volumes. I am no code writer, but since that time, every version is so slow and bug prone, that what ever attempt to say face or redemption has been a disaster. </blockquote> Tor and Firefox? What are you talking about?

  • Bug and ergonomy reports : where do we post or email?

    I just installed my upgrade for Logic. Logic 8 has a few annoying bugs and ergonomic flaws for my daily sound/music activities, where do we report these? As many of you, I have been a user for many years, but I would like to know how to report the many things I feel don't work well on this otherwise great software. Thanks.

    There's a feedback form here: http://www.apple.com/feedback/logicpro.html

  • Master Pages and Buttons - Bug and Fix Request

    I think I'm the only person in the world who has encountered this bug, and I've filled out the bug report form on the Adobe site twice in a couple of years.
    Just wondering if anyone else has encountered it, and I'm curious to know if it still exists in Creative Cloud (I'm still using CS6).  However, I think this bug appeared in CS5.5, prior to that, results were as one would expect.
    So here's the gist of it . . .
    Prior versions of InDesign allowed you to put a button on a Master Page, then upon export to PDF the page number would be appended to the button name. CS6 appends random numbers to the button names on export.  (It seems the number appended to the button names is the instance count of the button in question.)  This problem becomes incrementally worse if you use different combinations of master pages, some with buttons and some without.
    Steps to reproduce bug:
    Create a button, named "menubutton" and add it to a master page
    Apply that master page to 10 pages.
    Export the ID file to PDF enabling buttons and interactive elements.
    Check the button names in the PDF from Acrobat
    Results:
    In CS6, this now appends the page number, and an arbitrary number to the button name.  CS6 results are like such: "menubutton.Page 1", "menubutton.Page 21", "menubutton.Page 32", "menubutton.Page 43", etc.
    Expected results:
    The button names should become "menubutton.Page 1", "menubutton.Page 2", "menubutton.Page 2" , etc. (As in prior ID versions)
    The problem becomes a lot worse when you use combinations of master pages . . . for example:
    Master A – contains one button – menubutton
    Master B – contains one button – otherbutton
    Apply those masters to alternating pages, like below and export to PDF, this will be the crazy result:
    Page 1 (A)        “menubutton.Page 1”
    Page 2 (B)        “otherbutton.Page 2”
    Page 3 (A)        “menubutton.Page 31”
    Page 4 (B)        “otherbutton.Page 41”
    Page 5 (A)        “menubutton.Page 52”
    Page 6 (B)        “otherbutton.Page 62”
    Page 7 (A)        “menubutton.Page 73”
    Page 8 (B)        “otherbutton.Page 83”
    So, can anyone else attest to this?  It makes scripting buttons incredibly hard!

    Hi johnjohn123,
    1. I would definitely make a copy of the EnterpriseWiki.aspx page layout and make changes to that. You can then set your pages to use your custom page layout. Typically, I provision these via Visual Studio and a module for uploading them to the SharePoint
    master page gallery.
    2. For the master page, the html version is new to 2013 and is meant to simplify branding, however, it's not required. You can still work within master pages and provision those via features if you'd like. The key is to create your own master page and never
    modify the default.
    If you need code samples for any of the above, let me know and I can supply it.
    Shereen Qumsieh http://sharepointdeveloperhq.com @msshushu

  • OS 10.4.9 freeze bug and fix

    My Intel Xserve (10.4.9) had a freeze which disabled the keyboard and mouse after searching for a non-existent file from the keyboard attached to it. Keyboard and mouse remained disabled after forced power downs and reboots. I rang Apple and they advised starting from the install DVD (see - http://docs.info.apple.com/article.html?artnum=75489). Do not install anything but select the normal start-up OS and restart.
    I understand that the cause is a known bug affecting Mac OS X Server 10.4.7, 10.4.8 and 10.4.9 with 2 GB or more of memory. Apple advise that until a new OS is released users can either reduce memory or apply the patch detailed on - http://docs.info.apple.com/article.html?artnum=305167
    Xserve   Mac OS X (10.4.9)  

    As an aside, in my experimintation with the OS9.2.2<->10.4.9 problem, using the old limited version of Shareway IP...
    http://www.opendoor.com/shareway/
    that came with my PM/6500, I find that I can GET files on either Mac from the Other, but cannot PUT files on the other without OS9 freezing, and OS10.4.9 locking up until the OS9 machine is reset... seems the problem is one way!
    Copied 240 MB files from the other machine either way, but trying to copy from the machine in use to the other one just doesn't work... ie. Download fine, Upload no workie in afp,smb, or ftp! :-P

  • Small bug and fix starting SQL Developer on Mac OS X

    I couldn't find anyone else mentioning this so I'll write it in.
    If I started SQL Developer in one user I couldn't start it again in another user, even after quitting out of the first. I would double click the icon and it would do the animated "zoom" but then nothing.
    I tracked it down to a problem in SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh. When it redirects the output of the call to the start scipt in the /sqldeveloper/bin directory it would fail because the /tmp/sqldeveloper-startup.log was owned by the first user to start the App (since the /tmp was cleared anyway). My umask didn't give it permission to start overwriting that file.
    To fix it I changed the last line in SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh to:
    bash ./sqldeveloper >/tmp/sqldeveloper-startup.$$.log
    so that the PID was now part of the name and each initiation of SQL Developer would have its own.
    You could also change the last line to:
    bash ./sqldeveloper >$(mktemp /tmp/sqldeveloper-startup.log.XXXXX)
    which would guarantee more uniqueness but wouldn't let you know which process was using the file.
    Savvy Mac users can edit the script themselves by right-clicking on the SQLDeveloper.app and selecting "Show Package Contents". You may have to temporarily change the file permissions to let you edit it.
    For the record I'm running SQL Developer 1.2.0 on a Mac TiBook G4 867MHz with Mac OS X 10.4.10 and 1Gb RAM (and it is still maddeningly slow because Java fundamentally sucks).
    -Bion

    Ok - I think I found it.
    Go into ~/Library/Application Support/SQL Developer/system1.5.3.57.83/o.ide.11.1.1.0.22.49.44 (or similar for whatever version you're running) and edit the settings.xml file there.
    Look for a block that looks like:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[0]</Item>
    </data>
    </second>
    </Item>
    and change it to:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[8]</Item>
    </data>
    </second>
    </Item>
    I'm not sure why, but this file seems to always contain the incorrect keystroke value when I do a fresh install of SQL Developer. I always have to go in and change that value by hand. I've tried choosing any number of the accelerator presets, but none of them make the delete key work.

  • Bug report - preview report template

    Hi
    Shared components -> Templates
    Preview Report template
    Template preview shows
    ora-01002: fetch out of sequence
    Though I'm sure this is rarely used ;-)
    Scott

    Thanks Scott,
    We've logged bug *16833264* to track this issue, which we'll aim to address in a future release.
    Thanks,
    Hilary

  • Error opening a Manage Report template with Formulas and Summation

    Hi Expert,
    My j2ee web application is setup is such a way that when there is NO connectivity to the Crystal Report Server XI, it will use the Crystal Report for Eclipse functionality and opening report templates located in the relative path - This works fine.
    But when there is a connectivity to the CMS Server, I have this error when opening a manage report in Crystal Report Server XI that contains formulas and summations. But for other reports like chart and listings no problem.
    This code triggers the error:
    ReportClientDocument clientDoc = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    I found out there's a conflict between CR libraries  for Eclipse and libraries for RAS Enterprise Server XI.
    How can I solve this issue so that I can support the two scenarios - with or without CMS connectivity, I can still view reports.
    Error Stack Trace:
    com.crystaldecisions.sdk.occa.managedreports.ras.internal.a: Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed detail:Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
    Hoping for your answers.
    Regards,
    Rulix Batistil

    You must isolate the CR4E and RAS SDK jars using separate classloaders - simplest is have separate apps, if rolling your own class loaders is out of project scope.
    They do not work together.
    Sincerely,
    Ted Ueda

  • EHS & WWI: Error creating Report Template

    Hi all,
    We have installed WWI for defining report templates and cannot create the templates from cg42.
    Let me try to reproduce my steps:
    1. Enter cg42 and create a new template, entering the name and descirption (i.e. TEST WWI, Report Template Example)
    2. Save the template
    3. Display the document (F7)
    4. Error message: "Cannot display document TEST_WWI vesion00" Message no. C$563
    But if I change to display mode then if I press  the Document button (F7) the report template is displayed.
    Do you know why this could be?
    Many thanks and regards,
    Alberto

    Hola Alberto,
    Estoy empesando a parametrizar SVT, pero no he podido generar ningun reporte de volumen de sustancias, tienes algún documento o manual de cuztomización de SVT que me puedas facilitar?
    Me gustaría hacerte una pregunta puntual, pero lamentablemente, no sé donde esta la falla.
    Muchas garcias.
    Saludos.
    Alejandro González Spencer

Maybe you are looking for