Getting error in sheduling report using InfoStore

Hi I am trying to shedule a report using InfoStore, I am getting excetpin like
Exception in thread "main" java.lang.UnsupportedOperationException
     at java.util.AbstractList.add(AbstractList.java:151)
     at java.util.AbstractList.add(AbstractList.java:89)
     at Scheduler.main(Scheduler.java:89)
Please find the code below
IInfoObjects objectsToSchedule = infostore.newInfoObjectCollection();
                objectsToSchedule.add(report);
                infostore.schedule(objectsToSchedule);

Hi Jhon,
Thanks for your promt reploy,
Could you please look into my code pasted below, I wanted to shedule a report to run pl. see it once
Thanks
Damodar
public class Scheduler {
   public static void main(String[] args) throws ReportSDKException {
    String cms = "XX";
    String username = "XX";
    String password = "XX";
    String auth = "XX";
    IEnterpriseSession enterpriseSession = null;
    try {
         ISessionMgr sm = CrystalEnterprise.getSessionMgr();
         enterpriseSession = sm.logon(username, password, cms, auth);
         IInfoStore oInfoStore=(IInfoStore)enterpriseSession.getService("", "InfoStore");
         IInfoObject oInfoObject = null;
         String requestReportName = "EMP_DETAIL";
         String query = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME = '" + requestReportName + "'";
         IInfoObjects oInfoObjects = oInfoStore.query(query);
         System.out.println("oInfoObjects.size : "+oInfoObjects.size());
        if (oInfoObjects.size() > 0)
               //Use the InfoObject.SchedulingInfo property to retrieve an instance of the SchedulingInfo object.
                  System.out.println("%%%%%%"+(IInfoObject) oInfoObjects.get(0));
                  IInfoObject report = (IInfoObject) oInfoObjects.get(0);
                ISchedulingInfo scheduleInfo = report.getSchedulingInfo();
               // Set the scheduling options.
               // The report will be set to run immediately and only once.
                scheduleInfo.setType(CeScheduleType.ONCE);
                scheduleInfo.setRightNow(true); 
               // Schedule the report using the InfoStore object.
                IInfoObjects objectsToSchedule = oInfoStore.newInfoObjectCollection();
                objectsToSchedule.add(report);
                oInfoStore.schedule(objectsToSchedule);
            else {
               System.out.println("Report not found.");
         catch (SDKException e) {     
                e.printStackTrace();
                System.out.println("Error -->"+e.getMessage());

Similar Messages

  • I am getting error running xml report using bursting

    Hi,
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 23-AUG-2012 04:18:27
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    --Exception
    For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:510)
    at java.lang.Integer.parseInt(Integer.java:539)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:142)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    +---------------------------------------------------------------------------+
    FND_FILE ä¸æ—¥å¿—消息开始
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    FND_FILE ä¸æ—¥å¿—消息结束
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    æ£åœ¨æ‰§è¡Œè¯·æ±‚完成选项...
    Output file size:
    0
    已完成执行请求完成选项。
    +---------------------------------------------------------------------------+
    已完成并发请求
    当前的系统时间为 23-08-2012 04:18:36
    +---------------------------------------------------------------------------+
    pls help me how to overcome this issue give me reponse asap
    thanks.

    To answer my own question, referring to document 1J6MCMIN the error was due to the requirement for an even number of points. It would be nice if this were documented. This doesn't explain the problem where the computer locks up with a small number of points.

  • Getting error while installing reporting servcies on existing sql server 2012.

    Hi Expaerts,
     sql 2012 sp1:
    getting error while installing Reporting services on existing sql server. at final step
    Error on scren: install_rsharepoint_cpu64_action : roll back , rolling back action.
    error on popup windows:  ' one or more files required to restore your computer to its previous state colud  not be found. restoration will not be found.
    Thanks in advance.

    Hello,
    Please help to collect the useful log information while install SQL Server Reporting Services. Here is the article for your reference, please see:
    Navigating the Setup Logs when you install SQL Server 2012 Reporting Services:
    http://blogs.msdn.com/b/jtarquino/archive/2012/03/14/navigating-the-setup-logs-when-you-install-sql-server-2012-reporting-services.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I just figured it out. All I had to do was close out of iTunes then restart.

  • Cant download Adobe Air and Update Photoshop Elemente 9 keep getting Error and now cant use Organize

    Cant download Adobe Air and Update Photoshop elements 9 keep getting Error and not cant use organizer

    What is your operating system & version?
    What exactly means "cant"?  And what is the error you get?

  • Getting error "Cannot initialize Report Engine server. (RWI 00226)"

    Hello All,
    We have BO XI 3.1 running on AiX 5.3 and db2 9.5 with fixpack 6.
    I am getting error "Cannot initialize Report Engine server. (RWI 00226)" Whenever i am trying to create a document or report.
    We were not getting this error earlier. getting it since few days.
    currently our web intelligence processing server is not running and showing the status as "initializing and disabled".
    every time when i tried to restart web intelligence processing server,it is going to initializing status only.
    I tried to enable the trace for this server but it is not allowing me to do and throughing the error " Configuration, auditing or enable/disable state change rejected; server SIA.WebIntelligenceProcessingServer is currently being initialized."
    I also tried creating a new instance of web intelligence processing server, even it has also gone to "initializing" status all the time.
    Environment Information:
    BOXI 3.1 SP2
    OS: AIX 5.3
    DB: DB2 9.5 Fix pack 6
    Plese help in resolving this issue.
    Thanks & Best Wishes,
    Sachin.

    Hi,
    Thanks for your prompt response.
    I already tried the solution provided by you. I stopped BO server completely and restarted it again but it does not worked for me.
    I have stopped the old Web intelligence processing server and created a new instance and started, but the new one has not started but going to initializing status.
    It even not allowing me to delete the newly created instance, saying that it is still in initializing status.
    Please suggest me if anything else i need to check.
    Thanks in advance.
    Best Regards,
    Sachin

  • Keep getting error message "registry setting used by itunes drivers for importing

    Keep getting error message "registry setting used by itunes drivers for importing and burning cds & dvds are missing", this can happen as a result of installing other cd burning software".  The only software on my computer is original cd-dvd on my hp portable with Vista.  My computer now recognized itouch as a camera. Ive uninstalled and reinstalled itunes, nothing changes.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • HT4061 Am getting error 3194 unable to use the ipone, how can I rectify this?

    Am getting error 3194 unable to use the ipone, how can I rectify this?

    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Can i save a podcast without taking up space on nano 6, i keep getting error message space is used up but I don't want to lose the podcast episode for the future

    can i save a podcast without taking up space on nano 6, i keep getting error message space is used up but I don't want to lose the podcast episode for the future

    Sorry to be such a moron with this, but I just don't have much experience with this iPad.  I have had it for over a year and I just keep adding stuff to it and it has worked great.  Now that the memory is used up, I am trying to figure out how to free up space and not lose what I have paid for. 
    So, Step 1 is complete, as I have "Transferred" all of the purchases.
    What is Step 2?  I unchecked the concert on the iTunes library, did a sync, but it's still on my iPad.
    Thanks again for the help!!!

  • HT4914 I keep getting error 4002 which i use itunes match. i cant sync my music anyomore.

    I keep getting error 4002 which I use itunes match. I cant sync my music anyomore.

    He taburoza
    @see https://discussions.apple.com/message/20165728
    Regards
    Stefan

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • Error when running report using SDK

    Hi, I am getting following error when I am running a report  in boxi r2 sp3 on IIS. Infoview and CMC runs fine but SDK application is not able to connect to CMS. This error does not come all the time. It happens intermittently.
    Error in RetrieveReport: Unable to connect to cluster @hisuatcluster to retrieve updated CMS member list. Logon cannot continue.
    Anyone has seen this and any way to pin point the cause. We have used -ns and -port switch in the command line of CMS and all servers.
    Thanks,

    will try that. But we would not be leveraging cluster benefit then. What happens if that particilar CMS in cluster goes down.
    Below is the logic of SDK.
    1.     Create an EnterpriseSession by calling SessionMgr.Login(the credentials we use to connect on in the web.config file).
    2.     Get a reference to the InfoStore with EnterpriseSession.GetService(u201CInfoStoreu201D)
    3.     Get a reference to the report as an InfoObject by querying the InfoStore u2013 InfoStore.Query(u201CSELECT * FROM CI_INFOOBJECTS WHERE u2026u201D)
    4.     Get a reference to the RASReportFactory u2013 EnterpriseSession.GetService(u201Cu201D, u201CRASReportFactoryu201D)
    5.     Open the report using the InfoObject (line 3) and RASReportFactory (line 4) u2013 ReportClientDoc = ReportAppFactory.OpenDocument(InfoObject.ID, 0)
    6.     Manipulate the reportu2019s connection information.
    7.     Set the vieweru2019s report source with the report (this is commented out in the current tests) u2013 CrystalReportViewer.ReportSource = ReportClientDocument
    8.     Close the session u2013 EnterpriseSession.Logoff()

  • Error creating Crystal Report using Stored Proc Universe

    Hi,
    I have created a stored procedure Universe, using the new feature available in XI R3.
    This connects to an Oracle database, executing a PL/SQL procedure returning ref cursor.
    I have created a WebI report using this Universe, which works fine and functions as expected.
    So there are no problems with either my Oracle stored proc or the Universe.
    However, I would like to create a Crystal report (2008) using the same Universe.
    I can create the report ok - using the SP Universe.
    When I attempt to refresh the data I get an error:
    Failed to retrieve data from the database.
    Details: ORA-06550: line 1, column 7:
    PLS-00103: Encountered the symbol "." when expecting one of the following:
    begin case declare etc etc
    .................................My Procedure ...................
    CREATE OR REPLACE PROCEDURE BIADM.Bo_Test_Report_R
    (Deposit_Cursor IN OUT SYS_REFCURSOR)
    IS
    BEGIN
    OPEN Deposit_Cursor FOR
    SELECT DISTINCT foracid "A/C"
    , acct_name "A/C Name", acct_opn_date "OP/Date", schm_code "SchmCode"
    FROM gam@finrpt
    WHERE acct_cls_flg ='N'
    AND foracid ='2252020145001';
    --AND cust_id ='CB2020145'
    END Bo_Test_Report_R;
    Please Give me solution as early as possible.
    Masud Iqubal

    Moved to Universe Design forum.

  • Getting error while generating report from Siebel (Siebel/BI Publisher)

    Dear,
    I have completed the integration of siebel and BIP according to the oracle document, I successfully upload the sample template from siebel application to BIP server.
    But now I am facing two issues,
    I am getting error "Unauthorized access, Please contact the administrator."  when I open report on BIP which I have uploaded from siebel.
    When I try to generate report from siebel=>application=>Tables=>S_Contact I am getting the below error when click on table report from Report button.
    (httptransport.cpp (1635)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 500'
    (httptransport.cpp (983)) SBL-EAI-04117: HTTP Request error during 'Submitting Data Send HTTP request': 'Status code - 500'
    (soapbinding.cpp (675)) SBL-EAI-04304: Unknown Part ':oracle.xdo.webservice.exception.InvalidParametersException'  for operation 'runReport' exists in SOAP message.
    (outdisp.cpp (247)) SBL-EAI-04308: Operation 'runReport' of Web Service 'http://xmlns.oracle.com/oxp/service/PublicReportService.PublicReportServiceService' at port 'PublicReportService' failed with the following explanation: "oracle.xdo.webservice.
    Invalid User Name and Password for BIP Server
    (xmlpadaptersvc.cpp (2287)) SBL-RPT-50529: Verify BI Publisher Server Userid and Password.
    Error in generating Report Output file /siebel8/sea81/siebsrvr/siebel8/sea81/siebsrvr/xmlp/reports/Rept11-3U7M403.PDF in the XMLP Engine
    (xmlpadaptersvc.cpp (2983)) SBL-RPT-50524: BI Publisher engine failed to generate report.
    Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    ( (0) err=2818155 sys=9815388) SBL-OMS-00107: Object manager error: ([0] BI Publisher engine failed to generate report.(SBL-RPT-50524) (0x95c55c))
    (bsvcmgr.cpp (1392) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (bsvcmgr.cpp (1236) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    (smireq.cpp (425) err=2818251 sys=0) SBL-OMS-00203: Error 9815388 invoking method "GenerateReport" for Business Service "XMLP Driver Service"
    Please help to resolve this issue.
    Regards,
    Soahil

    This specifically means that the destinations have not been configured in the Crystal Job Server.  If you're running 4.x, this may be part of the "Adaptive Job Server" instead of or in addition to a Crystal Job Server.  If you're using 3.1 or earlier, you'll also have to set up the destination in the Destination Job Server.
    You'll have to log in to the CMC, go to Servers, right-click on the correct job server and go to "Destinations".  You'll then add something like "File" or "Unmanaged Disk" to the available destinations and save.  Stop the job server, start it again, and your error should go away.
    Please be aware that unless you're using specific credentials to schedule the report or you're saving to the server where BO is installed, you'll need to make sure that the BO services are running under a network "Services" account that has access to the folder you're scheduling the report to. By default during installation it's set to run under the "Local Services" account that doesn't have access to the network.
    -Dell

  • REP-300 Error while running report using App Server

    Hi,
    I am currently trying to run a report using the Application Server.
    This report is being called from a form.
    I am able to connect to the report server and all configurations seems to be correct.
    But when I execute the report from the form, I am getting error "Unable to run report"
    When I look at the error message in the Report Server queue, I find
    "REP-300 Table or View does not exist.."
    But that table does exist in the database.
    What could be be the problem ?
    Please help.
    The code in the form that calls the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id ,REPORT_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
    v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

    The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
    I am getting this error when I try to run the report through a Report server.
    I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
    This is when I get the error.
    There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
    The code in the Form to call the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
    v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
    v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
    v_repstatus := REPORT_OBJECT_STATUS( v_rep );
    IF ( v_repstatus = 'FINISHED' ) THEN
    v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
    web.show_document( v_url, '_BLANK' );
    END IF;

Maybe you are looking for

  • Pdfmaker.xla "accidentally" on my system - need to remove

    I used to have Acrobat 6.0 installed on my laptop (provided by work).  When they upgraded my computer they did not move Acrobat over.  I didn't really mind -- except..... They used the Windows transfer feature to move my program settings over -- and

  • Error while installing Oracle 8.1.7 on red hat linux 6.2

    Hi All We are facing some problem during the installation of oracle 8.1.7 in Linux 6.2. The following error displayed on the screen Error in invoking target links of makefile /usr/local/u01/app/oracle/product/8.1.7/precomp/lib/ins_precomp.mk If anyon

  • How to use OLAP cubes in Crystal Reports R2?

    Dear All, I hope someone can help me with the following issue: We are trying to link Crystal Reports XI-R2 with an OLAP cube but the login keeps on failing while the same setup/connection works with Excel. The OLAP cubes are created through SSAS 2008

  • Cisco ISE and ATA 188 profiling.

    I have tried to profile cisco ATA 188 adapter, based on cdp attribute; Platform: Cisco ATA 188 and assigned to a create a same identity group. I am not able to see device profiled according to identity group assigned. Instead of it its always assigne

  • Spark VideoDisplay events

    I'm just getting started with Flex 4, I want to use the new Spark VideoDisplay component, but I can't seem to figure out how to use a couple events I need. The old MX VideoDisplay had "metadataReceived" and "ready" events, but I can't seem to find th