CRAXDDRT PrintOutEx method throes 'value out of range' error

Hi,
I am using CRAXDDRT.dll for Crystal reports 10 to print a report to a file in afp format.
The following is the scenario:
We have to print out the Tax forms of all the accounts. These forms are printed through an AFP printer. We generate the AFP file and push it to the printer for printing. We create the files each containg10000 accounts. So, we create multiple afp files going in a loop in our code, breaking our files to contain 10000 accounts. For writing the report to a file we use the PrintOutEx method of CRAXDDRT.dll which also takes StartPage number and StopPage numbers as parameters. But when either of the parameters exceeds 32000(int) the method fails with a 'value out of range' error. Do we have any hot fix so that the PrintOutEx method accepts StartPageNum and StopPageNum values more than 32000.
Public crReport As CRAXDDRT.ReportClass
crReport.PrintOutEx(False, piCopiesToPrinter, True, 33000, 38000, sPortName)
Thanks.

CR 10 has been out of patch support since december of 07. See the following for more details:
Business Objects Product Lifecycles [original link is broken]
There is no equivalent API to PrintOutEx in the Crystal Reports SDK for .NET. Thus I understand why you need to use the RDC. However, my suggestion of changing your reference to craxDrt.dll as opposed to craxDDrt.dll still stands due to the two reasons I gave in my previous post (licensing and stability).
I would also consider Don's suggestion re. the 32K limit:
"Only work around I can think of is to limit the number of pages for your print jobs to 32K and then create multiple print jobs to select the same limit. Using Record Selection formula to set the limit, as for the actual page numbers being printed you will likely have to limit them also to 32k, the field may not be able to hold any page numbers higher than 32k."
Finally, another suggestion worth investigating is to see if CR XI release 2 with the latest Service Pack has the same issue. CR XI r2 eval can be downloaded from here:
http://www.businessobjects.com/products/reporting/crystalreports/eval.asp
The latest Service Pack can be downloaded from here:
https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
Ludek

