SQL Exception not in streaming mode

Hi friends
I am using oracle driver and I am getting this error on queries very randomly.I am using Oracle8i 8.1.5 on NT machine.
SQL Exception not in streaming mode
Can anybody explaing why and when this error gets generated and what is the solution for it.
Please contact me at the following emailids
[email protected]
[email protected]
null

What do you do with the connection before the prepareStatement()? Is your program small enough to post here (use [code]...[/code] tags)? Do you have multiple threads that try to use the same connection simultaneously? Do you work with Long, Clob or Blob columns? What JDBC driver version?

Similar Messages

  • Pl/sql exception not caught.

    This program should give me an error "table or view does not exist" caught by the pl/sql exception, as dba_data_file1 table does not exist.
    However all that it returns is Input truncated to 3 characters
    Q1. Why?
    Q2. How can I remove this message "Input truncated to 3 characters. Where is this message comming from?
    #!/bin/ksh
    sqlplus -s << EOF
    abc/[email protected]
    set pages 0
    SET SERVEROUTPUT ON BUFFER 100000000
    BEGIN
    dbms_output.ENABLE(1000000);
    SELECT
    round(sum(bytes)/1024/1024/1024),
    round(sum(free_bytes)/1024/1024/1024),
    TRUNC(SYSDATE)
    from
    (SELECT tablespace_name, BYTES, 0 FREE_BYTES FROM dba_data_files1
    UNION ALL
    SELECT tablespace_name, 0, BYTES FROM dba_free_space
    union all
    SELECT tablespace_name, BYTES, 0 FROM dba_temp_files
    union all
    SELECT 'REDO-LOGS', b.BYTES, 0
    FROM v\\$logfile a, v\\$log b
         WHERE
    a.GROUP# = b.GROUP#);
         dbms_output.put_line("ok ");
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("Error "||SQLERRCODE ||":"|| SQLERRM);
    exit 1
    END;
    exit 0
    EOF
    $> tstrun.ksh
    Input truncated to 3 characters

    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("Error "||SQLERRCODE ||":"|| SQLERRM);
    exit 1
    END;
    if you catch exception, process it then you must reraise it. its a general mistake found when you are using others instead of name exception, so remember whenever you use others you must reraise the exception

  • JDBC PL/SQL exception not shown in System Alert email

    Hi expert,
    The PL/SQL exception caught in the communication channeli  do not show up in the alert emails.  What could be  the reason behind it?
    We configured the SXMS_TO_ADAPTER_ERRLINES to capture the error message in alert category and configured the alert rule accordingly also. The system alert mail is show as below:
    If that is the PL/SQL error(Adapter Framework exception: null):
    Adapter type: JDBC
    Error text from the Adapter Engine:
    If that is the exception captured in Adapter Framework, not PL/SQL error:
    Adapter type: JDBC
    Error text from the Adapter Engine: Error when attempting to get processing resources: com.sap.aii.af.lib. util.concurrent.ResourcePoolException: Unable to create new pooled res ource: DriverManagerException: Can not establish connection:: SQLExcep tion: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Error: 2: No such file or direc tory
    Is that because the system alert only can print out the detail error message captured in Adapter Framework? Is there any way to capture all of the possible errors in adapter engine?

    Hi Ruby,
    Please use the container variable  "SXMS_TO_ADAPTER_ERRTXT" in your alert category configuration to get the error text from Adapter Engine.
    The details of the container variable can be found at this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    Regards, Gaurav.

  • SQL Exception : Not Suitable driver

    - Server name n/a
    - Filename n/a
    - Date/Time
    - Browser + Version : IE5
    - O/S + Version : win98
    Error Msg : "SQLException Not suitable driver
    at DriverManger.getConnection(DriverManger.java:532"
    at DriverManger.getConnection(DriverManger.java:171"
    I try to access oracle database from Java. There is a runtime error coming.
    I do have a ODBC Driver in the control panel - odbc - drivers.
    I try to replace class.forName by registerManager then it gives
    UnsatisfiedLinkerror
    OCIDBAAccess.make_c_state :NAtive method
    Oracledriver.getConnectionInstance(Oracledriver.java)
    Such & such error..
    I could not find any answers from any forums.
    So plz help me what i have to do to clear this error.
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    class great
    public static void main(String a[]) throws SQLException,IOException
         //String driver = System.getProperties"db.driver");
    //Class.forName("sun.jdbc.odbc.JdbcOdbcDrivers");
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Class.forName("oracle.jdbc.driver.OracleDriver");
         Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@newemployee","scott","tiger");
         Statement stmt = conn.createStatement();
         ResultSet rset = stmt.executeQuery("select eno,ename,zip,hdate from newemployee");
         while (rset.next ())
              System.out.println (rset.getString (1));
         stmt.close();
         conn.close();
    Thanks in Advance
    Sakthy.

    - Server name n/a
    - Filename n/a
    - Date/Time
    - Browser + Version : IE5
    - O/S + Version : win98
    Error Msg : "SQLException Not suitable driver
    at DriverManger.getConnection(DriverManger.java:532"
    at DriverManger.getConnection(DriverManger.java:171"
    I try to access oracle database from Java. There is a runtime error coming.
    I do have a ODBC Driver in the control panel - odbc - drivers.
    I try to replace class.forName by registerManager then it gives
    UnsatisfiedLinkerror
    OCIDBAAccess.make_c_state :NAtive method
    Oracledriver.getConnectionInstance(Oracledriver.java)
    Such & such error..
    I could not find any answers from any forums.
    So plz help me what i have to do to clear this error.
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    class great
    public static void main(String a[]) throws SQLException,IOException
         //String driver = System.getProperties"db.driver");
    //Class.forName("sun.jdbc.odbc.JdbcOdbcDrivers");
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Class.forName("oracle.jdbc.driver.OracleDriver");
         Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@newemployee","scott","tiger");
         Statement stmt = conn.createStatement();
         ResultSet rset = stmt.executeQuery("select eno,ename,zip,hdate from newemployee");
         while (rset.next ())
              System.out.println (rset.getString (1));
         stmt.close();
         conn.close();
    Thanks in Advance
    Sakthy.

  • SQL Exception: A lock could not be obtained within the time requested

    Hi Friends,
    In one of my processes there is an automatic activity which reads some records from an excel sheet and loads them in a separated array of objects and then for each object in the array it creates a copy using Split-N. There are about 2000 records read which takes about 3 minutes to process in Fuego Studio. But, when it comes to process Split-N activity, it takes pretty long time... keeps processing the for loop for about 15 mins and then I get SQL Exception: SQL Exception: A lock could not be obtained within the time requested (Details below). In the meantime it processes close to 950 records.
    In order to resolve it I tried increasing timeout interval in Server Preferences to 2400 secs changig default 1200 secs but no results.
    To my utter surprise none of the logMessages get logged until Split-N activity completes.
    Can somebody please put more light on this and suggest if I'm doing something wrong?
    FYI, I'm posting my Split-N code and the SQL exception details.
    EXCEPTION
    =========
    Problems updating the BAM database. Reason:Unable to connect to the database.
    Caused by: A lock could not be obtained within the time requested
    fuego.analyzer.UpdaterRuntimeException: Unable to connect to the database.
         at fuego.analyzer.UpdaterRuntimeException.cannotConnecToDatabase(UpdaterRuntimeException.java:80)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:494)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:273)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:176)
         at fuego.server.service.BAMRunnerService.runUpdater(BAMRunnerService.java:62)
         at fuego.server.execution.BAMUpdater.execute(BAMUpdater.java:33)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:465)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:543)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:216)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:116)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:56)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:265)
         at fuego.server.execution.ToDoItem.run(ToDoItem.java:536)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:752)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:732)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:138)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:130)
         at fuego.fengine.ToDoQueueThread$PrincipalWrapper.processBatch(ToDoQueueThread.java:429)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:816)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:395)
    Caused by: SQL Exception: A lock could not be obtained within the time requested
         at com.ibm.db2cs.m.j.generateCsSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.wrapInSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.handleException(Unknown Source)
         at com.ibm.db2cs.m.d.handleException(Unknown Source)
         at com.ibm.db2cs.m.t.handleException(Unknown Source)
         at com.ibm.db2cs.m.s.closeOnTransactionError(Unknown Source)
         at com.ibm.db2cs.m.s.movePosition(Unknown Source)
         at com.ibm.db2cs.m.s.next(Unknown Source)
         at fuego.jdbc.FaultTolerantResultSet.next(FaultTolerantResultSet.java:553)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:1039)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:988)
         at fuego.analyzer.Updater.loadInstanceInfo(Updater.java:982)
         at fuego.analyzer.Updater.synchronize(Updater.java:252)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:480)
         ... 20 moreSplit-N Code
    ==========
    for (int i = 0; i <= (eventList.events.count() - 1); i++) {
        copy = clone(this);
        logMessage("INSTANCE(" + (i + 1) + ") CLONED: " + copy.currEvent.text_data, severity : DEBUG);
        copy.currEvent = eventList.events.event;
    logMessage("Event(" + (i + 1) + ") Assigned.", severity : DEBUG);
    copy.eventList = null;
    logMessage("EventList(" + (i + 1) + ") set to null.", severity : DEBUG);
    copy.description = (copy.currEvent.text_data + "(" + copy.currEvent.login_name + ")").strip(len : 200);
    logMessage("EVENT(" + (i + 1) + ") COPIED: " + copy.currEvent.text_data, severity : DEBUG);
    Any help in this regard would be highly appreciated.
    Regards,
    Manoj
    =============================================
    [url http://www.economicalwebsites.com]Cheap Web Hosting by EconomicalWebsites.com
    =============================================
    Edited by goelmk at 12/05/2007 8:14 AM

    Hi Friends,
    In one of my processes there is an automatic activity which reads some records from an excel sheet and loads them in a separated array of objects and then for each object in the array it creates a copy using Split-N. There are about 2000 records read which takes about 3 minutes to process in Fuego Studio. But, when it comes to process Split-N activity, it takes pretty long time... keeps processing the for loop for about 15 mins and then I get SQL Exception: SQL Exception: A lock could not be obtained within the time requested (Details below). In the meantime it processes close to 950 records.
    In order to resolve it I tried increasing timeout interval in Server Preferences to 2400 secs changig default 1200 secs but no results.
    To my utter surprise none of the logMessages get logged until Split-N activity completes.
    Can somebody please put more light on this and suggest if I'm doing something wrong?
    FYI, I'm posting my Split-N code and the SQL exception details.
    EXCEPTION
    =========
    Problems updating the BAM database. Reason:Unable to connect to the database.
    Caused by: A lock could not be obtained within the time requested
    fuego.analyzer.UpdaterRuntimeException: Unable to connect to the database.
         at fuego.analyzer.UpdaterRuntimeException.cannotConnecToDatabase(UpdaterRuntimeException.java:80)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:494)
         at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:273)
         at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:176)
         at fuego.server.service.BAMRunnerService.runUpdater(BAMRunnerService.java:62)
         at fuego.server.execution.BAMUpdater.execute(BAMUpdater.java:33)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:290)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:465)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:543)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:216)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:116)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:56)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:265)
         at fuego.server.execution.ToDoItem.run(ToDoItem.java:536)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:752)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:732)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:138)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:130)
         at fuego.fengine.ToDoQueueThread$PrincipalWrapper.processBatch(ToDoQueueThread.java:429)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:816)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:395)
    Caused by: SQL Exception: A lock could not be obtained within the time requested
         at com.ibm.db2cs.m.j.generateCsSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.wrapInSQLException(Unknown Source)
         at com.ibm.db2cs.m.b.handleException(Unknown Source)
         at com.ibm.db2cs.m.d.handleException(Unknown Source)
         at com.ibm.db2cs.m.t.handleException(Unknown Source)
         at com.ibm.db2cs.m.s.closeOnTransactionError(Unknown Source)
         at com.ibm.db2cs.m.s.movePosition(Unknown Source)
         at com.ibm.db2cs.m.s.next(Unknown Source)
         at fuego.jdbc.FaultTolerantResultSet.next(FaultTolerantResultSet.java:553)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:1039)
         at fuego.analyzer.Updater.loadInstanceInfoValues(Updater.java:988)
         at fuego.analyzer.Updater.loadInstanceInfo(Updater.java:982)
         at fuego.analyzer.Updater.synchronize(Updater.java:252)
         at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:480)
         ... 20 moreSplit-N Code
    ==========
    for (int i = 0; i <= (eventList.events.count() - 1); i++) {
        copy = clone(this);
        logMessage("INSTANCE(" + (i + 1) + ") CLONED: " + copy.currEvent.text_data, severity : DEBUG);
        copy.currEvent = eventList.events.event;
    logMessage("Event(" + (i + 1) + ") Assigned.", severity : DEBUG);
    copy.eventList = null;
    logMessage("EventList(" + (i + 1) + ") set to null.", severity : DEBUG);
    copy.description = (copy.currEvent.text_data + "(" + copy.currEvent.login_name + ")").strip(len : 200);
    logMessage("EVENT(" + (i + 1) + ") COPIED: " + copy.currEvent.text_data, severity : DEBUG);
    Any help in this regard would be highly appreciated.
    Regards,
    Manoj
    =============================================
    [url http://www.economicalwebsites.com]Cheap Web Hosting by EconomicalWebsites.com
    =============================================
    Edited by goelmk at 12/05/2007 8:14 AM

  • ODI Error: java.sql.SQLException: statement is not in batch mode

    Greetings Gurus!
    Would anybody know why changing a SQL view from
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    cause ODI to fail?
    This is the error message from ODI:
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)
    at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: statement is not in batch mode
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.error.Error.error(Unknown Source)
    ... 19 more
    Thank you!
    Ray

    Looks like the single quotes around Frozen are not ascii single quotes. They seem to be a copy paste job from MSWord.
    It should be 'Frozen' and then you shouldnt have that issue
    >
    AND hapf.attribute1 LIKE '%Active%'
    To
    AND (hapf.attribute1 LIKE '%Active%' or hapf.attribute1 = ‘Frozen’)
    >
    Devil is in the details ;)

  • Central Administraion Internal server error 500 | event id 5586 sharepoint foundation unknown sql exception 2812 could not find stored procedure dbo.proc_gettimerlock

    Hi,
    We have two SharePoint 2010 SP2 servers with one SQL 2012 Backend.
    Recently we cannot open the central administration, getting 500 internal server error and multiple SQL errors in event viewer:
    event id 5586 sharepoint foundation unknown sql exception 2812 could not find stored procedure dbo.proc_gettimerlock
    event id 5586 sharepoint foundation unknown sql exception 2812 occured could not find stored procedure 'proc_fetchdocforhttpget'
    Also I cannot run SharePoint configuration wizard, getting this error: sharepoint 2010 failed to resgister sharepoint services
    In the log file, I found this error "an exception of type microsoft.sharepoint.spexception was thrown 0x80131904"
    Any ideas?
    Thanks, Shehatovich

    As You can see below stored procedure has its specific Permission's, check user who is performing action as well as CentralAdministation Pool has right permission and their permissions are not modified from SQL Server.
    -Samar
     =
    Sr. Software engineer

  • Sql Exception : Sql command not properly ended

    Hi,
    I have the following piece of code which i am using to search into the database and display the result in my jsp page. But it is throwing this exception. This happens only when i give 2 conditions. If i try to search with only one parameter, it works fine and returns the result. But when i enable two parameters , it throws the exception.
    Below is the code i have written.
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%@page import="java.sql.*"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <%  
            String queryString=null;
            String Part_Number=null;
                String Revision_Id=null;     
                String Part_Desc=null;     
                String Keyword_Name=null;
                String Design_Style=null;     
                String Configuration_Name=null;
                String Charateristic_Name=null;
             String pN=null;
            String rI=null;
            String pD=null;
            String kN=null;
            String dS=null;
            String coN=null;
            String chN=null;
             queryString ="select * from PART";
             Connection con=null;
               Statement pst=null;
               ResultSet rs=null;
               Part_Number =request.getParameter("part_nbr");
              Revision_Id=request.getParameter("rev_id");
               Part_Desc=request.getParameter("part_desc");
               Keyword_Name=request.getParameter("keyword_name");     
               Design_Style=request.getParameter("Design_style");
               Configuration_Name=request.getParameter("configuration");
               Charateristic_Name=request.getParameter("characteristic");
                pN=Part_Number.trim();
                rI=Revision_Id.trim();
                pD=Part_Desc.trim();
                kN=Keyword_Name.trim();
                dS=Design_Style.trim();
                coN=Configuration_Name.trim();
                chN=Charateristic_Name.trim();
              System.out.println("Part Number In success: "+pN);
              System.out.println("Rev Number In serchsuccess: "+rI);
              System.out.println("part desc In seachsuccess: "+pD);
              System.out.println("Keyword In sesuccess: "+kN);
              System.out.println("Design style In sesuccess: "+dS);
              System.out.println("Config In sesuccess: "+coN);
              System.out.println("charac In sesuccess: "+chN);
              System.out.println("queryString in sesuccess: "+queryString);
               if(rI!=null)     
                   queryString = queryString+" where REV_ID= '"+rI+"'";
               if(pD!=null)     
                   queryString = queryString+" where OBJ_DESC= '"+pD+"'";
               System.out.println("queryString in sesuccess: "+queryString);
              try
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                    System.out.println("driver manager");
                con=DriverManager.getConnection("jdbc:oracle:thin:@172.18.93.53:1521:PDMDumm", "Dumm1", "satyam");
                System.out.println("connection established");
                 pst = con.createStatement();
                rs = pst.executeQuery(queryString);
                System.out.println("Query executed");
              catch(SQLException se)
                System.out.println("database error2");
                se.printStackTrace();
              catch(Exception e)
                   System.out.println("error");
            if(rs!=null)
            %>
          <table>
              <tr>
                <th> PartNumber
                <th> Revision_Id
                <th> Description
                <th> Characteristic
                <th> Configuration
                <th> DesignStyle
                <th> Keyword
                  <th> Planned Eff In Dte
                  <th> Infos
                  <th> Native File
           </table>     
       <tr>         
        <%       
                   while(rs.next())
                      %>
            <td> <%=rs.getString(1) %>          
            <td> <%=rs.getString(2) %>          
            <td> <%=rs.getString(3) %>          
            <td> <%=rs.getString(4) %>
            <td> <%=rs.getString(5) %>
            <td> <%=rs.getString(6) %>
            <td> <%=rs.getString(7) %>     
            <td> <%=rs.getString(8) %>     
            <td> <%=rs.getString(9) %>     
            <td> <%=rs.getString(10) %>     
          <%             
            %>
    </body>
    </html>And this is the exception i get.
    Part Number In success:
    Rev Number In serchsuccess:
    part desc In seachsuccess: cat
    Keyword In sesuccess: ----
    Design style In sesuccess: ----
    Config In sesuccess: ----
    charac In sesuccess: ----
    queryString in sesuccess: select * from PART
    queryString in sesuccess: select * from PART where REV_ID= '' where OBJ_DESC= 'cat'
    driver manager
    connection established
    database error2
    java.sql.SQLException: ORA-00933: SQL command not properly ended
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java)
         at org.apache.jsp.searchsuccess_jsp._jspService(searchsuccess_jsp.java:129)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at SearchKdcc.doPost(SearchKdcc.java:60)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:619)

    Hi drvijayy2k2 ,
    Thanks for replying.
    I used your code in my application and this is the problem i am facing now. The query is getting executed but its not taking the value from the database because of the Null Rev Id that is getting inputted into queryString. I have given only part_desc as the search criteria. If i just search using part description , commenting the rev_id part , i am able to retrieve the result from the database.
    I have to code in a way using which i can search using either rev_id or part_desc , or using both at the same time.
    Part Number In success:
    Rev Number In serchsuccess:
    part desc In seachsuccess: cat
    Keyword In sesuccess: ----
    Design style In sesuccess: ----
    Config In sesuccess: ----
    charac In sesuccess: ----
    queryString in sesuccess: select * from PART
    queryString in sesuccess: select * from PART where REV_ID= '' and OBJ_DESC= 'cat'
    driver manager
    connection established
    Query executed

  • Error in accessing ResultSet - Descriptor index not valid SQL Exception

    Hi
    I am trying to execute a procedure in java and try to access the result set, but it is giving out Descriptor index not valid SQL Exception.
    While printing the first record the error is thrown the code is as follows. Any help would be appreciated. Thanks in Advance.
    1 . The Procedure
    CREATE PROCEDURE library.fetchssncursor()
    RESULT SETS 1
    LANGUAGE SQL
    BEGIN
    DECLARE c1 CURSOR WITH RETURN FOR
    SELECT * FROM VBPLTC.LTCP_DUMMY;
    open c1;
    END;2. Java Class
    public class TestFunction2
    public void getPassThruReport()
         Connection objConnection=null;
         ResultSet rs=null;
         CallableStatement callableStatement=null;
         try
              List returnList=new ArrayList();
              DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver());
              objConnection = DriverManager.getConnection("URL","USERID","PWD");
              callableStatement  = objConnection.prepareCall("{call fetchssncursor() }");
               System.out.println("Got Connection "+ objConnection.toString()); 
                 callableStatement.execute();
                 rs = callableStatement.getResultSet();
                 // callableStatement.executeQuery (); i also tried this
                if(rs!=null)
                  while(rs.next())
                       System.out.println(rs.getString(1)+","+rs.getString(2)+","+rs.getInt(3)+","+rs.getInt(4));
         catch(SQLException e)
              System.out.println("SQLException "+e);
         catch(Exception e)
              System.out.println("Exception "+e);
         finally
              try
                   if(rs!=null)     
                   rs.close();
                   if(objConnection!=null)
                   objConnection.close();
               catch (SQLException e) {
    public static void main(String args[])
           TestFunction2 obj = new TestFunction2();
           obj.getPassThruReport();
    }3. Output
    Got Connection S101C3DE
    shar,Sharath,123456,1 <------------- records
    SQLException java.sql.SQLException: Descriptor index not valid.(1574
    ****************************************

    http://www-03.ibm.com/servers/eserver/iseries/toolbox/troubleshooting.htm

  • ORA-32162: Read/Write SQL method not registered-for OTT

    I am trying this--
    env = Environment::createEnvironment (Environment::OBJECT);
    RegisterClasses(env);
    conn = env->createConnection (user, passwd, db);
    RegisterClasses is my mapping function; But still I am getting this error at--
    stmt->registerOutParam( 2,OCCIPOBJECT);
    I am trying to make a stored procedure call here...
    Can anyone tell me what is that I am missing?

    Hi,
    I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
    I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    // Creating the stateless connection pool.
    StatelessConnectionPool* scp;
    scp = env->createStatelessConnectionPool("naveen",
    "naveen",
    "//10.105.153.11:1521/pls",
    10,
    5,
    2,
    StatelessConnectionPool::HOMOGENEOUS);
    // Fetch a connection from the stateless connection pool
    conn = scp->getConnection();
    // After this, I create my Statement and call the registerOutParam() which
    // causes ORA-32162 exception.
    Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
    // After this, I create my Statement and call the registerOutParam() which
    // does not give problem now and my application runs pefectly fine.
    Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
    Any help will be greatly appreciated.
    Thanks and Regards,
    Naveen

  • ORA-32162: Read/Write SQL method not registered

    Hi,
    I am using OTT generated objects to pass them to my PL/SQL procedures as OUT parameters. When I call the registerOutParam() function, I get this error ORA-32162: Read/Write SQL method not registered.
    I am calling my mapping function after creating environment and before creating my stateless connection pool. But still I am getting this exception at runtime while calling registerOutParam().
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    // Creating the stateless connection pool.
    StatelessConnectionPool* scp;
    scp = env->createStatelessConnectionPool("naveen",
    "naveen",
    "//10.105.153.11:1521/pls",
    10,
    5,
    2,
    StatelessConnectionPool::HOMOGENEOUS);
    // Fetch a connection from the stateless connection pool
    conn = scp->getConnection();
    // After this, I create my Statement and call the registerOutParam() which
    // causes ORA-32162 exception.
    Please note that I do not get this error when I don't use any connection-pooling mechanism. That is, if I create an environment in OBJECT mode, call the mapping function with its pointer and create a normal Connection object (without any pooling etc), my application runs perfectly fine. E.g. if I replace the above piece of code with the code below, my application runs fine.
    Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
    MessageTOMapping(env); // Calling the mapping function here.
    conn = env->createConnection("naveen", "naveen", "//10.105.153.11:1521/pls");
    // After this, I create my Statement and call the registerOutParam() which
    // does not give problem now and my application runs pefectly fine.
    Can anyone let me know what I am doing wrong while using the stateless connection pooling mechanism? I definitely need to use Stateless Connection Pooling and must not get connections directly from env->createConnection().
    Any help will be greatly appreciated.
    Thanks and Regards,
    Naveen

    Hi,
    I found one workaround (not solution) to the problem.
    I used an IN OUT parameter instead of an OUT parameter in the stored procedure (though my requirement was only of an OUT parameter actually). This resulted in using the setObject() function instead of the registerOutParam() function which was throwing the ORA-32162 exception at runtime.
    I think there should be better ways in which we can pass an object as OUT parameter while also using stateless connection pooling for managing connections. Please let me know the same in case anyone knows that.
    Kind Regards,
    Naveen

  • Instance Label in Stream Mode and Different Preference with Same Portlet

    Hi Guys,
    I encounter some problems need your help,
    1. When I use Stream mode, and add a portet, but there is no way to changed instance label, if it's possible to change instance label in Stream mode
    2. I have one portal, and there are some instances of one portlet inside, I just want to set preference to every instance, so portlet can do different work, how to do it?
    Thanks,
    Jing

    When I did the second last production upgrade I used the import facility. Breadcrumbs and templates did not link up to the pages correctly. It took me quite awhile to fix all the problems that were found.
    When I used the import facility for the last production upgrade I kept primary key violations on varying wwv.Flow tables. I used the same process that I had always used to do upgrades. I got in contact with the company that is paid to give us support on Oracle issues.
    They said that the problem was that the size of the sql file created from the export was causing the problem, that it had gone over the HTMLDB 2 limits of 64K.
    We then used the flows_020000 account to upgrade the production application. That fixed all the problems that I was experiencing.
    So to install at the new district with the situation as described in the original question I need to change the application number. That is why I thought of changing the application number if the sql export file.
    This is causing me a fair few headaches so any help and ideas are really appreciated.

  • JDBC SQL Exception while updating an SQL database

    Hi Experts,
    Recently i have encountered a JDBC SQL exception while updating aSQL database as below,
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_UPLOAD' (structure 'Statement'): java.sql.SQLException: No more data to read from socket
    the above system error didn't occur for all messages (so far happened twice), but i need to find an fix to overcome this system error.
    did anybody came across the above system error, please help me to resolve.
    Thanks

    Hi bandana,
    From SAP Note --> 831162
    17. Receiver: java.sql.SQLException During First Message Processing
    Q: When sending a message to a JDBC receiver channel for the first time after an extended inactivity period, I am observing a java.sql.SQLException in the adapter's processing, which refers to a closed connection or a timeout? What is causing this and how do I work around this problem?
    A: The database server has apparently closed the adapter's JDBC connection from the server side. Nevertheless, the message should be processed successfully during the next retry. If you want to completely eliminate the symptoms, enable the setting "Advanced Mode" -> "Disconnect from database after each message processing". Note that this might have a negative performance impact for high-volume processing.
    I would recommend you to go through the complete note !!! Very Informative .
    Regards,

  • Stream-Mode Sockets

    Hi, I am working through a pradtice paper. I need to learn something for tomorrows exam.
    Here is the Question
    2b) Write detailed Java pseudo code fragments using stream-mode sockets. The code should reflect the following scenario:
    •     the server listens on a particular socket
    •     the client requests for a connection;
    •     the server accepts the connection request;
    •     the server sends the message “Send me a line of text” to the client;
    •     the client receives the message;
    •     The client sends the string “here is a line of text.”
    •     The server receives the line
    •     The server changes the text into upper case
    •     The server sends the changed text back.
    •     The client receives the changed text.
    Although your code does not need to be syntactically correct, it needs to be detailed enough to show the correct understanding of how the host addresses and port numbers are related to the sockets; it needs to show the correct use of classes and methods.
    So Far I have found thins:
    Client:
    package NetworkProgramming;
    import java.io.*;
    import java.net.*;
    public class Client2 {
    public static void main(String[] args) throws Exception {
    Client2 myCli = new Client2();
    myCli.run();
    public void run() throws Exception {
    Socket mySkt = new Socket("localhost", 9999);
    PrintStream myPS = new PrintStream(mySkt.getOutputStream());
    myPS.println("Hello Server");
    BufferedReader myBR = new BufferedReader(new InputStreamReader(mySkt.getInputStream()));
    String temp = myBR.readLine();
    System.out.println(temp);
    Server:
    package NetworkProgramming;
    import java.io.*;
    import java.net.*;
    public class Server2 {
    public static void main(String[] args) throws Exception {
    Server2 myServ = new Server2();
    myServ.run();
    public void run() throws Exception {
    ServerSocket mySS = new ServerSocket(9999);
    Socket SS_accept = mySS.accept();
    BufferedReader SS_BR = new BufferedReader(new InputStreamReader(SS_accept.getInputStream()));
    String temp = SS_BR.readLine();
    System.out.println(temp);
    if (temp != null) {
    PrintStream SSPS = new PrintStream(SS_accept.getOutputStream());
    SSPS.println("got Something");
    Is this the right stuff?
    How can i implement the parts in the question into this. like the sending messages, change to upper case etc.
    Many thanks for your help.

    1. When posting code, use code tags so it will be readable: http://forums.oracle.com/forums/ann.jspa?annID=1429
    2. You'll find you get better responses if you ask a more specific question and show your attempt to solve the problem yourself, as opposed to just pasting your assignment and some code you "found" and then asking, "How do I do the rest of this?"

  • Some programs crash but not in safe mode or for guest user

    Hoping that some talented and kind Mac wizard will help me solve a bizarre problem: Some but not all of my programs have started crashing immediately upon launch, but not in safe mode, nor when I log in as a guest user.
    The problem began on February 5th, right after I installed an update to my OS (bringing it up to version 10.7.3), which included an update to the firmware for my computer, a Mac mini from mid-2010. The programs that began crashing upon launch *may* be those that were open at that time, but I can’t be sure. They include Adobe Reader, Picasa, Word for Mac, and a sweet little utility called uCalendarX.
    Specifically what happens with, say, uCalendarX, is this:  After I launch it, nothing appears on screen for a few seconds, and then comes a message that it is trying restore its windows, with a choice of whether to attempt restoring them or not. After a few more seconds comes the news that it has quit unexpectedly. The first several dozen lines of the crash log appear at the end of this posting.
    So far my troubleshooting has revealed the following:
    (a) When I reboot in safe mode, the programs that crash now work normally.
    (b) When I boot the usual way but log on a guest user, the programs that crash now work normally.
    (c) Fully emptying the trash made no difference.
    (d) The problem was not solved by restoring my hard drive (via Time Machine) to its state the day before I downloaded that update to the OS and the firmware. (This was a drastic step, the intervention of last resort, and I was sure it would work. But no. Perhaps I did not go back far enough for the restoration.)
    (e) Deleting the plist files and plist.lockfiles made no difference.
    (f) Deleting the files for the app under Saved Application States made no difference.
    (g) Disabing the user’s font cache (as happens in safe mode) made no difference.
    (h) Uninstalling Adobe Reader, emptying the trash, downloading the latest version, and installing that made no difference – this latest version newly installed continues to crash (but not for a guest user, nor for me, the administrator, in safe mode).
    (i  ) Repairing permissions on the hard drive made no difference.
    I will be mighty grateful for a solution to this perplexing, vexing problem!
    B.t.w., I don’t know Unix but was able to do all those (fruitless) interventions listed above.
    Gordon Bear
    Ramsey NJ  U S A
    The log from one of the many crashes of uCalendarX begins as follows:
    Process:         uCalendarX [750]
    Path:            /Applications/uCalendarX 3.2.3/uCalendarX 3-2-3.app/Contents/MacOS/uCalendarX
    Identifier:      com.riuz.ucalendarx
    Version:         3.2.3 (3.2.3)
    Code Type:       X86 (Native)
    Parent Process:  launchd [289]
    Date/Time:       2012-02-20 00:38:48.931 -0500
    OS Version:      Mac OS X 10.7.3 (11D50b)
    Report Version:  9
    Interval Since Last Report:          2463 sec
    Crashes Since Last Report:           3
    Per-App Interval Since Last Report:  30 sec
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      0CA8DA26-8927-4AC3-B35F-3B2E9FD65A8E
    Crashed Thread:  4
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x000000008bcc45ab
    External Modification Warnings:
    Thread creation by external task.
    VM Regions Near 0x8bcc45ab:
         CoreServices           0000000004fd0000-00000000051ee000 [ 2168K] rw-/rwx SM=COW
    -->
         __TEXT                 000000008fe52000-000000008fe85000 [  204K] r-x/rwx SM=COW  /usr/lib/dyld
    Application Specific Information:
    objc[750]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib            0x920136e6 __open + 10
    1   libFontParser.dylib               0x9cc5b403 TFileDescriptorContext::TFileDescriptorContext(char const*) + 77
    2   libFontParser.dylib               0x9cc5b1c5 TFileDataReference::TFileDataReference(char const*) + 65
    3   libFontParser.dylib               0x9cc5b056 TFileDataSurrogate::TFileDataSurrogate(char const*, bool) + 136
    4   libFontParser.dylib               0x9cc59af3 TFont::CreateFontEntitiesForFile(char const*, bool, TSimpleArray<TFont*>&, bool, short, char const*) + 2581
    5   libFontParser.dylib               0x9cc58a7a FPFontCreateFontsWithPath + 193
    6   libCGXType.A.dylib                0x950164b0 create_private_data_with_path + 26
    7   com.apple.CoreGraphics            0x95349ecf CGFontCreateFontsWithPath + 33
    8   com.apple.CoreGraphics            0x95349b09 CGFontCreateFontsWithURL + 442
    9   com.apple.CoreText                0x90e1c1aa TCGFont::TCGFont(__CFURL const*, bool) + 90
    10  com.apple.CoreText                0x90e1bfb2 TCGFontCache::CopyFont(__CFURL const*) const + 92
    11  com.apple.CoreText                0x90e1be6c TBaseFont::CopyNativeFont() const + 50
    12  com.apple.CoreText                0x90e1bd6f TTableStore::CopyTable(unsigned int, TCFRetained<__CFData const*>&) + 81
    13  com.apple.CoreText                0x90e1bade TBaseFont::CopyTable(unsigned int) const + 72
    14  com.apple.CoreText                0x90e1ba0f TcmapTable::TcmapTable(TBaseFont const&) + 31
    15  com.apple.CoreText                0x90e1b8fd TBaseFont::GetGlyphsForCharacterRange(CFRange, unsigned short*) const + 27
    16  com.apple.CoreText                0x90e1b79b TASCIIDataCache::TASCIIDataCache(TBaseFont const*) + 83
    17  com.apple.CoreText                0x90e1b70f TBaseFont::CreateASCIIDataCache() const + 47
    18  com.apple.CoreText                0x90e1b690 TFont::InitAdvanceCache() const + 42
    19  com.apple.CoreText                0x90e1b4ad TASCIIEncoder::Encode() + 45
    20  com.apple.CoreText                0x90e4433f TGlyphEncoder::EncodeChars(CFRange, TAttributes const&, TGlyphList<TDeletedGlyphIndex>&, TGlyphEncoder::Fallbacks) + 925
    21  com.apple.CoreText                0x90e19ff6 TTypesetterAttrString::Initialize(__CFAttributedString const*) + 322
    22  com.apple.CoreText                0x90e19b9d CTLineCreateWithAttributedString + 47
    23  com.apple.HIToolbox               0x963d2b2d TCoreTextEngine::LayoutSingleLine(THIThemeTextInfo*, float) + 23
    24  com.apple.HIToolbox               0x963d2a9a TCoreTextEngine::Layout(THIThemeTextInfo*, float, float, TextLayoutType) + 64
    25  com.apple.HIToolbox               0x963ad2c9 TCoreTextEngine::VerifyLayout(THIThemeTextInfo*, float, float, LayoutIntent) + 309
    26  com.apple.HIToolbox               0x96410b0a TCoreTextEngine::GetThemeTextDimensions(float, THIThemeTextInfo*, float*, float*, float*) + 54
    27  com.apple.HIToolbox               0x9640fc51 DataEngine::GetTextDimensions(void const*, float, HIThemeTextInfo*, float*, float*, float*) + 283
    28  com.apple.HIToolbox               0x963d1fc5 HIThemeGetTextDimensions + 187
    29  com.apple.HIToolbox               0x963d1ca3 HIMenuBarView::MeasureMenuTitle(MenuData*, unsigned char, float*, int, unsigned char*) + 451
    30  com.apple.HIToolbox               0x963d1a49 HIMenuBarView::MeasureAppMenus() + 261
    31  com.apple.HIToolbox               0x963abb5d HIMenuBarView::EnsureBarLayout() + 489
    32  com.apple.HIToolbox               0x963ab152 HIMenuBarView::DrawSelf(short, __HIShape const*, CGContext*) + 520
    33  com.apple.HIToolbox               0x963aac22 HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 86
    34  com.apple.HIToolbox               0x963aaa42 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 124
    35  com.apple.HIToolbox               0x964395c7 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned long, HIView*, CGContext*, unsigned char, float) + 755
    36  com.apple.HIToolbox               0x964398b9 HIView::RecursiveDrawComposited(__HIShape const*, __HIShape const*, unsigned long, HIView*, CGContext*, unsigned char, float) + 1509
    37  com.apple.HIToolbox               0x9643a86b HIView::DrawComposited(short, OpaqueGrafPtr*, __HIShape const*, unsigned long, HIView*, CGContext*) + 1227
    38  com.apple.HIToolbox               0x9643a9b3 HIView::Draw(short, OpaqueGrafPtr*, unsigned long) + 81
    39  com.apple.HIToolbox               0x9643ad7b HIView::Render(unsigned long, CGContext*) + 45
    40  com.apple.HIToolbox               0x963d084f WindowData::PrepareForVisibility() + 137
    41  com.apple.HIToolbox               0x963cf893 _ShowHideWindows + 355
    42  com.apple.HIToolbox               0x963cf728 ShowHide + 44
    43  com.apple.HIToolbox               0x96399b09 _GetMenuBarWindow + 872
    44  com.apple.HIToolbox               0x96399765 GetMenuBarView(MenuData*, unsigned char) + 74
    45  com.apple.HIToolbox               0x963a2f3a MBarMenuRgn + 26
    46  com.apple.HIToolbox               0x963a2d27 _ZL7ShowBar21MenuBarAnimationStylehhh + 281
    47  com.apple.HIToolbox               0x963cd42a _ZL21UpdateAggregateUIMode21MenuBarAnimationStylehh + 772
    48  com.apple.HIToolbox               0x963e38e5 ShowMenuBar + 163
    49  com.apple.AppKit                  0x001a9cad -[NSApplication finishLaunching] + 1331
    50  com.apple.AppKit                  0x001a9374 -[NSApplication run] + 142
    51  com.apple.AppKit                  0x0043d261 NSApplicationMain + 1054
    52  com.riuz.ucalendarx               0x00001eea _start + 216
    53  com.riuz.ucalendarx               0x00001e11 start + 4

    Thanks for thinking about my problem. I've already experimented with creating a new user, a co-administrator. The programs don't crash when that account is running, just as they don't crash when the guest-user's account runs. So it seems that the problem is limited to the default user's account, which is the one that was running when I installed the updates to the OS and the firmware. Another clue is that the programs that crash as soon as they are launched are *probably* the ones that were open at that time in that account. Yet deleting Saved Application States does not keep the programs from crashing when next launched.
    So the mystery continues, but these additional facts will help with the diagnosis, I hope.
    Thanks again for your suggestion.
    Gordon

Maybe you are looking for