Problems setting scrollable ResultSet objects

Hi, I get an "cannot resolve symbol" error when I compile my code:
symbol : method createStatement (int)
location: interface java.sql.Connection
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE);
^
I'm using j2sdk1.4.1_03, and j2sdkee1.3.1, which should include a fairly updated version of the sql package. Is there something else that I should include in my path variable?
thanks in advance.

There's nothing wrong with your installation or your setup (at least nothing related to this question). There is simply something wrong with your code. There are three versions of the createStatement() method in the Connection interface. There are versions with 0, 2, and 3 parameters. No version with 1 parameter, which is why the compiler can't find the method you coded. Check the API documentation for details.

Similar Messages

  • Problem with scrollable resultset of oracle

    I encountered problom like this:
    when I use
    s=createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    and getString of a resultset,I get the right data.
    However ,when I use
    s= createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    and getString of a ResultSet ,
    if the type of the field is Date,then get right data.
    if it is char or varchar2,then i get some thing like
    0x313233,
    all has been found in win2000&solaris
    with oracle 8.1.6
    thanks a lot!

    Hello,
    We've got the same problem.
    It comes from the National Character Set of Oracle Database.
    With WE8ISO8859P1, no problem with using this parameters.
    But with WE8ISO8859P9, we have some hexadecimal return.
    I don't know if it's works with another Character set, but with this, It doesn't work.
    We're trying to find a solution. Because change the character set is not one.
    Good luck.

  • Problem with scrollable result set

    hi
    can u please tell me how i can get no of rows from a result set..
    i am using thin drivers and connecting to remote database,every thing is working fine if i use fwd only type ,but if u use sensitive type it is giving error
    code:
    stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    i am geting error at this line
    error :
    java.lang.AbstractMethodError:oracle/jdbc/driver/oracleconnection.createStatement
    please help me

    does your jdk include jdbc 2.0? Is your driver updated to support jdbc 2.0 features? have you recently updated either(and forgot to change the classpath)?
    I am running jdk 1.3 and oracle thin(classes12.zip) have not had problems creating/using scrollable resultsets??
    Jamie

  • Scrollable/Read_only  ResultSet objects

    I am trying to create an instance of a scrollable/read_only ResultSet object with the following code:
    Statement stmt = con.createStatement(
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("SELECT * FROM ...");
    The Connection object has been made successfully but am getting an AbstractMethodError Exception at line 1.
    Can anyone please help me out here.
    Thank you.

    I don't believe the Oracle driver allows for
    read/only. I'll take a look at the Oracle website,
    and see if I can verify that.
    JoelSorry, I was wrong on this. From the Oracle JDBC documentation, it states that CONCUR_READ_ONLY is valid for the Oracle 8 and Oracle 9 drivers. Are you using classes12.zip or classes12.jar for your Oracle libraries?

  • Scrollable/Updateable ResultSet objects

    I am trying to create an instance of a scrollable/updateable ResultSet object with the following code:
    Statement stmt = con.createStatement(
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = stmt.executeQuery("SELECT * FROM sch.a");
    The Connection object has been made successfully but am getting an AbstractMethodError Exception at line 1.
    Can anyone please help me out here.
    Thanks
    I am using JDK 1.3.1 and JDBC 2.0

    I use this and works fine for me....let me know how it goes...
    ResultSet resultSetMultCond = null;
    Statement getMultPartCond = null;
    String sqlMultCond = null;
    sqlMultCond = "SELECT #PART,#CONDS,COUNT(*) AS MCOUNT FROM MYLIB WHERE #PART = 'A123' GROUP BY #PART,#CONDS ORDER BY #PART";
    getMultPartCond = conn.createStatement(java.sql.ResultSet.TYPE_SCROLL_SENSITIVE,java.sql.ResultSet.CONCUR_UPDATABLE);
    resultSetMultCond = getMultPartCond.executeQuery(sqlMultCond);

  • How to set the fetch size for a ResultSet object?

    Connection con  = getConnection();
    Statement stmt = con.createConnection();
    ResultSet res = stmt.executeQuery("select * from table");
    //res.setFetchSize(?);
    while (res.next)
    res.get....
    }I do not know the number of rows .
    How can I set the fetch size for the ResultSet object?
    I try
    res.last();
    res.setFetchSize(res.getRow()/2);
    res.beforeFirst();
    while (res.next)
    res.get....
    }but it's so slow if there are 6000 rows.
    How can I set the fetch size for the ResultSet object more effectible?
    And what is the best number to set the fetch size?

    The fetch size defaults to a standard number. It is unlikely that it will be any faster if you set it unless you only plan to read a small number of rows.
    i.e. if you are going to read all the rows, you need to read all the rows no matter what.
    Unless the system has set the fetch size to 1 changing it will not be faster.
    Depending on the row length, reading in 6000 rows is going to take a long time. You could try using a cpu profiler to improve performance.
    Do you really need to read everything in every row?

  • SQLException Scrollable Resultsets

    Using JDeveloper 3.1, Weblogic 5.1, Oracle 8i
    Successfully connecting to db and extracting data with vanilla prepared statements and resultsets. Not using Oracle proprietary classes.
    Using oracle's classes12.zip and the ide classpath shows my classpath at the front.
    Tried removing all of default JDeveloper libraries, with only my custom setup remaining.
    The problem occurs at runtime from JDeveloper IDE. It all works perfectly from the command-line, but would like to have it work from IDE.
    Trying to create a Scrollable Resultset from a prepared statement.
    On the execution of the following statement:
    pStmt = conn.prepareStatement(selectSql,
    ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    Getting this error:
    java.sql.SQLException: weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked exception - with nested exception:
    [weblogic.rmi.ServerException: A remote exception occurred while executing the method on the remote object
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling return
    - with nested exception:
    [java.io.IOException: Class weblogic.jdbc20.pool.PreparedStatement with code=123 does not implement Serializable, Externalizable or WLSerializable]]]
    at weblogic.jdbc20.rmi.SerialConnection.prepareStatement(SerialConnection.java:342)
    at aces.util.ResultsetTester.main(ResultsetTester.java, Compiled Code)
    It appears that the IDE runtime or compiler is forcing some classpath in front of mine and giving me an outdated jar, zip, class appended to the front that I cannot pinpoint, and I have tried many things.
    I do not want to use OracleResultSet just to test in the IDE. Everything works fine if I execute from the command line.
    Any concrete suggestions?

    You definitely don't need to be using the Sun JDBC-ODBC driver, as this will not support scrollable ResultSets. There are several drivers out there that do, ... for a list of drivers check out
    http://industry.java.sun.com/products/jdbc/drivers

  • Deep Cloning of resultset object

    Hi, Is it possinble? Deep Cloning of resultset object?
    Resltset rs = pstmt.execute()
    Anyway to assign rs2 = rs1
    Because I am passing my resulset to a legacy application's method, that does a rs.close(). I need to use the same resultset later. JDK 1.4

    Write a dynamic proxy to the ResultSet where theclose() method does >nothing.
    What if the OP discovers that the app does a rs=null
    as well?How can that affect your code? Presumably the ResultSet is passed as an argument to a legacy method so the legacy method might set it's local reference to null it will not affect the reference held by the caller of the method.
    The op then runs thru hoops to get permission to
    modify a line in legacy code and is too distressed to
    post.He does not need to! You need to learn about Java argument passing.
    Anyway, thanks for the classrom solution. but i cant
    create another class file for extending rs.You have not presented any reason why not! This can be an inner class in the code you are writing and has no influence what so ever on the legacy application.
    >
    If you are too distressed by the posts here, you are
    under no obligation to reply to every one. Anyway , i
    found the postI replied because I had a viable solution to a problem you were having. Nothing you have said so far stops it being viable. Look at my posting history - I do not try to reply to everyone.
    >
    A Resultset is mainly a Java front end for adatabase
    cursor (which exists on the database server). When
    the ResultSet is closed, the cursor will be closed
    too so, even if you could copy everything in the
    ResultSet object, the handle for the cursor wouldno
    longer be valid.
    Which is why you use a Proxy so that you can control exactly what happens.
    >>
    To truely "deep copy" a resultset the depth would
    have to extend accros the database connection to
    cloning the cursor.I still don't see why you need to clone the ResultSet rather than use a proxy!
    >
    very much useful than the self pity expressed by
    you.No self pity! I just expressed annoyance at the lack of feedback from you and many others.
    No offence, none taken and none dealt.I still find it offensive when people don't bother with a simple acknowledgement. I don't ask many questions myself but when I do I make sure I track the responses and acknowledge those who try to help.
    I still think you should re-think your solution but you are free to totally ignore my very simple solution. I expect you will ignore it so the best of luck.

  • Send a ResultSet object via RMI - won't work.

    Hi. I make a user interface to access MySQL database. The access to MySQL server is done from a remote location via RMI. The process to delete/update/create was succeed. The only problem is when I try to get(from the client computer) the ResultSet object, that come from invoking statementObject.executeQuery(myQuery) method, from the server Computer: it won't work. It said that the ResultSet object is not serialized(it is an interface). I need the ResultSet object for my client program since I will use it to set my AbstractTableModel class's object. Last goal is to put the AbstractTableModel object into the JTable constructor so I can see the result from a table.
    Is anyone can help me? I can not return the ResultSet object to the client since it is not serialized.

    I use the following solution using List. As List is Serlizable I can throw it across the network using RMI... it is also of course easy to access.......
    For users objects you need to throw across the network just simply make them implement Serializable
    In your ORM class accessing the DB:
    public List getSQLResults{
    Resultset SQLResults = statement.executeQuery(SQLQuery);
    Vector results = new Vector();
    while (SQLResults.next()){
    // create class object here if needed...
    results.add(SQLResults.getStrinf("COL_NAME");
    return results;In your GUI class..
    JTable theTable = new JTable();
    DefaultTableModel theModel = new DefaultTableModel();
    theModel.addColumn(SOME_COLUMN);
    try{
    List resultsData = ORMClass.getSQLResults();
    Iterator iterator = List.Iterator();
    while(iterator.hasNext()){
    iterator.next();
    theTableModel.addRow(SOME_OBJECT);
    theTable.setModel(theModel);
    catch(Exception ex){
    // exception rasied...... do something!!!
    }

  • Using all types of resultset Objects i need a single program

    i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e
    # next() - moves the cursor forward one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned after the last row.
    # previous() - moves the cursor backwards one row. Returns true if the cursor is now positioned on a row and false if the cursor is positioned before the first row.
    # first() - moves the cursor to the first row in the ResultSet object. Returns true if the cursor is now positioned on the first row and false if the ResultSet object
    does not contain any rows.
    # last() - moves the cursor to the last row in the ResultSet object. Returns true if the cursor is now positioned on the last row and false if the ResultSet object
    does not contain any rows.
    # beforeFirst() - positions the cursor at the start of the ResultSet object, before the first row. If the ResultSet object does not contain any rows, this method has
    no effect.
    # afterLast() - positions the cursor at the end of the ResultSet object, after the last row. If the ResultSet object does not contain any rows, this method has no effect.
    # relative(int rows) - moves the cursor relative to its current position.
    # absolute(int n) - positions the cursor on the n-th row of the ResultSet object.
    Using all these result set methods i need a sample program all these methods must be used in a single program itself

    BalajiEnntech123 wrote:
    i think all of u know that there are 8 types of resultset objects are there in jdbc technology i.e I don't know who "u" are but they're wrong if they think there are "8 types of resultset objects are there in jdbc technology".
    They'd be especially wrong to think that the methods you mention are "types of resultset objects".

  • Problems setting up username & password for SQL

    Due to the outstanding advice I recieved from this excellent forum, I have managed to overcome my first problem with declaring a new Class.
    This leads me to request help with my next biggest problem:
    Setting up a user GUI that takes a "username" & "password" that will be used to access a password protected database.
    I am a simple bloke, with simple thought processes, so please, go easy on me...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery1 {
         String username = "" , password = "";
         public static void main(String[] arguments) {
              PassDB UPass = new PassDB();
              String data = "jdbc:odbc:JavaTestDataBase";
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection(data, "" + username, "" + password);
                   Statement st = conn.createStatement();
                   ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
              catch (SQLException s) {
                   System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
              catch (Exception e) {
                   System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         String username = "", password = "";
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              setVisible(true);
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              username = uname.getText();
              password = pword.getText();
    This code generates two errors, stating:
    C:\Java_progs>javac DBQuery1.java
    DBQuery1.java:14: non-static variable username cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
    ^
    DBQuery1.java:14: non-static variable password cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
                    ^
    2 errors*****************************
    The code works when I remove the reference to the variables "username" & "password" in Connection "conn" call & replace them with the actual username & password, but this is not exactly what I was after. I was hoping to make the program responsive to each individual user, not set in code.
    I also would like to make the program pause after the call in "main" to "PassDB" to wait for "PassDB" to exit before continuing.
    I would also like to make "PassDB" destroy itself after the "OK" button is pressed & the "username" & "password" set.
    If that isn't enough for you, I would really like the program to search 2 different database tables, return their values & compare them to be sure that they are the same.
    When I try & search 2 different tables, as in:
    ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
                   ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID")javac tells me that "ResultSet" is set to null 0
    As always, I am extremely appreciative of any assistance you are able to offer.
    Kind regards
    duBedat
    [email protected]

    This is where I'm at now:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery {
         static String username = "" ;
         static String password = "" ;
         public static void main(String[] arguments) {
         PassDB UPass = new PassDB();
         String data = "jdbc:odbc:JavaTestDataBase";
         try {
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection conn = DriverManager.getConnection(data, "" + DBQuery.username, "" + DBQuery.password);
              Statement st = conn.createStatement();
              ResultSet rec = st.executeQuery(
              "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
              + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                   "SELECT Subject, ContactID FROM Calls "
                   + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
         catch (SQLException s) {
              System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
         catch (Exception e) {
              System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         static boolean getOut = false;
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         public PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();          
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              while(getOut == false)
                   setVisible(true);                         
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              DBQuery.username = uname.getText();
              DBQuery.password = pword.getText();
              getOut = true;               
    }          Any advice is greatly appreciated
    duBe

  • Can i open more than one Resultset object

    hi in my program i have to retrive data from three table and the data from three
    table i have to use in another one
    i wanna know that can we open more than one ResultSet object within one
    try{
    }catch{] block ( i means ResultSet rs = st.excuteQuery(query) more than one time for different -different tables)
    or there is any other way to do this

    You can only have one active result set per statement at a time.
    Depending on the driver you are using you might be able to have more than one active statement (and result set) on one connection. Or not.
    Try catch has nothing to do with that.
    If you are nesting result sets then it is likely you should be using a join (SQL) which would then only require one result set.

  • Retrieve a set of specific objects

    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling telecommunications
    networks. I will describe below the specific behavior as taken from JSR 142:
    OSS Inventory API, specifically the Resource Inventory EJB Session Facade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation pattern get<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should be selected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys (ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should be deleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations on the
    JDO interfaces that would allow me to accomplish the above. On the positive
    side, Kodo is handling the other patterns extremely elegantly (pretty Java
    in WebLogic Server) and efficiently (pretty SQL). It is only this one ByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

    Thanks Abe. Your response was most helpful.
    Ben
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    Actually, JDOQL does offer a way of doing what you want assuming you'reusing
    application identity and you use only a single primary key field:
    q.declareParameters ("Collection pks");
    q.setFilter ("pks.contains (myPKField)");
    Collection results = (Collection) filter.execute (pkCollection);
    Now the bad news: Collection parameters were added to the spec between the
    proposed final draft and the 1.0 release, and the were not noted in the
    spec ChangeLog. Unfortunately, that means that we here at Solarmetricdidn't
    notice the addition until someone pointed it out to us recently, and we
    haven't implemented it yet. Or actually, we've implemented it internally
    as part of a major query rework, but it won't be available publicly for
    awhile. You do, however, have other options:
    You could do it with "||" clauses:
    StringBuffer filter = new StringBuffer ();
    for (Iterator itr = pks.iterator (); itr.hasNext ();)
    filter.append (pkFieldName).append (" == ").append (itr.next ());
    if (itr.hasNext ())
    filter.append (" || ");
    q.setFilter (filter.toString ());
    Collection results = (Collection) q.execute ();
    You can also use our filter extensions (assuming you have the enterprise
    edition or have purchased the filter extensions module). You could usethe
    lit:sqlEmbed extension to embed whatever custom SQL you wanted:
    q.setFilter ("lit:sqlEmbed (\"IDX IN (...)\")");
    Collection results = (Collection) q.execute ();
    Good luck.
    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling
    telecommunications
    networks. I will describe below the specific behavior as taken from JSR142:
    OSS Inventory API, specifically the Resource Inventory EJB SessionFacade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation patternget<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should beselected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should bedeleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations onthe
    JDO interfaces that would allow me to accomplish the above. On thepositive
    side, Kodo is handling the other patterns extremely elegantly (prettyJava
    in WebLogic Server) and efficiently (pretty SQL). It is only this oneByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

  • [4712] WARNING!!! 'Huh, you set a test object to itself... whats up with dat?' Line 601 in function in file .\tstobj2\ObjArray.cpp

    I'm using TestStand 4.0 and anytime I try to intialize my chasis this message shows up in my debugg viewer. I would appriciate any feedback. I have no idea what could be triggering this message or why it's worded the way it is.
    [4712] WARNING!!! 'Huh, you set a test object to itself... whats up with dat?' Line 601 in function  in file .\tstobj2\ObjArray.cpp

    You've hit what was intended to be an internal development warning, but apparently the warning macro used is not compiled out in the release.
    This has likely been there since TestStand 1.0 and is nothing to worry about. In most cases it indicates you've called SetPropertyObject or SetPropertyObjectByOffset to set an object that was already set in the specified location. This is a harmless NOP and the warning only appears in attached debuggers, but it "might" be an indication that you have made a programming error.
    I launched and exited the 4.0 sequence editor without seeing this warning, so I don't know if it is being triggered by your code module (or sequence, or custom step type, or custom UI, or custom process  model, ...) or another part of TestStand that you are using.  Chances are good that this warning does not indicate a functional problem. However, if you can reproduce it with a clean uncustomized TestStand install, I'd like to know how you did it.
    I've entered a corrective action request to remove this warning.
    Message Edited by James Grey on 09-13-2007 10:12 AM

  • Problem in HRMD_A Idocs: Object is Locked

    Hi Everyone,
    I would like to ask for assistance on the problem below.
    We've encountered almost everyday failed HRMD_A idocs. Almost all of the idocs have the same error message: "Object is Locked. A locked key has been set for the object."
    The object type is "P".
    Can you help us on how to solve this problem?
    Thanks in advance!

    Hi,
    For the locked object the sender system itself will not send the idoc.
    and hence the error for the lock object might have been seen in the sender system and not the receiver system.
    Yes you can process the idocs which are in error in the receiver system by frequently scheduling reports like
    RBDMANI2-Schedule update of idocs with errors and
    RBDAPP01- for ready for transfer idocs
    I suggest you use the bapi way of transferring data, where the receiving system reads data from the sender system once a day and reads only that data which is changed during that date.
    Regards,
    Divya

Maybe you are looking for

  • KE5Z after change in T156W

    Hi, We had a problem with KE5Z report. Some accounts do not displays or have zero quantities. This was explained in table T156W, the reason is the field XMFRW was not filled for transaction keys BSV and FRL. I found a solution for this kind of proble

  • What do I replace my iDVD with

    I see that apple does not supply iDVD anymore.  Do you have any suggestions for one I should buy or a free software.

  • Re: PO number to be displayed in FBL1N

    Hi All, My user is asking PO number to be displayed FBL1N is it possible if yes, please let me now how to do. Thanks Venkat

  • Xml output from smartforms

    Hi, I need to get xml (xsf?) output from I-SU Print Workbench/Smartforms document. Has anybody done this? I would apriciate some hints of how to solve this? regards, erki

  • New to iChat/ ( Need some advice/ help ) looking to meet some new people

    I just install the new OS X Snow Leopard and was just curious as to how iChat worked, I'd be willing to share my contact with anyone willing to chat as I am new to iChat, maybe someone can explain/ show me how it works. Thanks again, - Michael.