Similar Messages

  • Numeric Value Out Of Range Error in Callable Statement

    I keep getting an error whenever I try and pass in a value greater than 9000 into my stored procedure. The procedure call looks like this:
    sSelect = "execute sp_storedproc ?, ?, ?, ?, ?, ?, ?";
    CallableStatement call = objConn.prepareCall(sSelect);
    call.setString(1, "TEST"); //DB TYPE = VARCHAR
    call.setInt(2, 4); // DB TYPE = INTEGER
    //*******************PROBLEM LINE***************************
    call.setFloat(3,(float) 9001); //DB TYPE = MONEY
    call.setInt(4, 25 ); // DB TYPE = INTEGER
    call.setFloat(5,(float) 0); // DB TYPE = MONEY
    // output parameters
    call.setDouble(6, 0);
    call.setDouble(7, 0);
    call.registerOutParameter(6, Types.DOUBLE);
    call.registerOutParameter(7, Types.DOUBLE);
    // execute stored procedure
    call.execute();
    // retrieve value
    val1= call.getDouble(6);
    val2= call.getDouble(7);
    I keep getting a "[Microsoft][ODBC SQL Server Driver]Numeric value out of range." error.
    I'm using MS SQL server 2000. The error only occurs when I pass in values > 9000. Since there's no direct mapping between java data types and SQL MONEY data type, I've tried passing every possible type into the procedure with the same result (e.g. float, long, double, int, BigDecimal). If anyone has come across this problem and knows a solution please help!!
    Thanks.

    knows a solution please help!!Modify the stored proc so it takes a varchar. In the stored proc convert the string to the correct type. In java use setString() to pass in the value.

  • Numeric value out of range (null) - Inserting a double

    Allright,
    I can't figure this out to save my life.. I am refusing to put my code up because I am trying to insert into a DB Table with 140 some fields, so I will explain as best I can.. I am trying to insert a double into my DB.. I have been getting a numeric value out of range error on insertion. Just to see if it was a db problem, I shortened my query to 4 fields and two of them being the doubles for insertion. They inserted fine. So needless to say, i presumed that my insert statement for the 140 fields query was off. I double checked it and everything seems to be in order. I still get the error. I can assure that everything matches up.. my SQL string looks like this :
    SQL = "INSERT INTO TABLE 1 (VAL1, VAL2, VAL3 ... VAL146) VALUES (?, ?, ? .... ?);
    and my preparedStmt :
    ps = con.prepareStatement(SQL);
    ps.setInt(1, val1);
    ps.setInt(2, val2);
    ps.setString(3, val3);
    ps.setDouble146, val146);
    ps.executeUpdate();
    Please help me solve this..
    Ed

    The name of the table is FAC.
    Here is the query:
    INSERT INTO FAC (FAC_SK, KEY, ACTIVITY, BE_NUMBER,CATEGORY, CC, CLASS_LVL, CONDITION, COORD_BASIS, COORD_DATUM, COORD_DERIV,DOMAIN_LVL, EVAL, GRAPHIC_CC, GRAPHIC_ED_NUM, GRAPHIC_SCALE, GRAPHIC_SERIES,LAST_CHG_USERID, MIDB_TIMESTAMP, OPER_STATUS, OSUFFIX, PROD_LVL_CAP,PROD_LVL_REQ, RECORD_STATUS, RES_PROD, COORD, DATETIME_CREATED,DATETIME_LAST_CHG, FAC_NAME, GRAPHIC_AGENCY, GRAPHIC_ED_DATE,GRAPHIC_SHEET, REVIEW_DATE, ACCESS, AFFILIATION, AIR_DEF_AREA,ALLEGIANCE, BE, CAPACITY, CAPACITY_EVAL, CAPACITY_MAX, CAPACITY_UM,CLASS_RATING, CMD_CNTL_COMM, CODEWORD, CONDITION_AVAIL, CONTROL_MARK,COORD_DERIV_ACC, COORD_DERIV_ACC_UM, COORD_ROA, COORD_ROA_CONF_LVL,COORD_ROA_UM, CPFL, CRITICAL_INDUSTRY, DECLASS_ON, DEGREE_INTEREST,ELEVATION, LAT, LON, ELEVATION_ACC, ELEVATION_CONF_LVL, ELEVATION_DATUM,ELEVATION_DERIV, ELEVATION_DERIV_ACC, ELEVATION_DERIV_ACC_UM, ELEVATION_MSL,ELEVATION_MSL_ACC, ELEVATION_MSL_CONF_LVL, ELEVATION_MSL_DERIV, ELEVATION_MSL_DERIV_ACC,ELEVATION_MSL_DERIV_ACC_UM, ELEVATION_MSL_UM, ELEVATION_UM, FOREIGN_TECH_CC,FOREIGN_TECH_PERCENT, FPA, FUNCT_PRIMARY, FUNCT_SECONDARY, GEOIDAL_MSL_SEPARATION,GEOIDAL_MSL_SEPARATION_UM, ILAT, ILON, INTEGRATION, LINE_QTY, MED_DIAGNOSTICS,MED_MASS_CASUALTY, MIL_AREA, MIL_GRID_SYS, MODERNIZATION, MSN_PRIMARY, MSN_PRIMARY_SPECIALTY,MSN_SECONDARY, MSN_SECONDARY_SPECIALTY, OPEN_STG_COVERED, OPEN_STG_FILLED, OPEN_STG_TOTAL,OPEN_STG_UM, OUTPUT, OUTPUT_EVAL, OUTPUT_MAX, OUTPUT_RATE, OUTPUT_UM, PERIODICITY, PIN,POL_SUBDIV, POP_AREA, POP_AREA_PROXIMITY, POWER_DISTRICT, POWER_DISTRICT_SUB, POWER_SOURCE,RECUP_INTRVL, RECUP_INTRVL_MAX, RECUP_INTRVL_UM, RECUP_LOSS_IMPACT, RECUP_REPAIR_PRIORITY,RELATIVE_RANKING, RELEASE_MARK, ROLE_LVL, ROLE_TYPE, SCALE, TDI, TGT_RESTR, TURN_AROUND_TIME,WAC, WATERBODY, ADDRESS_NAME, CAPACITY_DATE, CAPACITY_EVAL_DATE, COORD_DATETIME,DATETIME_BEGIN, DATETIME_END, DATETIME_FIRST_INFO, DATETIME_LAST_INFO, DECLASS_ON_DATE,LOC_NAME, MAX_DEMO_USE, MIL_GRID, OUTPUT_DATE, OUTPUT_EVAL_DATE, PLACE_NAME, POSTAL_CODE,SCENARIO_SET, STREET_NAME, STREET_NUM, SYMBOL_CODE, UTM) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
    The query works fine if I have no value for the two doubles : LAT and LON..
    If I have a value for them, the thing gives me an error:
    Numeric value out of range (null)
    If you see anything wrong with that query.. Let me know..
    Takizzle

  • Error : CLI0111E Numeric value out of range

    Hello:
    While extracting data through generic datasources, extraction fails in the source system with the following error message.
    Database error text........: "CLI0111E Numeric value out of range.
    SQLSTATE=22003 row=1 col=12"
    Any idea what does this mean?
    Thanks

    Hello:
    While extracting data through generic datasources, extraction fails in the source system with the following error message.
    Database error text........: "CLI0111E Numeric value out of range.
    SQLSTATE=22003 row=1 col=12"
    Any idea what does this mean?
    Thanks

  • Bcp import error numeric value out of range

    lo, I have table with columns of type int. I export this table by using bcp:
    bcp dbo.int_table out file.dat -q -CRAW -T -S localhost -E . 
    Now I want to import it to table with columns of type bigint. I use bcp command:
    bcp dbo.bigint_table in file.dat -q -CRAW -T -S localhost -E 
    I get error:
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    i was trying import table by using format file created based on bigint_table by command:
    bcp dbo.bigint_table in file.dat -f format_file_bigint.xml -q -CRAW -T -S localhost -E
    but i also gets the same errors. 
    Can I use format file when during export was used -CRAW option???? 

    int table:
    CREATE TABLE [INT_TABLE](
        [ID] [int] IDENTITY(1,1) NOT NULL,
        [COL1] [int] NOT NULL,
        [COL2] [datetime] NOT NULL,
        [COL3] [datetime] NOT NULL,
        [COL4] [datetime] NOT NULL,
        [COL5] [datetime] NOT NULL,
        [COL6] [bit] NOT NULL,
        [COL7] [bit] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL7] [numeric(15,2)] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL9] [int] NOT NULL,
        [COL10] [int] NOT NULL,
        [COL11] [datetime] NULL
    big int table:
    CREATE TABLE [BIGINT_TABLE](
        [ID] [int] IDENTITY(1,1) NOT NULL,
        [COL1] [int] NOT NULL,
        [COL2] [datetime] NOT NULL,
        [COL3] [datetime] NOT NULL,
        [COL4] [datetime] NOT NULL,
        [COL5] [datetime] NOT NULL,
        [COL6] [bit] NOT NULL,
        [COL7] [bit] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL7] [numeric(15,2)] NOT NULL,
        [COL8] [numeric(15,2)] NOT NULL,
        [COL9] [bigint] NOT NULL,
        [COL10] [bigint] NOT NULL,
        [COL11] [datetime] NULL
    The int table was exported by bcp command:
    bcp int_table out 'c:\int_table.dat' -q -N -T -C RAW -S localhost
    and i try import it by command:
    bcp bigint_table in 'c:\int_table.dat' -T -C RAW -q -S localhost -E
    then i get this errors:
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0
    Error = [Microsoft][SQL Native Client]Numeric value out of range
    SQLState = 22003, NativeError = 0

  • JMS Queue XML numeric value out of range

    Hi
    I have an interface that process the root element of the JMS message.
    It is failing on the step Load JMS to XML. The error states: numeric value out of range.
    I've analysed the message and determined the exact data item which is 11 digits long.
    The JMS model only accomodates for numeric(10,0). I tried changing it, but still get the error.
    Any idea what I need to do so that this step will process that data without error?
    Cheers
    PS ODI 11.1.1.6

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

  • Config copy via snmp - value out of range

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

    Hi,
    I have problem with configuration file copy via snmp on cisco AP 1121. I use this mib CISCO-CONFIG-COPY-MIB.
    I use this oid's and i get error ".1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)""
    snmpset -v1 -c <rwcommunity> <ap_ip> .1.3.6.1.4.1.9.9.96.1.1.1.1.2.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.3.333 i 4
    .1.3.6.1.4.1.9.9.96.1.1.1.1.4.333 i 1
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333 inetaddress "<tftp_server_ip>"
    .1.3.6.1.4.1.9.9.96.1.1.1.1.16.333: Value out of range (<tftp_server_ip>)
    Any Ideas? Thanks for help.

  • Numeric value out of range

    Hello, I am getting error of "Numeric value out of range".I've tried increasing Decimal value  as well tried chnaginf Intefr to BIGINT.Workflow usd to run fine and all of a sudden it start throwing an error.I've attached session log file.I am using Pushdown optimization and database is netezza. Any help highly appericiated. Regard, Ram

    Hi All,  I have one scenario to read the source file . The file delimiter is '|' . The no of pipeline for each line is 17. So if a line containing more than 17 , send an error email. For this first i am printing tota pipeline in ecah line to afile called pipelinecount.txt . Then i will read this file and send each value to while loop /for loop , where it will get > 17 , it will exit the process and send an email.  But here in script i am getting error at while line. Could anyone help.   #! /bin/kshset -x SOURCE_DIR=/vp01/SrcFilessed 's/[^|]//g' /vp01/SrcFiles/Test.txt | awk '{ print length }'> /vp01/SrcFiles/pipelinecount.txtcd $SOURCE_DIRwhile line in `cat pipelinecount.txt`; do if [ $line -eq 17 ];thenecho "No issue in pipeline"exit 0;fiif [ $line -gt 17 ];thenecho "No of pipelines exceeded the expected. Please verify the source file." | mailx -s "WKFS Load: Failed" [email protected]

  • Attribute out of range error with Dalsa Spyder camera

    I have a Dalsa Spyder camera SG-11 which seems to work fine in NI MAX. I've also had this camera working successfully in a LabView vi but now, for some reason, I am getting an error message "Attribute out of range  (-1074360302)". 
    I've tried using different gain values (since MAX sometimes gives an attribute out of range error relating to gain) but am not having much success.
    Has anyone else experienced this problem and found a work around?
    Lightworker 

    Hi LightWorker,
    I've not seen this probelm specifically with Dalsa Spyder SG-11 cameras but there are several KnowLedge Base Articles on the error for various differnt models of camera. It may be that one of these fixes will apply to your camera as well.
    How Do I Resolve "Error: 0xBFF69012 Attribute value is out of range” When Connecting to a GigE Camer...
    Why do I get Error 0xBFF69012 "Attribute Value is Out of Range" with my Basler GigE Camera?
    Stingray Camera & NI LabView / Vision Builder Error -1074360302 "Attribute is out of range"
    Please let us know if any of these solve your issue.
    Kind regards,
    James W
    Controls Systems Engineer
    STFC

  • Vector Array out of range error

    Hiya, I've run into a strange Vector out of range error when trying to splice a Vector array. The idea is to cut off the Vector array after a certain point....
    var vec:Vector.<int> = new Vector.<int>();
    vec.push(1);
    vec.push(2);
    vec.push(3);
    vec.push(4);
    vec.push(5);
    vec.splice(3,vec.length); // output RangeError: Error #1125: The index 5 is out of range 5.
    The strange thing is that it works perfectly, if I change the Vector to a regular array like:
    var vec:Vector.<int> = new Vector.<int>();    to    var vec:Array.<int> = new Array();
    Any ideas what am i doing wrong ?
    Thanks, Martin

    I don't know why it don't throw error in Array, but seccond parameter in splice method is deletecount, so you try to delete all elements start from 3 (from element 3 to element 8, but you don't have 8 elements).
    vec.splice(3,vec.length - 3);

  • Oracle ORA-01428: argument is out of range error

    Oracle ORA-01428: argument is out of range error

    I take it you don't feel like spending the extra money for the EE add-on that was designed to CREATE an INDEX on polygons of logitude,latitude values in such away that a simple
    SELECT * FROM ZIP_CODES WHERE SDO_WITHIN_DISTANCE( Z.ZIPCODE_AREA, /* point for zipcode */, 'distance=' || in_distance ) = 'TRUE';
    will be very efficient and fast.
    primary thing:
    you need to drop out the WHEN OTHERS THEN NULL;
    also, take advantage of the NO_ROWS_FOUND exception for finding out if a row exists in the database. (instead of doing an IF statement on the results of COUNT(*))
    back to your problem
    You'll need to investigate which row is causing the problem.
    Most likely, it is the zipcode that was the input for the search.  I've seen this occur many times on similar trigonometric calculations.
    You may have to surround a lot of those trigonometric functions with ROUND( ____, 25) to get it to work.
    However, I highly advise you to take a look at what can be done with Oracle Spacial
    MK

  • ActiveWorkbook.Connections(Connection).OLEDBConnection - Subscript out of range error

    With ActiveWorkbook.Connections(Connection).OLEDBConnection  ' This statement is giving me a script out of range error                                      
                                                                        ' when used inside
    the function shown below.
    Sub getData(qArray() As String, Connection As String, ActSheet As String)
    'Updates the data from the Database. qArray is the SQL query in an array, connection defines which connection to use and ActSheet defines in which sheet to place the data
    Sheets(ActSheet).Select
        Range("A1").Select
            With ActiveWorkbook.Connections(Connection).OLEDBConnection
            .CommandText = qArray
            .BackgroundQuery = False ' Hvis true opdateres ikke før script er kørt færdig
            .CommandType = xlCmdSql
            .Connection = "OLEDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RDWEB;Data Source=dk0149sql.niladv.org;"
            .RefreshOnFileOpen = False
            .SavePassword = False
            .SourceConnectionFile = ""
            .SourceDataFile = ""
            .ServerCredentialsMethod = xlCredentialsMethodIntegrated
            .AlwaysUseConnectionFile = False
        End With
        ActiveWorkbook.Connections(Connection).Refresh
    End Sub
    I am getting a subscript out of range when I use the above statement inside the  getData function shown below.
    The data is getting into the qArray as seen the Locals Window after it errors
    How do I eliminate this error? 

    It seems that Connection has some bad value. Have you investigated what that may be?
    The code looks puzzling to me - it never seems to be running the query. Then again, this is a forum for SQL Server, and not for programming Excel. And it's probably in a forum of the latter type should have posted your question.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Repost: Oracle VM Manager (IndexError: list index out of range) error

    The Oracle VM Manager software will not import a server side created VM for management purposes. It is giving an index-out-of-range error when trying to retrieve the Memory Size from the jumpbox.xen file (I created a symbolic link to this file called vm.cfg).
    Here is the log for the index-out-of-range error:
    ovs_root.log
    "2008-08-20 02:03:26" INFO=> utl_list_dir: directory('/OVS/running_pool') => pro
    jectweb/,infinesse-web/
    "2008-08-20 02:03:26" INFO=> list_dir: directory('/OVS/running_pool') => project
    web/,infinesse-web/
    "2008-08-20 02:03:26" INFO=> utl_get_vm_size: vm('/OVS/running_pool/infinesse-we
    b') => 12020
    "2008-08-20 02:03:26" INFO=> get_vm_size:vm('/OVS/running_pool/infinesse-web') =
    success:size=12020"2008-08-20 02:03:26" ERROR=> xen_get_memory:vm('/OVS/running_pool/infinesse-web
    ')=><IndexError: list index out of range>
    "2008-08-20 02:03:26" INFO=> get_vm_memory: vm('/OVS/running_pool/infinesse-web'
    ) scope=cfg rs=failed:<IndexError: list index out of range>
    and my vm.cfg file:
    # -- mode: python; --
    # This JumpBox requires Hardware Support otherwise known as Xen's HVM mode.
    # To test your Xen installation if it supports this mode, issue the following
    # command:
    # sudo xm info | grep xen_caps
    # it should return a capabilities line like:
    # xen_caps : xen-3.0-x86_32 hvm-3.0-x86_32
    # as long as there is an hvm entry as shown above it should work.
    ## If starting Xen fails you may need to set a custom path
    ## for your kernel or device model files. Uncommant the following
    ## variables and put in the appropriate paths
    ## Uncomment and set your custom hvm loader path here
    # hvm_path = ""
    ## Uncomment and set your custom device model loader path here
    # devmodel_path = ""
    # You will probably want to uncomment the following VNC variables so you
    # can see the JumpBox console over VNC. Make sure to set the vncpassword to
    # something unique. Also, if you run multiple JumpBoxes on the same host, you
    # may want to leave vncdisplay unset and use the domid for the display numbers
    #vnc=1 # enable VNC library for graphics, default = 1
    #vnclisten="0.0.0.0" # address that should be listened on for the VNC server if vnc is set.
    #vncdisplay=1 # set VNC display number, default = domid
    #vncconsole=1 # enable spawning vncviewer for domain's console
    #vncpasswd='password' # set password for domain's VNC console
    memory = '256'
    vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
    ########### You shouldn't have to edit anything below here ##############
    import os
    import sys
    # Assemble the basepath
    file = os.getcwd() + '/' + sys.argv[2]
    basepath = os.path.dirname(os.path.abspath(file))
    datatarball = basepath + '/disks/data/data.xen.tgz'
    builder = "hvm"
    hvmfiles = [
    '/usr/lib/xen/boot/hvmloader',
    '/usr/lib/xen-ioemu-3.0/boot/hvmloader'
    devfiles = [
    '/usr/lib/xen/bin/qemu-dm',
    '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'
    # Check to see if the user has assigned custom HVM or device_model paths
    try:
    hvmfiles.insert(hvm_path,0)
    except NameError:
    pass
    try:
    devfiles.insert(devmodel_path,0)
    except NameError:
    pass
    # Choose the appropriate HVM Loader
    for i in hvmfiles:
    if os.path.exists(i):
    kernel = i
    break
    # Choose the appropriate Device Models
    for i in devfiles:
    if os.path.exists(i):
    device_model = i
    break
    # Need to test if device_model and kernel are set, if not return with error.
    # If this is the first time this has run, extract the data disk tarball
    # then remove the tarball
    if os.path.exists(datatarball):
    os.chdir(basepath + '/disks/data')
    os.system("tar -zxpf " + datatarball)
    os.remove(datatarball)
    # Continue normal configuration
    name = "joomla15"
    vif = ['type=ioemu, mac=00:16:3E:2B:1F:04, bridge=xenbr0']
    disk = ['file:' + basepath + '/disks/root/root.hdd,hda,w','file:' + basepath + '/disks/data/data.xen,hdb,w']
    root = "/dev/hda1 ro"
    extra = "4"

    Hi Ravi,
    the error is due to the componet JAVA(TM) 7 which is not supported.
    Better to run JAVA 6, I'm running the update 33, you can download it from http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html
    Remeber to remove JAVA &
    Go to control panel --> add remove programs and remove JAVA (TM) 7.
    It will solve the problem.
    Ciao,
    Massimo

  • Blackberry - ref member out or range' error.

    Hi everyone,
    I'm porting my app to Blackberry and up until last week everything was working perfectly.
    In the last week I've probably made a few hundred changes and now my app won't run on the device, it gives a 'ref member out or range' error for a specific class.
    it seems there are a few others out there with the same error but there is no solution posted. It seems to compile fine and installs on the phone but when deleting the app it deletes much quicker than a working app.
    Anyone have this problem before?
    DAN

    It would be good to provide the stacktrace, it's the fastest way to identify at which line your program failed at. I believe calvino_ind has somehow answered you though.
    Just FYI, you don't have to do 'String str2 = new String("ay");'. The statement creates a new String instance every time it is executed. Number of instances can be created needlessly, if it happens to be in a loop, for instance.
    Instead, do this:
    String str2 = "ay";
    yc

  • GetFloatProperty gives wrong result for values out of range

    Hi
    When the method setFloatProperty is called by setting the float values out of the range,then calling getFloatProperty does not give NumberFormatException.
    Float value set more the MAX_VALUE of float returns infinity when getFloatProperty is called.Similar problem occurs with setDoubleProperty.This behavior is confusing.can anyone help me out.
    Regards
    saroj13

    Throwing a NumberFormatException would never make sense in this situation. The exception indicates that you are trying to convert a String to a number, but the String does not contain a valid number. eg. "as3"; when a conversion was attemted would throw a NumberFormatException.
    Floats and Doubles in Java comply with the IEEE 754 standard which mandates the behaviour of the types.
    Could you explain why you find this confusing?
    Hope this helps.

Maybe you are looking for