Invalid Parameter Bindings

Hi there!
I'm writing a Stock Take (Inventory Control) system. I need to create some temporary rows from one table into another in order to do some calculations.
I'm trying to add rows to a STOCK_TmpQOH table. I get the values from a STOCK_TmpQOH table and then just add a few columns' values. In VB it would have been easy... Insert into using a Select... but now... in JSC one need to read the NEXT ID each time... so I cant just use the normal autonumber... anyways...
...basically I have rows in Table X.... I need to copy it to Table Y and add a few columns...
HERE's the ERROR:
Cannot add new Stock Takejava.sql.SQLException: [sunm][SQLServer JDBC Driver]Invalid parameter binding(s).
HEREs my CODE:
~~~~~~~~~~
public String cmdNext_action() {
//        // bind trip detail fields
//        // GET DATA
//        java.sql.Date date = (java.sql.Date) tripDataProvider.getValue("TRIP.DEPDATE");
//        dateCal.setValue(date);
//        // SAVE DATA
//        java.util.Date uDate = (java.util.Date) dateCal.getValue();
//        if ( uDate != null ) {
//            java.sql.Date date = new java.sql.Date( uDate.getTime() );
//            tripDataProvider.setValue("TRIP.DEPDATE", date);
        //Convert to the correct format IN STRING!
        Date myDate = calSDate.getSelectedDate();
        Format formatter;
        formatter = new SimpleDateFormat("dd/MM/yyyy");
        String sDate = formatter.format(myDate);
        String sReturn;
        if (stock_stakeDataProvider.canAppendRow()) {
            try {
                //Set the NEXT step...
                int iStep = getSessionBean1().getSTakeStep().intValue();
                iStep++;
                Integer x = Integer.valueOf(iStep);
                getSessionBean1().setSTakeStep(x);
                //ADD THE NEW STAKE
                //=================
                RowKey rowkey = stock_stakeDataProvider.appendRow();
                stock_stakeDataProvider.setCursorRow(rowkey);
                stock_stakeDataProvider.setValue("STakeID", rowkey, getApplicationBean1().getNextSTakeID());
                stock_stakeDataProvider.setValue("LocID", rowkey, getSessionBean1().getLocID());
                stock_stakeDataProvider.setValue("SDate", rowkey, sDate);
                stock_stakeDataProvider.setValue("Status", rowkey, new Integer(1));
                stock_stakeDataProvider.setValue("Step", rowkey, getSessionBean1().getSTakeStep());
                //Set the NEXT STakeID in memory
                //  must happen BEFORE update - else its TOO large
                getSessionBean1().setSTakeID((Integer) getApplicationBean1().getNextSTakeID());
                stock_stakeDataProvider.commitChanges();
                //ADD TMP QOH for STAKE
                //=====================
                //Default value for new QOH = 0
                Double dQOH = new Double(0.00);
                //Double dQOHold;
                if (stock_qohDataProvider.getRowCount() > 0) {
                    stock_qohDataProvider.cursorFirst();
                    do {
//                        System.out.println(">> " + stock_qohDataProvider.getValue("StockID"));
                        //For each Stock in QOH for this Location
                        //  add a TMP QOH record
                        if (stock_tmpqohDataProvider.canAppendRow()) {
                            try {
                                RowKey rowkey2 = stock_tmpqohDataProvider.appendRow();
                                stock_tmpqohDataProvider.setCursorRow(rowkey2);
                                stock_tmpqohDataProvider.setValue("TempID", rowkey2, getApplicationBean1().getNextTempID());
                                stock_tmpqohDataProvider.setValue("STakeID", rowkey2, getSessionBean1().getSTakeID());
                                stock_tmpqohDataProvider.setValue("StockID", rowkey2, stock_qohDataProvider.getValue("StockID"));
                                //Double dQOHold = Double.valueOf(rs.getString("QOH"));
                                stock_tmpqohDataProvider.setValue("QOH_Old", rowkey2, (Double) stock_qohDataProvider.getValue("QOH"));
                                stock_tmpqohDataProvider.setValue("QOH", rowkey2, dQOH);
                                stock_tmpqohDataProvider.setValue("SDate", rowkey2, sDate);
                                stock_tmpqohDataProvider.commitChanges();
                            } catch (Exception ex) {
                                log("Cannot add Temp Stock Take", ex);
                                error("Cannot add Temp Stock Take" + ex.getMessage());
                                sReturn = "stake1";
                    } while (stock_qohDataProvider.cursorNext());
                info("New Stock Take added");
                sReturn = "stake2";
            } catch (Exception ex) {
                log("Cannot add new Stock Take", ex);
                error("Cannot add new Stock Take" + ex.getMessage());
                sReturn = "qoh";
        } else {
            log("Cannot add New Stock Take");
            error("Cannot add New Stock Take");
            sReturn = "qoh";
        return sReturn; //sReturn
    }Thanks SO much for the help!

Hi,
there is an Oracle style using ":varname" but this wont work with Server. When you created the ADF BC project, did you make sure that the project uses SQL92 as its flavor and not Oracle ?
Frank

Similar Messages

  • Invalid parameter value Error while Extending PoReqDistributionsVO

    Hi,
    My Requirement is to restrict user from enetring certain values in a field in iProcurement Page based on some condition. The attribute on which I have to place the validation is CodeCombinationId and the VO name is PoReqDistributionsVO. So, I extended the VO and generated the VORowImpl class for the extended VO. Please note that I have extended the VO just to override the setter method for the CodeCombinationId in the VORowImpl. I did not change any other thing on the VO. Once I deploy the code, I am getting the following error for the first time:
    ## Detail 0 ##
    oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoReqDistributionsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    And then if I try to open the page again, it gives me multiple distribution lines. (Say for example I have only one distribution line for the requistion line and my distribution table PO_REQ_DISTRIBUTIONS_ALL has total 20 records, then all the 20 records are getting displayed in the front end.)
    So, clearly after I extended the VO, the viewlink is not able to identify the viewlink.
    I went through the following thread:
    oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value
    As suggested in the therad, I thought of copying all the view link related methods from the original VO files. But, I could not get any Viewlink related information in any of the three seeded files PoReqDistributionsVO.xml, PoReqDistributionsVOImpl.class and PoReqDistributionsVORowImpl.class. But I can find one View Link oracle.apps.icx.por.req.server.ReqLineToDistributionsVL in teh server which is linking PoRequisitionLinesVO to PoReqDistributionsVO.
    Could anyone suggest me what I need to do to resolve the issue.
    Edited by: 892480 on Oct 20, 2011 8:13 AM

    Hi Gurus,
    Any suggestion on the above issue?

  • PL/SQL:- Invalid Parameter binding

    While calling a pl/sql function returning table type is shows error:
    Invalid parameter binding
    Parameter name: ""

    The problem is coming from .NET and most probably for NULL values.
    SQL> set serverout on
    SQL> create TYPE TEMP_TABLE AS OBJECT (
      2  COLUMN1 VARCHAR2(128),
      3  COLUMN2 VARCHAR2(32),
      4  COLUMN3 VARCHAR2(128));
      5  /
    Type created.
    SQL> create TYPE TEMP_TABLE_REC AS TABLE OF TEMP_TABLE;
      2  /
    Type created.
    SQL> create function SP_TEMP RETURN TEMP_TABLE_REC AS
      2 
      3  v_process_inputs TEMP_TABLE_REC :=TEMP_TABLE_REC();
      4 
      5  CURSOR CUR_EQUIP IS
      6  SELECT 'b' FROM dual
      7  UNION
      8  SELECT 'f' FROM dual;
      9 
    10  REC_EQUIP CUR_EQUIP%ROWTYPE;
    11 
    12  BEGIN
    13 
    14  OPEN CUR_EQUIP;
    15  LOOP
    16  FETCH CUR_EQUIP INTO REC_EQUIP;
    17  EXIT WHEN CUR_EQUIP%NOTFOUND;
    18  v_process_inputs.EXTEND;
    19 
    20  v_process_inputs(1):=TEMP_TABLE('a','b','c');
    21 
    22  END LOOP;
    23  CLOSE CUR_EQUIP;
    24 
    25  RETURN v_process_inputs;
    26  END SP_TEMP;
    27  /
    Function created.
    SQL> declare
      2     result temp_table_rec;
      3  begin
      4    -- Call the function
      5    result := sp_temp;
      6    FOR i in 1..RESULT.COUNT LOOP
      7     dbms_output.put_line(RESULT(i).COLUMN1||'--'||RESULT(i).COLUMN2||'--'||RESULT(i).COLUMN3);
      8    END LOOP;
      9  end;
    10  /
    a--b--c
    PL/SQL procedure successfully completed.Note the last null values ----.

  • Invalid parameter SECONDARY_RECORD-PSKEY Error in Personal Data Screen

    Hi All,
    We are using EHP6. The Personal Data  iview is throwing an error while trying Edit something.
    I am able to add a new register  but getting the following dump while trying to Edit/Save
    This apply for all the employees.
    This apply for all the employees.
    I looked through SAP Note-1815863 - Dump in Class CL_HRPA_INFOTYPE_CONTAINER Method. However all the tables mentioned in that Note seemed to be configured properly.
    Any help will be appreciated.
    Short Dump
    Error while processing your query
    What has happened?
    The URL call sap/bc/webdynpro/sap/HRESS_A_PERSINFO was terminated because of an error.
    Note
    The following error occurred in system DEV : Invalid parameter SECONDARY_RECORD-PSKEY , value 1008119301067 9999123120130621000
    The error occurred on application server HRE_05 and in work process. 8
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_HRPA_INFTY_CONTAINER_DATA~MODIFY_SECONDARY_RECORD of program CL_HRPA_INFOTYPE_CONTAINER====CP
    I have checked:
    Report RPUPAV00.
    Subtype config, inconsistent data.
    I updated table V_T582V & V_T582W.
    I maintained tcode-GENIL_MODEL_BROWSER.
    I also have checked the following:
    sap > bc> webdynpro > HRESS_A_PERSINFO   ----check this once activate or not ...right click and check is it activated or not
    I also have run the report RPUFIXDS for that personal number, , however the issue follow.
    The error not occur when I delete the register for the the following  V_T582V & V_T582W, however the fields for the infotype secondary not appear in the dynpro of the infotype 0002.
    Thanks
    Regards

    There could be several possible causes
    Usually this error occurs if a secondary infotype functionality has been delivered via SP or SNOTE for infotype 0002 but the PERNR you are using does not have secondary infotype record
    Tables V_T582V & V_T582W determine if a secondary infotype will be used - if you remove entries here this will deactivate the secondary infotype useage - this might be one way to resolve the issue - but perhaps you wish to use the secondary infotype - in some cases it might be required- for example ESS might expects a secondary infotype and throw an error if there is an issue
    If you wish to use the secondary infotype you need the delivered entries in V_T582V & V_T582W and you need to run RPUPAV00 for any PERNR that has a 0002 record existing prior to the new secondary infotype being introduced to ensure they have a secondary infotype record key that matches the primary infotype key

  • Error: Invalid Parameter when trying to extend volume in Windows Server 2012

    From VMware, I added space to a Hard Drive to a Windows Server 2012 VM.  I then went into the WinServer console, and opened Disk Management.  I did a rescan on the disk.  It found the extra space.  I right mouse click on the Disk,
    and choose Extend Volume, choose the available space, and then an error returned of 'Invalid Parameter'.
    In Disk Manager, the new larger space is assigned, but Windows Explorer and everything else only recognizes the original smaller size.  
    EventManager shows Event ID 265: A pointer device did not report a valid unit of angular measurement.  Event ID 257: A pointer device reported a bad angular physical range. Event ID 258: A pointer device reported a bad angular logical range.
    Anyone have a solution for this problem?

    Hi,
    Please try to use the command line utility diskpart to extend the drive.
    1. Open a command prompt
    2. Type in diskpart
    3. Type list volume
    4. Type select volume #  
    5. Type extend [size=n] [disk=n]
    For more detailed information about diskpart, please see:
    DiskPart Command-Line Options
    http://technet.microsoft.com/en-us/library/cc766465(v=ws.10).aspx
    You could refer to the article below to troubleshoot the issue:
    Windows Server 2008 drive doesn’t expand correctly after extending in VMware VI client
    http://consultingblogs.emc.com/greggrobertson/archive/2010/05/27/windows-server-2008-drive-doesn-t-expand-correctly-after-extending-in-vmware-vi-client.aspx
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Utl_http does not give a very helpful error message: Invalid Parameter

    I'm writing PL/SQL to consume a web service on another server. In trying to execute this snippet of code, I receive this error:
    ORA-28783: Invalid parameter
    ORA-06512: at "SYS.UTL_HTTP", line 1023
    ORA-06512: at line 29
    Line 29 is the utl_http.begin_request statement shown below.
    I'm baffled as to what the error message might point to and I'm looking from any insight others may have. The message is so generic as to be useless and I can't find any examples of others receiving this particular error when executing begin_request.
    Please note that this is an SSL/HTTPS connection. If I remove the "S" and just use HTTP, I receive an appropriate message from the web server. (A tiny web page telling me I should be using the https version and not the http version.) I can also go to, for example, Google or CNN's web sites and pull back data but those are not SSL connections. It is the SSL part that isn't working.
    This isn't a SOAP error since I never get a chance to create my SOAP message and place it in the request.
    I've tried changing the POST to GET and the HTTP version to 1.0 just to see if the error message changes and it does not.
    My wallet file is in place on the database server, placed in an accessible folder by
    the DBAs. This code can see the wallet, I believe, because if I change the wallet
    path to something non-existent, I receive a different error. I imported the web site certificate for the site I'm connecting to and placed that in the wallet. I've been able to cause "certificate chain" errors with empty wallets, so I think the certificate is correct.
    I used SOAP-UI (www.soapui.org) and was quickly able to connect to the web server and begin having a "SOAP conversation", so I know the web services I'm connecting to are working. It is something in the database itself that is preventing this from executing - the wallet, a setting in the database, something like that. But what?
    =======================================================
    utl_http.set_response_error_check(enable=>true);
    utl_http.set_detailed_excp_support(enable => TRUE);
    utl_http.set_follow_redirect(5);
    utl_http.set_wallet('file:/...', '*******');
    --**** SET THE URL FOR THIS REQUEST *******
    http_req:= utl_http.begin_request(
    'https://....' --location of web services I want to use
    , 'POST'
    , utl_http.HTTP_VERSION_1_1
    =======================================================

    You seemrd to have ruled out most potential problems I could think of.
    The error message just states that there is something wrong with the parameters that you use. Only point I can currently think of is a problem with the returned value.
    How did you declare you http_req variable? Does it use the utl_http.req type?

  • VO Substitution : JBO-25006 : Invalid parameter value passed for source

    Hello All,
    I want to add 2 new fields (attribute columns) to an existing VO for which I am trying to use VO substitution. I have followed these steps.
    1.     Downloaded all the class files from server to local machine
    2.     Opened an OA project and extended the VO by changing sql query to add 2 attribute columns
    3.     Added 2 transient VO attributes to map them to the added fields in sql query
    4.     Create a BC4J substitution and imported jpx file using jpximporter
    While opening the page which consisted the original VO that I extended (creditRequestsVO), I am getting below error. Appreciate if anyone can throw any light on this.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Edited by: Bhavesh J Shah on Feb 22, 2010 1:58 AM

    Hi Rama,
    Parameter being passted to LeadHeaderDetailsVO is not right. Check the parameter values that are being passed,wether there are right or not
    Thanks
    Sandeep

  • [Oracle JDBC Driver]Invalid parameter binding(s).

    Hi there
    I am using the OracleCachedRowSet, and it works fine until I tries to update a resultset with a null value. When I call rs.acceptChanges(connection); it results in the following exception.
    Please help if anyone has found a workaround to this problem.
    java.sql.SQLException: [BEA][Oracle JDBC Driver]Invalid parameter binding(s).
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.base.BaseParameters.getParameter(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.setObject(Unknown Source)
    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:268)
    at oracle.jdbc.rowset.OracleCachedRowSetWriter.updateRow(OracleCachedRowSetWriter.java:429)
    at oracle.jdbc.rowset.OracleCachedRowSetWriter.writeData(OracleCachedRowSetWriter.java:534)
    at oracle.jdbc.rowset.OracleCachedRowSet.acceptChanges(OracleCachedRowSet.java:2926)
    at eurostat.Items.updateRS(Items.java:192)
    at eurostat.DBConnectionBean.updateRS(DBConnectionBean.java:94)
    at jsp_servlet.__mainpage._jspService(MainPage.jsp:248)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:246)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hi Avi
    Thanks for the suggestion, but I don't thint that is the problem. In other forums I have found people describing the same problem(both with Oracle and Sun's implementation of CachedRowSet). See this link for an example http://bugs.mysql.com/bug.php?id=9831. So I figured that those other people needed to have a solution to the problem, but I can't find it.
    /Thomas

  • Call to Java Method to Zip directory fails with error Invalid parameter 1

    Hi all,
    I try to translate the following Java Code to PeopleCode and I do not succeed in it.
    Can somebody please help me out ?
    On that website http://www3.ntu.edu.sg/home/ehchua/programming/java/J5b_IO.html I extracted the Java Code:
    import java.io.File;
    public class ListDirectoryRecusive {
    public static void main(String[] args) {
    File dir = new File("d:\\myproject\\test"); // Escape sequence needed for '\'
    listRecursive(dir);
    public static void listRecursive(File dir) {
    if (dir.isDirectory()) {
    File[] items = dir.listFiles();
    for (File item : items) {
    System.out.println(item.getAbsoluteFile());
    if (item.isDirectory()) listRecursive(item); // Recursive call
    PeopleCode
    I want to get all the files included in the directory
    Local string &SourceDirPath = S1_FS_RDCFG_AET.S1_CHMN_TODO;
    Local JavaObject &Javadir = CreateJavaObject("java.io.File", &SourceDirPath);
    Local array of any &StrArray;
    &ArrayOfAny = CreateArrayAny();
    Local JavaObject &JavaFilesArray = CreateJavaArray("java.lang.Object[]", 1024);
    &JavaFilesArray = &Javadir.listFiles();
    CopyFromJavaArray(&JavaFilesArray, &ArrayOfAny);
    ==> I alway get the error
    Message:
    Invalid parameter 1 for function CopyFromJavaArray. (2,116) S1_DSITE_ZIP.MAIN.GBL.default.1900-01-01 .DIRECTOR.OnExecute PCPC:511 Statement:9
    I thank you in avance
    Edited by: Meapri on Jan 23, 2013 9:33 AM

    The Pcode I wrote to Zip Directories
    Function AddFileToZip(&sDirSeparator, &zipInternalPath, &fileNameToZip, &zipFileName, &outFileStream, &zipStreamOut)
       Local JavaObject &file = CreateJavaObject("java.io.File", &fileNameToZip);
       Local JavaObject &inFileStream = CreateJavaObject("java.io.FileInputStream", &fileNameToZip);
       Local JavaObject &zipEntry = CreateJavaObject("java.util.zip.ZipEntry", &fileNameToZip);
       REM **  Créer le flux de sortie de données pour le fichier ZIP final;
       REM ** We will read &fileNameToZip into a buffer and write it out to &zip;
       Local string &ZippedfileName = &zipInternalPath | &sDirSeparator | &zipFileName;
       REM ** Make sure zip entry retains original modified date;
       &zipEntry.setTime(&file.lastModified());
       &zipStreamOut.putNextEntry(&zipEntry);
       Local JavaObject &buf = CreateJavaArray("byte[]", 1024);
       Local number &byteCount;
       &byteCount = &inFileStream.read(&buf);
       While &byteCount > 0
          &zipStreamOut.write(&buf, 0, &byteCount);
          &byteCount = &inFileStream.read(&buf);
       End-While;
       &inFileStream.close();
       MessageBox(0, "", 99000, 0, "Zipped File : " | &fileNameToZip);
    End-Function;
    Function getDirContent(&sDirSeparator, &parentFolder, &zipFileName, &outFileStream, &zipStreamOut)
       MessageBox(0, "", 99000, 0, "Directory to scan : " | &parentFolder);
       Local JavaObject &Folder = CreateJavaObject("java.io.File", &parentFolder);
       Local JavaObject &jItems = &Folder.list();
       /* Transformation en Array Pcode*/
       Local array of any &items = CreateArrayAny();
       Local number &idx = 1;
       &items [&jItems.length] = Null;
       CopyFromJavaArray(&jItems, &items);
       For &idx = 1 To &jItems.length
          Local string &Entry = &parentFolder | &sDirSeparator | &items [&idx];
          Local JavaObject &FileOrFolder = CreateJavaObject("java.io.File", &Entry);
          If &FileOrFolder.isDirectory() Then
             getDirContent(&sDirSeparator, &Entry, &zipFileName, &outFileStream, &zipStreamOut);
          Else
             AddFileToZip(&sDirSeparator, &parentFolder, &Entry, &zipFileName, &outFileStream, &zipStreamOut);
          End-If;
       End-For;
    End-Function;
    Local string &RootName = "C:\TEMP\TEST";
    Local string &sDirSeparator = "\";
    REM ** Create Output Zip File ;
    Local string &ZipFileName = &RootName | &sDirSeparator | "Temp2_Zip.zip";
    Local JavaObject &OutFileStream = CreateJavaObject("java.io.FileOutputStream", &ZipFileName, True);
    Local JavaObject &zipStreamOut = CreateJavaObject("java.util.zip.ZipOutputStream", &OutFileStream);
    REM ** Create Zip File Entries found in the directory;
    getDirContent(&sDirSeparator, &RootName, &ZipFileName, &OutFileStream, &zipStreamOut);
    REM Close Output Zip File ;
    &zipStreamOut.close();Edited by: Meapri on Feb 2, 2013 10:54 AM : copy and paste code that works!
    Edited by: Meapri on Feb 2, 2013 10:56 AM
    Edited by: Meapri on Feb 2, 2013 11:02 AM

  • ORA-07202 sltln: invalid parameter to sltln.using

    OS:Red Hat Linux 5
    DB :11.2.0.2
    i am getting this error while creating 11g DB using DBCA ORA-07202 sltln: invalid parameter to sltln.using dbca to create

    Please check this thread (response from PavanG):
    ORA-07202 while creating DB
    Even though your DB version is 11g but this thread may help solve your problem.

  • ORA-07202 sltln: invalid parameter to sltln.using dbca to create 11g

    OS:Red Hat Linux 5
    DB :11.2.0.2
    i am getting this error while creating 11g DB using DBCA ORA-07202 sltln: invalid parameter to sltln.using dbca to create

    user13549752 wrote:
    OS:Red Hat Linux 5
    DB :11.2.0.2
    i am getting this error while creating 11g DB using DBCA ORA-07202 sltln: invalid parameter to sltln.using dbca to create
    07202, 00000, "sltln: invalid parameter to sltln."
    // *Cause:  The sltln name translation routine was called with invalid
    //          arguments. The input, or output stings were either NULL or 0 length.
    // *Action: Probable internal oracle error. Contact customer support.I suspect you failed to Read The Fine Manual, Installation Guide

  • 用虚拟立方体显示数据源数据报错001 Error in BW & 001 Invalid parameter.

    事情是这样的:
    1. 我用RSO2建立一个数据源,table选的是"SFLIGHT"
    2. 提取页面我也选了u201C同步提取SAPI(用于虚拟块和测试)u201D
    3. 建立虚拟立方体,然后转换,然后仅激活DTP。
    但是我选u201C显示数据u201D时,就报这样的错:
    001 Error in BW.
    001 Invalid parameter.
    我确定数据源没问题,因为可以读取预览数据。我在cmod里写过ABAP代码,不过后来删了。
    求解
    Edited by: peteron on Sep 1, 2010 8:16 AM

    Hi Lei
    谢谢您的热心回答....因为两条回复内容是重复的,所以我把另外一条删除了.
    btw, Bill说的RSDS类型,意思就是7.x的datasource..
    祝好
    Vince
    Edited by: Vince Lu on Sep 5, 2010 11:54 AM

  • "New" error during ApplyLogOnInfo(...): Invalid parameter value: exceeds...

    Invalid parameter value: exceeds the Min or Max or conflicts with existing value or edit mask
    error during ApplyLogOnInfo() to the tables contained within a report.  Now, this is a "new" error because this was not being thrown when the application was compiled for .Net 1.1 using the Crystal Reports v9.1.5000.0 components.  When the application was migrated to .Net 2.0, and set to reference the the 10.2.3600 set of managed components, this started appearing. 
    Also, this will only occur on certain .rpt files that are loaded, and can be thrown when also executing the VerifyDatabase() method.  By certain .rpt files, I mean those that have been opened and saved with Crystal Reports 2008 (warning message when saving indicated that the report will not be able to be opened in Crystal Reports versions earilier the 9.0; should I not assume this is correct?).
    ' Load a report that had been created in v10, but opened and saved in v12
    Dim sFileName As String = "C:\test\CR2008Report1.rpt"
    crReportDocument.Load(sFileName, OpenReportMethod.OpenReportByDefault)
    crReportDocument.VerifyDatabase()  ' Throws the EngineExceptionErrorID.MissingParameterFieldCurrentValue exception:
      ' Invalid parameter value: exceeds the Min or Max or conflicts with existing value or edit mask
    ' Load a report that had been created in v10
    Dim sFileName As String = "C:\test\CR10Report.rpt"
    crReportDocument.Load(sFileName, OpenReportMethod.OpenReportByDefault)
    crReportDocument.VerifyDatabase()  ' No exceptions; whacky.

    >
    A G wrote:
    > Our product will not get integrated with SharpDevelop as it does with VS though you can use the assembly in you application.
    Right, I am aware of the IDE plugin functionality (BTW, I'm going to guess no, but is the functionality present in the "Express" editions?).  When a viewer application is created in VS, you can convert/open it in #d and have all of the designer props/pages available.  When manually adding the viewer in a new #d project, you can add it, but it doesn't show up visually in the forms designer window (boggle).
    > So just make a simple report and try to view it. can you see it?
    I will investigate this probably tomorrow...
    > Also is your report have any parameter? Dynamic or static?
    Yes, there are parameters embedded (?) in the .rpt.  There are no parameters added at runtime; only the parameter values are set at runtime.
    > Make sure you can see data in report in designer..

  • Error connecting Domains: Invalid parameter,tdom_link contains NULL

    Hi,
    I'm trying to connect two Domains DOM1 and DOM2. DOM1 is running under Tuxedo8
    in a RedHat Linux 7.2. The remote Domain is running in a former Tuxedo Version,
    probably 6.5.
    When booting I get the next error:
    LIBGWT_CAT:1242: ERROR: Invalid parameter, tdom_link contains NULL pointer
    The description in the documentation is
    Description
    GWTDOMAIN detects an internal error, or possible data corruption when it does
    a network open call.
    Action
    Contact your BEA Customer Support.
    Can anyone give any clue?
    Thanks in advance, bye!
    Yol.

    Do you have an idea in which section I can look for the mistake? I have other domains
    running correctly configured in this config file, and everything seems to be ok
    for this domain too.
    Thanks in advance
    Yol.
    "mike" <[email protected]> wrote:
    >
    this error is in dmconfig.txt
    "Yolanda Arroyo" <[email protected]> wrote:
    Hi,
    I'm trying to connect two Domains DOM1 and DOM2. DOM1 is running under
    Tuxedo8
    in a RedHat Linux 7.2. The remote Domain is running in a former Tuxedo
    Version,
    probably 6.5.
    When booting I get the next error:
    LIBGWT_CAT:1242: ERROR: Invalid parameter, tdom_link contains NULL pointer
    The description in the documentation is
    Description
    GWTDOMAIN detects an internal error, or possible data corruption when
    it does
    a network open call.
    Action
    Contact your BEA Customer Support.
    Can anyone give any clue?
    Thanks in advance, bye!
    Yol.

  • Acrobat Professional 6.0, lauching error: 'fault while loading the module 'Comments' - an invalid parameter'.

    When I try to launch my Adobe Acrobat Professional 6.0, I get an error: 'fault while loading the module 'Comments' - an invalid parameter'. I have a Mac 10.5.8 (an oldy, I know). Can't make any PDF-files now...

    Thank you Bill,
    Yeah, of course you are rigt: my AA is a dinosaur... But somehow - and to be quite honest, I don't know exactly how I managed - I CAN make PDF-files now. (?!) I changed some settings in my printing menu and, well... it worked again.
    Thanx anyway for your time and energy to help me. Appreciated!
    Grtz from the Netherlands,
    Ingrid

Maybe you are looking for