SetTargetFrame for the printfunctionality throws error

Hi,
I have a button on my page for which i am trying to enable print functionality. Below is what i did.
OAButtonBean buttonbean1 = (OAButtonBean)webBean.findIndexedChildRecursive("xxxprint");
buttonbean1.setTargetFrame("_blank");
buttonbean1.setDestination("OA.jsp?page=/xxx/oracle/apps/xxxhr/selfservice/positioncontrol/xxx/webui/xxxPositionPG&retainAM=Y&OARF=printable");
When i run the page and click on the print button, i get "java.lang.NullPointerException" at the syntax
buttonbean1.setTargetFrame("_blank");
any clue why its happening like this?
Thank you

Hi,
Always better to check bean exists or not?
OAButtonBean buttonbean1 = (OAButtonBean)webBean.findIndexedChildRecursive("xxxprint");
if (buttonbean1 != null) *// to resolve your issue*
buttonbean1.setTargetFrame("_blank");
buttonbean1.setDestination("OA.jsp?page=/xxx/oracle/apps/xxxhr/selfservice/positioncontrol/xxx/webui/xxxPositionPG&retainAM=Y&OARF=printable");
The null pointer exception is raised because the Id with name "xxxprint" is not exist.
Thanks,
Kumar

Similar Messages

  • How to: subscribe for the viewer's Error event

    I am running a third party report tool and am trying to understand how to comply with their request. My report works fine in all export modes with the exception of export to word at which time it throws a "Index was outside the bounds of the array"
    error. This does not occur in any other export mode (i.e., Excel, RTF, TIFF, yada, yada.)
    The request from the vendor is " subscribe for the viewer's Error event and the report's Error event to get the exception."
    I run Win8.1 and would like to create a subscription to the View Event log to trap the occurrence of this error. I have tried to locate some documentation online as to how I can accomplish this.
    Where can I find this information as well as an example?
    Tom Mann MCSD C#

    They seem to be suggesting that the control will raise an error event which you can subscribe to.
    myViewer.Error += SomeHandler;
    and presumably
    private void SomeHandler(object sender, EventArgs a)
    // Do some error handling.
    If there turns out to be no actual error event then..,..
    Can you put a try catch block round code does the export?
    I'm guessing maybe not and it's an internal thing in the viewer.
    Plan C , let's see now.
    Try to find a way to override that button click on the viewer.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • "Backup is too large for the backup volume" error

    I've been backing up with TM for a while now, and finally it seems as though the hard drive is full, since I'm down to 4.2GB available of 114.4GB.
    Whenever TM tries to do a backup, it gives me the error "This backup is too large for the backup volume. The backup requires 10.8 GB but only 4.2GB are available. To select a larger volume, or make the backup smaller by excluding files, open System Preferences and choose Time Machine."
    I understand that I have those two options, but why can't TM just erase the oldest backup and use that free space to make the new backup? I know a 120GB drive is pretty small, but if I have to just keep accumulating backups infinitely, I'm afraid I'll end up with 10 years of backups and a 890-zettabyte drive taking up my garage. I'm hoping there's a more practical solution.

    John,
    Please review the following article as it might explain what you are encountering.
    *_“This Backup is Too Large for the Backup Volume”_*
    First, much depends on the size of your Mac’s internal hard disk, the quantity of data it contains, and the size of the hard disk designated for Time Machine backups. It is recommended that any hard disk designated for Time Machine backups be +at least+ twice as large as the hard disk it is backing up from. You see, the more space it has to grow, the greater the history it can preserve.
    *Disk Management*
    Time Machine is designed to use the space it is given as economically as possible. When backups reach the limit of expansion, Time Machine will begin to delete old backups to make way for newer data. The less space you provide for backups the sooner older data will be discarded. [http://docs.info.apple.com/article.html?path=Mac/10.5/en/15137.html]
    However, Time Machine will only delete what it considers “expired”. Within the Console Logs this process is referred to as “thinning”. It appears that many of these “expired” backups are deleted when hourly backups are consolidated into daily backups and daily backups are consolidated into weekly backups. This consolidation takes place once hourly backups reach 24 hours old and daily backups reach about 30 days old. Weekly backups will only be deleted, or ‘thinned’, once the backup drive nears full capacity.
    One thing seems for sure, though; If a new incremental backup happens to be larger than what Time Machine currently considers “expired” then you will get the message “This backup is too large for the backup volume.” In other words, Time Machine believes it would have to sacrifice to much to accommodate the latest incremental backup. This is probably why Time Machine always overestimates incremental backups by 2 to 10 times the actual size of the data currently being backed up. Within the Console logs this is referred to as “padding”. This is so that backup files never actually reach the physically limits of the backup disk itself.
    *Recovering Backup Space*
    If you have discovered that large unwanted files have been backed up, you can use the Time Machine “time travel” interface to recovered some of that space. Do NOT, however, delete files from a Time Machine backup disk by manually mounting the disk and dragging files to the trash. You can damage or destroy your original backups by this means.
    Additionally, deleting files you no longer wish to keep on your Mac does not immediately remove such files from Time Machine backups. Once data has been removed from your Macs' hard disk it will remain in backups for some time until Time Machine determines that it has "expired". That's one of its’ benefits - it retains data you may have unintentionally deleted. But eventually that data is expunged. If, however, you need to remove backed up files immediately, do this:
    Launch Time Machine from the Dock icon.
    Initially, you are presented with a window labeled “Today (Now)”. This window represents the state of your Mac as it exists now. +DO NOT+ delete or make changes to files while you see “Today (Now)” at the bottom of the screen. Otherwise, you will be deleting files that exist "today" - not yesterday or last week.
    Click on the window just behind “Today (Now)”. This represents the last successful backup and should display the date and time of this backup at the bottom of the screen.
    Now, navigate to where the unwanted file resides. If it has been some time since you deleted the file from your Mac, you may need to go farther back in time to see the unwanted file. In that case, use the time scale on the right to choose a date prior to when you actually deleted the file from your Mac.
    Highlight the file and click the Actions menu (Gear icon) from the toolbar.
    Select “Delete all backups of <this file>”.
    *Full Backup After Restore*
    If you are running out of disk space sooner than expected it may be that Time Machine is ignoring previous backups and is trying to perform another full backup of your system? This will happen if you have reinstalled the System Software (Mac OS), or replaced your computer with a new one, or hard significant repair work done on your exisitng Mac. Time Machine will perform a new full backup. This is normal. [http://support.apple.com/kb/TS1338]
    You have several options if Time Machine is unable to perform the new full backup:
    A. Delete the old backups, and let Time Machine begin a fresh.
    B. Attach another external hard disk and begin backups there, while keeping this current hard disk. After you are satisfied with the new backup set, you can later reformat the old hard disk and use it for other storage.
    C. Ctrl-Click the Time Machine Dock icon and select "Browse Other Time Machine disks...". Then select the old backup set. Navigate to files/folders you don't really need backups of and go up to the Action menu ("Gear" icon) and select "Delete all backups of this file." If you delete enough useless stuff, you may be able to free up enough space for the new backup to take place. However, this method is not assured as it may not free up enough "contiguous space" for the new backup to take place.
    *Outgrown Your Backup Disk?*
    On the other hand, your computers drive contents may very well have outgrown the capacity of the Time Machine backup disk. It may be time to purchase a larger capacity hard drive for Time Machine backups. Alternatively, you can begin using the Time Machine Preferences exclusion list to prevent Time Machine from backing up unneeded files/folders.
    Consider as well: Do you really need ALL that data on your primary hard disk? It sounds like you might need to Archive to a different hard disk anything that's is not of immediate importance. You see, Time Machine is not designed for archiving purposes, just as a backup of your local drive(s). In the event of disaster, it can get your system back to its' current state without having to reinstall everything. But if you need LONG TERM storage, then you need another drive that is removed from your normal everyday working environment.
    This KB article discusses this scenario with some suggestions including Archiving the old backups and starting fresh [http://docs.info.apple.com/article.html?path=Mac/10.5/en/15137.html]
    Let us know if this clarifies things.
    Cheers!

  • Enter a password for the ADMIN user,Error in installing Oracle Apex,

    hi, everybody,
    Greetings,
    Iam trying to install oracle Apex, By coming this step it shows this error, Could you Please help me to solve this error.
    SQL> @apxchpwd.sql
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    l_error_lines wwv_flow_global.vc_arr2;
    ERROR at line 3:
    ORA-06550: line 3, column 28:
    PLS-00201: identifier 'WWV_FLOW_GLOBAL.VC_ARR2' must be declared
    ORA-06550: line 3, column 28:
    PL/SQL: Item ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 6, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 6, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 7, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 7, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 15, column 31:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.STRONG_PASSWORD_VALIDATION' must be
    declared
    ORA-06550: line 15, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 22, column 35:
    PLS-00201: identifier 'WWV_FLOW_UTILITIES.STRIPHTML' must be declared
    ORA-06550: line 22, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 25, column 9:
    PLS-00320: the declaration of the type o

    suresh.m2015,
    It's going to be impossible for anyone in this forum to help with your issue if you don't provide any more detail about your environment and Apex installation. However, from your post it looks like the Apex database objects are missing or invalid.
    Did you follow the Apex installation guide step by step? For example, did you run apexins.sql?
    It's important to follow the documentation. The script you are running to change the admin user password should not be run until after the Apex installation is complete.
    --Keith Malay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • MQ6 Drivers for JMS Adapter throwing error

    Per note 747601 of SAP, we got the jar files for MQ6.
    MQ 6.0 with SAP XI 3.0 JAR files needed
    We prepared the .sda file
    When we try to deploy it through SDM, we are getting errors:
    Summary:
    ========
      There were 1 archives selected.
      0 archives successfully loaded.
       Loading of 1 archives failed.
    Details:
    ========
    1) Error loading archive
        C:\aii_af_jmsproviderlib.sda
        (server side name is: C:\aii_af_jmsproviderlib.sda)
        com.sap.sdm.util.sduread.IllFormattedSduFileException: The information about the development component
    found in the SDA C:\aii_af_jmsproviderlib.sda is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Please advise.
    Thanks,
    Bhaskar
    Here is how this got resolved:
    We added drivers for MQ6 in the sda file.
    Then isntalled MQ client on the XI server (I am not sure why we need to do this).
    Then in the Communication Channel provided the User ID and PAssword for the MQ Server box (the windows log in information). It took us a while (a couple fo weeks) to find this out.
    I am not sure if this is the real solution, but it is working fine for us now.
    So thoguht of posting this here.
    Thanks,
    Bhaskar

    not sure about this but i guess Craig is a better person to let you know !!!
    Contact - [email protected]

  • Running JDeveloper 11122 for the 1st time error

    Hello there,
    I just install JDeveloper 1.1.1.2.2 I also did create just an fusion web application to see how is going to run. When I run the application, Windows messages popup to request to keep blocking the java application or unblock the application so I click unblock. Below is the messages I got and every time I run the application I am getting the same messages.
    Can someone help me with this error? How can I fix this problem?
    ** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    C:\Users\Ghislain\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    \Java\jre6\lib\ext\QTJava.zip was unexpected at this time.
    Process exited.

    user13300876 wrote:
    Hello there,
    I just install JDeveloper 1.1.1.2.2 I also did create just an fusion web application to see how is going to run. When I run the application, Windows messages popup to request to keep blocking the java application or unblock the application so I click unblock. Below is the messages I got and every time I run the application I am getting the same messages.
    Can someone help me with this error? How can I fix this problem?
    ** Using HTTP port 7101 ***
    *** Using SSL port 7102 ***
    C:\Users\Ghislain\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    \Java\jre6\lib\ext\QTJava.zip was unexpected at this time.
    Process exited.This is an issue with a system class path entry after installing Apple's QuickTime. The release notes for 11.1.2.1 include a workaround - see if this works for you:
    http://www.oracle.com/technetwork/developer-tools/jdev/5rn-shermanu1-496572.html

  • No configuration is defined for the entry BIWGMLQuery error

    Error Summary
    Hi,
    When I use the WebDynpro compiler, it compiles and deploys without error.  However, when I attempt to run the model in WebDynpro, I get the attached error message.
    It is imperative that we be able to use the Flash compiler going forward, rather than WebDynpro.
    See attached error message.
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No configuration is defined for the entry BIWGMLQuery
        at com.sap.tc.wd4vc.xglengine.XGLEngine.createComponentInternal(XGLEngine.java:559)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstanceFromUsage(XGLEngine.java:362)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstance(XGLEngine.java:329)
        at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.getCompInstance(InternalXGLEngine.java:167)
        at com.sap.tc.wd4vc.xglengine.XGLEngineInterface.getCompInstance(XGLEngineInterface.java:165)
        ... 52 more
    Thanks,
    Visshwas

    Here i have attached the error messages.
    [http://tinypic.com/view.php?pic=2z4l6xi&s=5]
    [http://tinypic.com/view.php?pic=fjjpc3&s=5]
    Please help.
    Regards,
    Visshwas

  • " No entry in the conversion table for the syntax group" error

    Hi,
    Iu2019m getting an error in the port setup when I try to run an Access Test on the logical directory.
    Definition of path
    TFTS02\INTF\RD1\OUTB\MM\RFC WINDOWS NT missing
    Message no. SG024
    Diagnosis
    There is no entry in the conversion table for the syntax group WINDOWS NT and the logical path
    TFTS02\INTF\RD1\OUTB\MM\RFC.
    System Response
    The system cannot generate a platform-specific path.
    Procedure
    Make an entry for the syntax group WINDOWS NT and the logical Pfad
    TFTS02\INTF\RD1\OUTB\MM\RFC in the conversion table using the FILE transaction.
    Regards,
    Rajiv

    Hi
    the error is simple. The path
    TFTS02\INTF\RD1\OUTB\MM\RFC you are trying to access is not there so create the path in the FILE transaction.
    In file tcode goto NEW ENTRIES and give the path and also make sure that in AL11 the path and the filename you are trying to open exists.
    Thanks & Regards
    Jyo

  • PO not creating for the matl,giving error Material not maint for purchasing

    Hi SAP Gurus,
    When I am trying to create PO for 1 purticular material, system giving error " Material CG056A not maintained by Purchasing Message no. ME 046 " Please let me know in order to create PO successfully what are all the purchasing related information necessary to maintain for this material.
    Thanks and Regards,
    SHARAN.

    Hi
    While creating the material you have not maintained the purchasing view, hence you are getting an error.
    Maintain the purchasing view for the material in MM01, which will solve the problem.
    Rgeards
    girish

  • "You are opening the application----- for the first time"  error

    I've seen a few people post about this from as far back as 2005 but I haven't found anything that worked for me. I believe I started having this problem after upgrading to Snow Leopard.
    When opening an application, most often Microsoft Office by opening a specific document/file, I get the warning that I'm opening the application for the first time. This is mostly an annoyance but I don't know how to get this error to stop coming up. I saw a suggestion to delete caches and make sure the application was set as default for that file type; these haven't solved the problem yet.
    Thanks!!

    Thanks for the reply, unfortunately I'm not sure it helped. I did recently trash a couple caches, but this was after the problem had started. I found an old post that suggested the cache might be corrupted and that it would be a good idea to trash it.
    The link you posted notes that the deleted cache could cause that problem, but I would think a new cache would be created and it would be resolved. Is it possible I have a setting that's erasing it? How would I change that? It also sounds like in the link you posted that theMacMac's problem eventually went away without explanation.

  • You have insufficient privileges for the current operation error

    Dear All,
    i am getting the You have insufficient privileges for the current operation. Please contact your System Administrator error while opening the oaf page in same window of oracle apps .
    below is the apache log file error
    File does not exist: "instance"/portal/oa.jsp
    Please let me know what is the problem .
    Thanks
    Maheswara Raju

    Try adding the System Administrator responsibility to your user.

  • The XIr3 SharePoint Web Part for Webi is throwing errors to SharePoint.

    Hi Admin's, Have any of you seen this error... We've built an XIr3 environment to expose Webi via the PIK webpart to SharePoint as a reporting portal. The backend is Sql linked servers via an OLEDB provider from a vendor named OSI (PI historian). The environment rocks, and the BO/SAP software is doing exactly what we want it to, one admin issue though. BOXI is spamming our SharePoint admin with two pesky messages "Error: Failure in loading assembly: BusinessObjects.SharePoint.Utilities, Version=10.0.3300.0" and the same prefix with version 11.0.3300.0. Have any other admins experienced this? The configuration is working fine in production, our dev burn throws these two, and it is essentially preventing us from upgrading our DotNet framework from 2.0 to 3.5 which is the only  component in flux. The SP version is 12.0.633.5000. I just need to stop spamming my SharePoint friends and let them do their upgrade!

    The search center is just a collection of pages that has the appropriate search web parts.  YOu can change the Search Settings at the site or the site collection to change the results page used.  If you add a results page with the appropriate
    web parts to the site you can send the results anywhere.  But building a search center is the easiest way to do that.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • "This backup is too large for the backup volume" Error

    I'm not sure what to make of this error - "requires 1313GB but only 2418GB available"?  Maybe my math skills aren't what they used to be.  Any advice much appreciated.

    No, not using FileVault.
    I'm using TM to back up 10 networked computers onto a Synology NAS (RS810+).  All but one of the backups is working fine.  The troublesome one is running 10.5.8, though one of the other working ones is also on 10.5.8.  I'm currently just going folder by folder on the bad one, hoping maybe I can get everything backed up.
    As for alternatives, I had been using Chronosync, which was fine.  I wanted to switch over to TM for simplicity's sake.  Little did I expect it to be such a POS.

Maybe you are looking for

  • How to store a bitmap file in the table

    i am using oracle 8i. i dont know how to save the bitmap file in the table, is long raw datatype should be used. thanks

  • Problems Installing trial Lightroom on laptop w/Vista

    Hello, I just purchased a new laptop and I downloaded the trial version of Lightroom.  I saved the exe file to my desktop.  I am now attempting to extract it.  I am trying to extract to c:Program Files, but receive the following message: " A problem

  • Function Module for getting the Sales Price for a condition type

    Hi, I am looking for a standard function module to which I can pass my condition type(new customizing) and it will return the sales price. The customer is going to create some new condition type to manitain the sales price. I'll have the necessary in

  • Best practice for application help for a custom screen?

    Hi, The system is Netweaver 7.0 SP 15 with e-recruiting . We have some custom SAP GUI transactions and have written Word documents with screen prints and explanations. I would like to make the procedure document accessible from the custom transaction

  • WebDAV error when doing a client push ConfigMgr 2012 R2

    Hi everyone, I am getting an error message when doing a client push, only on some DPs. Here is the setup: ConfigMgr 2012 R2 on Server 2012 R2. DP are on Server 2008 R2 (for the most part). DP are installed using the exact same way, adding the Primary