There is an invalid number of arguments found in the function '@PARENTVAL

Hi
In a prior version of Hyperion, we had a business rule which pushed values down to to a child member
+Fix ( EE105, , @Children("FX entry"), &District, @UDA("Cost centre - primary", "DuplicateMbr"),C3090,[Opex_WriteScenario], [Opex_WriteVersion],&CurYear: &YearPlus6)+
Month = @PARENTVAL("Cost Centre");
Endfix;
We are moving across to Calc Manager in version 11.1.2.1 and the problem is that I now get the following error message:
An error occurred in: Calc Opex CC
There is an invalid number of arguments found in the function '@PARENTVAL(Cost Centre)'. .
Your assistance is appreciated.
Cheers

Check if you can validate this script again Essbase, I am sure you will be able to.
If I remember correctly there were few functions missing in calc manager which were fixed in the patches released.
Try it on the latest patch:
Patch 14265667: Patch Set Update: 11.1.2.1.104 for Oracle Hyperion Calculation Manager
Cheers..!!!
Rahul S.

Similar Messages

  • Error: Illegal number of arguments passsed to the function call

    HI All,
    In our scenario we are using XSLT mapping with java enhancement.Its working fine in Stylus studio but when the same is imported into XI its throwing the below mentioned error:
    javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: Illegal number of arguments or types of arguments in a call of function 'Trans:Convert'.
    Our requirement is that we are summing up the field "Grant_Amount" which occurs multiple times in the source structure and the sum is mapped to the field "Sum' on the target side.The stylesheet is working fine in stylus studio but whe  imported into XI the above mentioned error is being thrown.Can any one one please help me solving this issue.
    The XSL, the source XMLand the java class are mentioned below:
    <
    XSL:
    ===
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="http://www.infosys.com/sap/xi/projects/sce/n1" xmlns:Trans="com.company.group.String2Number">
         <xsl:template match="/">
              <a:MT_TargetXSLJava>
              <Record>
                   <Detailrecord>
                         <Sum>
                      <xsl:value-of select="Trans:Convert(//Grant_Amount)"/>
                         </Sum>
                          <Flag>
                     <xsl:text>1</xsl:text>     
                          </Flag>
                  </Detailrecord>
              </Record>
              </a:MT_TargetXSLJava>
         </xsl:template>
    </xsl:stylesheet>
    XML:
    ===
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SourceXSLJava xmlns:ns0="http://www.infosys.com/sap/xi/projects/sce/n1">
       <Recordset>
          <DETAILRECORD>
             <Grant_Amount>$100.00</Grant_Amount>
          </DETAILRECORD>
          <DETAILRECORD>
             <Grant_Amount>$200.00</Grant_Amount>
          </DETAILRECORD>
          <summary_record>
             <Total>$300.00</Total>
          </summary_record>
       </Recordset>
    </ns0:MT_SourceXSLJava>
    Java Code:
    ========
    package com.company.group;
    public class String2Number
    public static double Convert(String[] a)
    double sum=0;
    String[] temp = new String100;
    for(int i=0;i<a.length;i++)
    temp = (a).replaceAll(",
    $
    sum=sum+Double.parseDouble(temp);
    return sum;
    Please guide me to the right solution.
    Thanks and Regards,
    Karanam

    If you are using below mentioned java code for Convert method, then see you are passing a String Array, but in below statement:
    <xsl:value-of select="Trans:Convert(//Grant_Amount)"/>
    This is just a single value i think, you have to pass an array with values 100,200,300. Pls check it.
    BR,
    Alok

  • There is an invalid number of result bindings returned for the ResultSetType

    SSIS SQL Task:  Single Row Result Set
    Code was updated to test for data in target:  If Exists Do Merge  ELSE Do Insert
    Previously was just a merge that Output $Action to @ChangeSum and then @ChangeSum queried for updates and inserts
    That all worked but after injecting new code I receive the error There is an invalid number of result bindings returned for the ResultSetType that I don't know what it means or how to troubleshoot.
    Inject New Code:
    IF OBJECT_ID('tempdb..##TblTemp', 'U') IS NOT NULL
    DROP TABLE ##TblTemp
    Declare @sql nvarchar(max);
    set @sql = @TestForData
    exec (@sql);
    IF EXISTS  (select top 1 * from ##TblTemp)
           Begin
    --Beginning of existing code
               begin transaction;
                begin try
                declare @MergeQuery varchar(max)
                set @MergeQuery = convert(varchar(max), @MergeQuery1) +  convert(varchar(max), @MergeQuery2)
                + ' ' + convert(varchar(max), @MergeQuery3)
                + ' ' + convert(varchar(max), @MergeQuery4)
                + ' ' + convert(varchar(max), @MergeQuery5);
                exec(@MergeQuery);
                end try
                begin catch
                    declare
                    @Message VARCHAR(4000)
                    ,@Severity INT
                    ,@State  INT;
                    select
                    @Message = ERROR_MESSAGE()
                    ,@Severity = ERROR_SEVERITY()
                    ,@State = ERROR_STATE();
                    if @@TRANCOUNT > 0
                    rollback transaction;
                    raiserror(@Message, @Severity, @State);
                end catch;
                if @@trancount > 0
                begin
                    commit transaction;
                end
    --End of existing code
          End
    else
           Begin
        declare @InsertQuery nvarchar(max)
        set @InsertQuery = convert(varchar(max),@InsertQuery1)
        exec (@InsertQuery);
          end
    Drop Table ##TblTemp
    =================================
    SSIS Variable @InsertQuery1:
    This variable is executed in SQL Task and the last 3 lines I expect a single row of Insert & Update counts to be returned.
       declare @ChangeSum table(change varchar(25));
       declare @Inserted int = 0;
       declare @Updated int = 0;
    While 1 = 1  
        Begin  
            INSERT INTO [R_Paid].[BusCodeF454x93]
            OUTPUT Inserted.Sta3n INTO @ChangeSum
            SELECT TOP 1000 s.*
            FROM [R_Stage].[BusCodeF454x93] s
            WHERE NOT EXISTS
              SELECT 1
                FROM [R_Paid].[BusCodeF454x93]
                WHERE STA3N=S.STA3N and [BusCodeF454x93IEN] = s.[BusCodeF454x93IEN]
           IF @@ROWCOUNT  = 0 BREAK       
    END
       set @Inserted = (select count(*) from @ChangeSum );
       set @Updated = 0;
     select @Inserted as Inserted, @Updated as Updated;

    "SELECT " + (DT_WSTR,50)@[User::TargetExists] + " = CASE WHEN COUNT(*) > 0 THEN 1 ELSE 0 END
    FROM " + (DT_WSTR, 100) @[User::DataDestinationTable]
    must do the trick
    The T-SQL merge allows both inserts and updates:
    MERGE Target AS T
    USING Source AS S
    ON (T.EmployeeID = S.EmployeeID)
    WHEN NOT MATCHED BY TARGET AND S.EmployeeName LIKE 'S%'
    THEN INSERT(EmployeeID, EmployeeName) VALUES(S.EmployeeID, S.EmployeeName)
    WHEN MATCHED
    THEN UPDATE SET T.EmployeeName = S.EmployeeName
    WHEN NOT MATCHED BY SOURCE AND T.EmployeeName LIKE 'S%'
    THEN DELETE
    OUTPUT $action, inserted.*, deleted.*;
    ROLLBACK TRAN;
    GO
    Arthur My Blog

  • Installed an SSD in place of hard drive, DU reports that there is an invalid number of allocation blocks.

    I recently installed a Mercury Extreme Pro SSD in my laptop in place of the hard drive. I used Carbon Copy Cloner to make the SSD a bootable disk and transfer all my files. Today (about a month later) while checking the old HD (now in an external case), I decided to run "Verify Disk" on the new SSD. When I run it on the disk volume, Disk Utility reports that there is an invalid number of allocation blocks - much to my surprise. When I run it on the drive itself there are no errors.
    The new disk works fine as the startup drive. What's the meaning of the error and how do I fix it?

    No, on both counts. FW800 will not support the speed of SSDs. It barely supports the speed of very fast hard drives. But it beats USB 2.0.

  • Error: An insufficient number of arguments were supplied for function

    Hi ,
    I changed the data source for a data set on my report . The data source  is still pointing to same server and database but I am getting this error 
    "An error occurred during local report processing
    Query execution failed for data set 'Data Set Name'
    An insufficient number of arguments were supplied for function "
    I checked the function number of arguments again and it was correct and even executed the function in the dataset query designer and it works fine.
    any ideas for the reason for this error ?

    Without seeing the query you use or function its hard to suggest.
    See if parameter passed from SSRS has expected values. Is there some multivalued parameters involved?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Hi,  I lost my serial number for PS Elements11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope  ..  How can I obtain the serial number please?     Thanks

    I lost my seriel number for PS Elements 11 following computer crash. Os is W7
    Peter Jones Aug 27, 2014 5:36 AM   
    Hi,
    I lost my serial number for PS Elements 11 following computer crash. Os is W7. I have the cd installation disc but there is no serial number with it or in the envelope
    How can I obtain the serial number please?
    Thanks

    If you registered the software you should be able to find the serial number thru your Adobe account online.
    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • When i tried to text a message from my contact list  i received a message saying invalid number of digits. i use the area code with the number but still would not send

    When i tried to text a message from my contact list  i received a message saying invalid number of digits. i used the area code with the number but still would not send

    Call your carrier and see what they suggest.

  • Invalid or Stale Connection found in the Connection Cache

    Hi, all.
    I try to use Oracle MapViewer 11g to display real-time GPS data - JavaScrip API refreshes FOI every 10 seconds. And I get every 3-4 minutes "Invalid or Stale Connection found in the Connection Cache" error. Does anybody know how to prevent it?
    Thanks,
    Ihor.
    P.S. Here is the stack trace from mapviewer.log:
    24-Nov-2009 2:41:15 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:15 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:18 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:18 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:41:21 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:41:21 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:46:15 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:46:15 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:48:04 PM oracle.lbs.foi.FOIServlet doPost
    SEVERE: MAPVIEWER-06009: Error processing an FOI request.
    Message:Error fetching theme based FOI data.
    Tue Nov 24 14:48:04 EST 2009
    Severity: 0
    Description:
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:50:45 PM oracle.lbs.foi.ThemeAbortingThread run
    WARNING: Aborting theme: killing the theme rendering thread forcefully.
    24-Nov-2009 2:50:54 PM oracle.sdovis.theme.DynGeomThemeProducer prepareData
    SEVERE: Error fetching data.
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
    24-Nov-2009 2:50:54 PM oracle.sdovis.LoadThemeData2 run
    SEVERE: Exception fetching data for theme GPS_MESSAGES.
    Message:null
    Description: Nested exception is:
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
    java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:403)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:374)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:178)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:156)
         at oracle.sdovis.ds.NativeOracleDataSource.getConnection(NativeOracleDataSource.java:306)
         at oracle.sdovis.ds.DSUtil.getDBConnection(DSUtil.java:103)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:307)
         at oracle.sdovis.Theme.prepareData(Theme.java:183)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:67)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2289)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2221)
         at oracle.lbs.foi.FOIDataProducer.getFoiData(FOIDataProducer.java:143)
         at oracle.lbs.foi.ThemeRenderingThread.getFeatures(ThemeRenderingThread.java:742)
         at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:244)
         at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)

    The error looks like a generic jdbc/database problem. Will the error go away if you restart mapviewer?

  • Oracle 9i - Invalid or Stale Connection found in the Connection cache

    Hi all,
    I did the following steps:
    1. Deployed my application in Jboss and started the jboss and my application.
    2. Re-started my database when the application is alive and running.
    3. Tried to login to the application.
    4. I got the following exception:
    NO MORE DATA TO READ
    5. Then i set the Oracle Data Source property DB_VALIDATE_CONNECTION=true via my application.
    6. But still i get the following exception when i log in first time to the application. But not in subsequent attempts. I am able to login to the application except for the first time.
    “java.sql.SQLException: Invalid or Stale Connection found in the Connection Cache”.
    Please let me know why this exception occurs.
    Thanks!!

    The error looks like a generic jdbc/database problem. Will the error go away if you restart mapviewer?

  • What does "Error-2041: an invalid sample description was found in the movie"means?

    what does "Error-2041: an invalid sample description was found in the movie"means?

    I have the exact same problem. I have a PPC 6700, and now I can't view movies I created with it in mp4. If change extension file to 3GP video works just fine.
    Also, when I try to see a webpage with a Quicktime video clip, I only get a Quicktime logo with a big question mark in it, but no play.
    I tried uninstalling and reinstalling, but nothing seems to work.
    I have Windows XP, and it worked fine until a couple weeks ago. Not sure if when upgrading to Quicktime 7.2, though.

  • Error -2041: an invalid sample description was found in the movie

    I just tried to use quick time to open mp4 on my PC (taken from my dopod/HTC pda phone), but NOW get "error -2041: an invalid sample description was found in the movie". I used to be able to watch the vids, but no longer......

    I have the exact same problem. I have a PPC 6700, and now I can't view movies I created with it in mp4. If change extension file to 3GP video works just fine.
    Also, when I try to see a webpage with a Quicktime video clip, I only get a Quicktime logo with a big question mark in it, but no play.
    I tried uninstalling and reinstalling, but nothing seems to work.
    I have Windows XP, and it worked fine until a couple weeks ago. Not sure if when upgrading to Quicktime 7.2, though.

  • HT4111 I just purchased my first iPad (the new one) and a wireless keyboard. Is there a keyboard usage manual available anywhere that shows the functions of the keys? The info that came with the keyboard was very basic and my searches have been unsuccessf

    I just purchased my first iPad (the new one) and a wireless keyboard. Is there a keyboard usage manual available anywhere that shows the functions of the keys? The info that came with the keyboard was very basic and my searches have been unsuccessful.

    If you are using a Bluetooth keyboard on your iPad device, you should take advantage of the keyboard shortcuts for quicker access to copy, cut, paste, undo, redo, and other commands.
    Command + C : Copy Selected Text
    Command + V : Paste
    Command + X: Cut Selected Text
    Command + Z: Undo
    Command + Shift + Z: Redo
    Command + Delete: Delete everything to the left of the cursor on the current line
    Option + Delete: Delete the word to the left of the cursor
    Command + Up Arrow: Go to top of document
    Command + Down Arrow: Go to bottom of document
    Command + Left Arrow: Go to beginning of current line
    Command + Right Arrow: Go to end of current line
    F1: Dim screen
    F2: Brighten screen
    F7: Back one song
    F8: Play/pause song
    F9: Skip song
    F10: Mute
    F11: Decrease volume
    F12: Increase volume
    Eject button: Show or hide onscreen keyboard
     Cheers, Tom

  • Schedules: Invalid number of arguments

    Hello All,
    I've created a proces flow, associated it with a schedule, deployed both succesfull and I've started/activated the schedule succesful as well. So far all seems fine. But when running the schedule manually (right click in toad and select run) it fails with the following error; the procesflow itself can be executed properly
    ===========================
    ORA-06553: PLS-ORA-06553: PLS-306: wrong number or types of arguments in call to 'PCOMPLETE_REFRESH_PF_JOB'
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 2
    Details:
    BEGIN
    SYS.DBMS_SCHEDULER.RUN_JOB
    (job_name => 'OWF_RUN_P.COMPLETE_REFRESH_PF_JOB'
    ,use_current_session => TRUE);
    END;
    Error at line 2
    ORA-06553: PLS-ORA-06553: PLS-306: wrong number or types of arguments in call to 'PCOMPLETE_REFRESH_PF_JOB'
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 2
    =========================
    I wonder where OWB determines the number of arguments and where I can influence the number of arguments? One of the arguments which I can see in TOAD is totaly blank, no values. But when I query dba_arguments it doesn't show op?
    Any help or suggestions will be highly appreciated!
    Gilles
    edit: I'm on 10.2.0.3 with both client and repository on a 10.2.0.3 database on windows
    Message was edited by:
    gillesp

    sake1 wrote:
    Can someone help me with this query.Can't you format it and see there are two extra close parenthesis. Remove them and use:
    SELECT  ID,
            sum(
                round(
                      ceil(
                           MONTHS_BETWEEN(
                                          nvl(
                                              DT1,
                                              add_months(
                                                         last_day(
                                                                  trunc(sysdate)
                                                         -1
                                          DT2
                      2
                     ) * 10
               ) paid
      FROM  tabel1
      GROUP BY ID
    /SY.

  • Invalid number of arguments

    i am getting error while running the following query.
    to find max(two date columns)
    SELECT                
             max(print_date,inv_date)
    FROM Temp;
        

    Hi,
    choti wrote:
    i am getting error while running the following query.The error message really means what it says.
    For details on all the built-in functions, such as number and types of arguments, see the SQL Language manual.
    to find max(two date columns)
    SELECT                
    max(print_date,inv_date)
    FROM Temp;
    MAX only takes one argument. (Most aggregate functions only take one argument.)
    You probably want the GREATEST function, not MAX.

  • ORA-00909: invalid number of arguments

    The statement works when after THEN I put "SGA-" but as soon as I put concat function I get ORA-00909>
    Thanks for your HELP!
    SELECT
    gl_ent,
    gl_sa,
    gl_acc,
    gl_cc,
    GL_AMT,
    CASE
    WHEN (gl_acc BETWEEN 8000 AND 8499) OR
    (gl_acc BETWEEN 8000 AND 8999) OR
    (gl_acc BETWEEN 8000 AND 8981) AND
    ((gl_cc BETWEEN 600 AND 647) OR
    (gl_cc BETWEEN 649 AND 650) OR
    (gl_cc BETWEEN 651 AND 660)OR
    (gl_cc BETWEEN 700 AND 755)OR
    (gl_cc BETWEEN 801 AND 802)OR
    (gl_cc BETWEEN 861 AND 882)OR
    (gl_cc = '648')OR
    (gl_cc = '800'))
    THEN (concat(' " SGA-',GL_ACC,' " '))
    END AS measure
    FROM F_ACCT_TRX_HIST

    SQL> insert into F_ACCT_TRX_HIST values (8123,713);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> SELECT CASE
      2            WHEN
      3                  (gl_acc BETWEEN 8000 AND 8999)
      4              AND (   (gl_cc BETWEEN 600 AND 660)
      5                   OR (gl_cc BETWEEN 700 AND 755)
      6                   OR (gl_cc BETWEEN 800 AND 802)
      7                   OR (gl_cc BETWEEN 861 AND 882)
      8                  )
      9            THEN ' " SGA-' || GL_ACC || ' " '
    10         END AS measure
    11  FROM   F_ACCT_TRX_HIST
    12  ;
    MEASURE
    " SGA-8123 "

Maybe you are looking for