Multicamera Problem - Sequence error
Hi everyone,
I captured 4 tape, 2 cameras, and when I edit my work in Multicamera I can't delete the clip from the timeline. An error appear:
Sequence error: Unable to add clip to sequence. Possible media limits problem in clip or sequence.
Any Idea to resolve this problem?
Thank you very much.
Nayaril
This has happened to me too, seems to be an intermittent problem with multiclip sequences. The only thing I could do was quit the application and load the latest autosave of the project and redo some work.
A quick google of the error message suggests there's no solution to this yet, seems to be a glitch or bug.
Similar Messages
-
Media Manager Sequence Error when trying to archive video.
When we are done with a project we like to use media manager to consolidate only the used video (with handles) to save space.
This has never posed a problem until lately. On about five of the last projects when the media manager begins reconnecting media we get the following error:
"Sequence Error: Unable to add clip to sequence. Possible media limits problem in clip or sequence"
The only option is to abort so a new sequence is never created. Also, it will not tell me which clip caused the error. I tried moving everything into a new sequence and got the same error. Then I tried it without handles, then I tried it without deleting the unused media. I have also tried the projects on other computers (All 10.6.4, all FCP 7.02) All had the same error.
The only other reference to this error I can find deals with a multicam edit. None of these projects have any multicam edits.
Anyone got any ideas what is going wrong? I have tried to think if we are doing anything differently lately and the only thing i can come up with is using more of Tiffen's DFX filters.May have found the solution. Short story: I think it was some weirdness trying to media manage a sequence with a freeze frame of a video clip. I have had some issues in the past with final cut handling freeze frames.
Long story and workaround is available here:
http://forums.creativecow.net/readpost/8/1096223 -
Running SQL Procedure with dg4msql errors: Function sequence error HY010
I am trying to execute a stored procedure on a SQL database and get the error Function sequence error HY010.
A simple query on a table returns teh expected result.
I have a single Win2008R2 server with MSSQL Express 2008 and Oracle 11gR2 (32bit not 64bit version of Oracle)
Below is the gateway init, listener and tnsnames files and the query I am trying to run:
-- initORIONWASP.ora --
HS_FDS_CONNECT_INFO=INGRDB//waspForGIS
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_CALL_NAME=dbo.spTest;dbo.spQueryAsset;dbo.spQueryAssetDetails
HS_FDS_PROC_IS_FUNC=TRUE
HS_FDS_RESULTSET_SUPPORT=TRUE
-- Listener.ora -- (partial)
(SID_DESC =
(SID_NAME = ORIONWASP)
(ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
(PROGRAM=dg4msql)
-- tnsnames.ora -- (partial)
ORIONWASP =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=INGRDB)(PORT=1521))
(CONNECT_DATA=(SID=ORIONWASP))
(HS=OK)
-- Simple Query --
Running select "Asset_ID" from asset@ORIONWASP; returns the correct result
Running select * from sys.procedures@ORIONWASP; returns a list of procedures including the procedure I want to run
-- This pl/sql block returns the error ******* identifier 'spTest@ORIONWASP' must be declared *******
declare
begin
"spTest"@ORIONWASP;
end;
-- This passthrough pl/sql block returns ******** [Oracle][ODBC SQL Server Driver]Function sequence error {HY010} ********
DECLARE
CRS BINARY_INTEGER;
RET BINARY_INTEGER;
v_COL1 VARCHAR2(50);
v_COL2 VARCHAR2(50);
BEGIN
CRS := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@ORIONWASP;
DBMS_HS_PASSTHROUGH.PARSE@ORIONWASP(CRS, 'exec spTest');
BEGIN
RET := 0;
WHILE (TRUE)
LOOP
ret := DBMS_HS_PASSTHROUGH.FETCH_ROW@ORIONWASP(CRS, FALSE);
DBMS_HS_PASSTHROUGH.GET_VALUE@ORIONWASP(CRS, 1, v_COL1);
DBMS_HS_PASSTHROUGH.GET_VALUE@ORIONWASP(CRS, 2, v_COL2);
DBMS_OUTPUT.PUT_Line('Col1:'||v_COL1||' Col2:'||v_COL2);
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
BEGIN
DBMS_OUTPUT.PUT_LINE('End of Fetch');
DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@ORIONWASP(CRS);
END;
END;
END;
/The gateway configuration file contains:
HS_FDS_PROC_IS_FUNC=TRUE
HS_FDS_RESULTSET_SUPPORT=TRUE
This setting commonly causes problems and you need to set
HS_FDS_PROC_IS_FUNC=TRUE
HS_FDS_RESULTSET_SUPPORT=FALSE
for normal procedure calls and
HS_FDS_PROC_IS_FUNC=FALSE
HS_FDS_RESULTSET_SUPPORT=TRUE
when calling the procedure with ref cursors.
There's a note in My Oracle Support that gives you examples how to call remote SQl Server procedures
Note.197192.1 Different Methods How To Call MS SQL Server Procedures Using TG4MSQL - DG4MSQL
and another one for the Sybase gateway but this code is similar for the SQL Server:
Article-ID: Note 351400.1
Title: How to Call a Remote Sybase Procedure Using TG4SYBS -
SQL developer 3.1 throws Function sequence error
Hi,
I was able to connect to my remote timesten db and was able to compile and execute packages.
I tried modifying one of my packages to include dbms_lock.sleep in my code and then compiled the package.
while running the package i got some error related to locking.
The strange this is after this i am not able to connect to the timesten db using sql developer.
An error is thrown, "Could not connect to the database Function sequence error"
I tried restarting the timesten server and then also the same error exists.
How can i resolve this?
regards
LalHi,
This looks like a problem with the SQL*Developer Early Adopter release itself so it would be better if you opened a new thread in the SQL*Developer forum -
SQL Developer
That is monitored by the developers more than this thread so they are more likely to see it.
Regards,
Mikei -
Log sequence error - possible causes?
We're using C++, DBXML 2.1.7, with underlying Berkeley 4.3.28 - core 5 linux (2.6.16.28). We use transacted write's, with no nesting of transactions. We've been running with this version of DBXML for some time and this is the first time we've seen any sort of data corruption with the database.
In this case, the database server was shutdown, and the system restarted - on restart, the database server core dumped. Repeated attempts to restart the database gave the same failure. We enabled error output for the Berkeley DB and we get the following errors:
Finding last valid log LSN: file: 1 offset 8234100
Recovery starting from [1][7965842]
Log sequence error: page LSN 1 1664073; previous LSN 1 5236280
Recovery function for LSN 1 8228918 failed on forward pass
PANIC: Invalid argument
PANIC: fatal region error detected; run recovery (repeated several times)
followed by a segfault in libdb_cxx-4.3.so.
So I have 2 questions, the first (and most important) being - how can the log file get corrupted? Is this an OS/file system problem? Or could we have a problem in our database server? It's relatively simple - there is a single thread for read's/write's, and a separate "checkpoint" thread that periodically calls the txn_checkpoint function. Something was just changed on the system that has to do with mirroring, specifically on the partition that holds our database, but I don't know the details (I can get the info, though).
The second question - why is Berkeley choking on the error path, instead of causing a database panic? Granted, in this situation it would appear that we're hosed either way, but a panic is at least a little more user-friendy than a core dump. Looking at the core file, it appears that we've entered the error handling portion of dbenv_open, and the mp_handle of the environment object is NULL - we fail in the call to __dbenv_refresh because of that. (If you're interested, we rebuilt Berkeley with debug symbols - I can give you a stack trace with details for the segfault.)
Oh, the startup flags for the database server are: DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN|DB_RECOVER|DB_THREAD
Thanks!
WendyThanks Michael -
Here's the stack trace from one of the core files, generated with the debug version of the library:
#0 0xb7d97c3a in __dbenv_refresh (dbenv=0x80b5430, orig_flags=1024,
rep_check=0) at ../dist/../env/env_open.c:722
#1 0xb7d9993d in __dbenv_open (dbenv=0x80b5430,
db_home=0x80b5334 "/pivot3/repository/xml", flags=188513, mode=432)
at ../dist/../env/env_open.c:415
#2 0xb7d1fe78 in DbEnv::open (this=0xbfa94488,
db_home=0x80b5334 "/pivot3/repository/xml", flags=188513, mode=0)
at ../dist/../cxx/cxx_env.cpp:442
#3 0x0804e0e8 in main (argc=134537448, argv=0xbfa94488) at dbserver.cxx:179
As to the "why's": the database files are never moved (in normal operation - I did copy them to a similar system for debug, but the failure is the same on both systems), we always run recovery when we restart the server, we never physically access the environment outside of the server, and there is only one database server on the system, so no "cross contamination" from another server (basically, we're using DBXML as an embedded database to store configuration information - we have it running on multiple, identical systems, and this is the first time in over 2 years that we've seen any sort of database corruption).
So based on what you've said, the only other real possibility is if something happened to the partition holding the log file (all of the database files are on the same partition). Would there be any smoking guns we could look for on the physical system that might indicate what happened? The system that the failure originally occurred on is still in the 'last booted' state, in case there was anything that we could look for. The partition mirroring changes were just made this past week, which is why we thought it might be something at a lower level.
I just ran db_printlog and the entry for 1664073 looks like this:
[1][1664073]__bam_repl: rec: 58 txnid 80000047 prevlsn [0][0]
fileid: 21
pgno: 3
lsn: [1][8228918]
indx: 3
isdeleted: 0
orig: 0xc
repl: 0x11
prefix: 8
suffix: 23
The other record (5236280) does not exist in the log file, based on the output from db_printlog.
If there's anything else from the log print that you need, just let me know.
Thanks! -
Function sequence error / Recursive functions error
Hi! I've a little problem over here. I have an application (servlet) that makes recursive functions with DB access. This function contains a resultset that calls the same function again until no more data is found. The problem, is that I'm using JDBC-ODBC bridge (because this must work in SQL Server, Informix, Sybase, Access and Oracle), so I need to make commit of the connection in every resultset. If I make the commit inside the resultset, I got a "Function Sequence error" exception. Of course, I can't close every statement inside the resultset (or at least I don't know how). My code looks like this:
public void myfunction(String odbc,String data1,String data2) throws SQLException,Exception{
//this class, myclassDB, just return a established connection with the DB
Connection connection = myclassDB.connect(odbc);
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery("query");
while(rs.next()){
//do something with the information
//make recursive
connection.commit();
myfunction(odbc,data1,data2);
statement.close();
connection.close();
}Hope you can help me!
Feel free to email me at [email protected]
Regards!I am not really sure what the question is but...
Presuming that there isn't something wrong with your design (which recursive calls suggest) then you need to extract all of the data, close the resultset/statement then do the recursive calls. If you do processing first then you can still commit on the connection. -
Function Sequence Error -- After upgrading to Crystal Reports 2008
Since we intergrated Crystal 2008 in our application, We are having the ODBC DRIVER ERROR "S1010, Function Sequence Error"
The following steps reproduces the error.
I open any crystal report(using my application) and close it.
And then I try to close another dialog in my application.
The destructor of that dialog has the DELETE FROM TMPRPT WHERE etc... But actually the TMPRPT table is empty.
But This Scenario in general, does not produce any error. Only after I open and close Crystal report, and when the TMPRPT table doesn't have any records, executing the above DELETE sql throws CDBException, Funciton Sequence Error.
Is it because of the upgrade/mismatch of dlls? Can any one help how to work around this?
Thanks.Hi Don,
I would like to thank you for your helpful advice. your tips for odbc tracing really works.
Just to simplify things, I have created a simple mfc dialog based application that opens a connection using CDatabase in the initdialog and closes the connection in the destructor(because that is how we do in our main large application). On the dialog i put a "Print" button and when i click it, I open a crystalreportform and fill the connectioninfo structure and then call SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument). on the Form_closed function, I close database connections and close the report document.
When I come back to mfc application I execute a Delete from table where 1 =0, basically any delete/update that return empty recordset and it throws function sequence error.
BOOL CCrystalDemoDlgDlg::OnInitDialog()
CDialog::OnInitDialog();
ConnectDatabase() ;
return TRUE; // return TRUE unless you set the focus to a control
BOOL CCrystalDemoDlgDlg::ConnectDatabase()
if ( m_Database.IsOpen() )
m_Database.Close();
// Process database open request.
CString szConnection("DSN=CRYSTALTEST32;UID=DBA;PWD=picture");
!m_Database.OpenEx( szConnection, CDatabase::noOdbcDialog ) )
return TRUE;
BOOL CCrystalDemoDlgDlg::bExecuteSQL( CString SqlString )
if(m_Database.IsOpen())
m_Database.ExecuteSQL( (LPCTSTR)SqlString );
return TRUE;
void CCrystalDemoDlgDlg::OnBnClickedBtnPrint()
TRY
bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
CrystalReportsForm ^ CRForm = gcnew CrystalReportsForm(gcnew System::String("ActvSumm1.rpt"));
CRForm->ShowDialog();
//CRForm->RunCrystalReports();
delete CRForm;
CRForm = nullptr;
bExecuteSQL(_T("DELETE FROM TMPRPT WHERE 1=0"));
CATCH(CDBException, e)
AfxMessageBox( e->m_strError );
return ;
END_CATCH
the following is the code in crystalreports library
namespace CR2008Library
public partial class CrystalReportsForm : Form
private ReportDocument _reportDocument;
private string _reportFile = "C:\\Nomadic\\Report\\";
public CrystalReportsForm(string reportFile)
InitializeComponent();
_reportDocument = CreateReportDocument(reportFile);
private ReportDocument CreateReportDocument(string reportFile)
ReportDocument newDocument = new ReportDocument();
_reportFile += reportFile;
newDocument.Load(_reportFile);
return newDocument;
public void ConfigureCrystalReports()
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.DatabaseName = "CRYSTALTEST";
connectionInfo.UserID = "DBA";
connectionInfo.Password = "picture";
connectionInfo.ServerName = "CRYSTALTEST32";
SetDBLogonForReport(connectionInfo, _reportDocument);
crystalReportViewer.ReportSource = _reportDocument;
private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
Tables tables = reportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo = connectionInfo;
table.ApplyLogOnInfo(tableLogonInfo);
public void CrystalReportForm_Load(object sender, EventArgs e)
ConfigureCrystalReports();
private void CrystalReportsForm_FormClosed(object sender, FormClosedEventArgs e)
DisposeCR();
private void DisposeCR()
// Clean up by closing and disposing of the ReportDocument object
if (_reportDocument != null)
if (_reportDocument.Database.Tables.Count > 0)
Tables tables = _reportDocument.Database.Tables;
foreach (Table table in tables)
table.Dispose();
_reportDocument.Database.Dispose();
_reportDocument.Close();
_reportDocument.Dispose();
_reportDocument = null;
I have the log file which doesn't show any error in crystalreports library. I am giving some of the log file for your reference to see what's happening while exiting from crystal and executing the problem sql
CrystalDemoDlg 16c8-e8c EXIT SQLFetch with return code 0 (SQL_SUCCESS)
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLFetch
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
HSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLCloseCursor
SQLHSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLCloseCursor with return code 0 (SQL_SUCCESS)
SQLHSTMT 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 00F41CC0
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 3 <SQL_HANDLE_STMT>
SQLHANDLE 00F41CC0
CrystalDemoDlg 16c8-e8c ENTER SQLDisconnect
HDBC 00F427A0
CrystalDemoDlg 16c8-e8c EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
HDBC 00F427A0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 2 <SQL_HANDLE_DBC>
SQLHANDLE 00F427A0
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 2 <SQL_HANDLE_DBC>
SQLHANDLE 00F427A0
CrystalDemoDlg 16c8-e8c ENTER SQLFreeHandle
SQLSMALLINT 1 <SQL_HANDLE_ENV>
SQLHANDLE 00F42718
CrystalDemoDlg 16c8-e8c EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
SQLSMALLINT 1 <SQL_HANDLE_ENV>
SQLHANDLE 00F42718
CrystalDemoDlg 16c8-a34 ENTER SQLAllocStmt
HDBC 00F419A0
HSTMT * 0012E2C4
CrystalDemoDlg 16c8-a34 EXIT SQLAllocStmt with return code 0 (SQL_SUCCESS)
HDBC 00F419A0
HSTMT * 0x0012E2C4 ( 0x00f41cc0)
CrystalDemoDlg 16c8-a34 ENTER SQLSetStmtOption
HSTMT 00F41CC0
UWORD 0 <SQL_QUERY_TIMEOUT>
SQLPOINTER 0x0000000F
CrystalDemoDlg 16c8-a34 EXIT SQLSetStmtOption with return code 0 (SQL_SUCCESS)
HSTMT 00F41CC0
UWORD 0 <SQL_QUERY_TIMEOUT>
SQLPOINTER 0x0000000F (BADMEM)
CrystalDemoDlg 16c8-a34 ENTER SQLExecDirectW
HSTMT 00F41CC0
WCHAR * 0x03A30458 [ -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
SDWORD -3
CrystalDemoDlg 16c8-a34 EXIT SQLExecDirectW with return code 100 (SQL_NO_DATA_FOUND)
HSTMT 00F41CC0
WCHAR * 0x03A30458 [ -3] "DELETE FROM TMPRPT WHERE 1=0\ 0"
SDWORD -3
CrystalDemoDlg 16c8-a34 ENTER SQLNumResultCols
HSTMT 00F41CC0
SWORD * 0x0012E2B8
CrystalDemoDlg 16c8-a34 EXIT SQLNumResultCols with return code -1 (SQL_ERROR)
HSTMT 00F41CC0
SWORD * 0x0012E2B8
DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0)
CrystalDemoDlg 16c8-a34 ENTER SQLErrorW
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224
WCHAR * 0x0012DE20
SWORD 511
SWORD * 0x0012DE14
CrystalDemoDlg 16c8-a34 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224 (0)
WCHAR * 0x0012DE20 [ 56] "[Microsoft][ODBC Driver Manager] Function sequence error"
SWORD 511
SWORD * 0x0012DE14 (56)
CrystalDemoDlg 16c8-a34 ENTER SQLErrorW
HENV 00F418D8
HDBC 00F419A0
HSTMT 00F41CC0
WCHAR * 0x0012DE00 (NYI)
SDWORD * 0x0012E224
WCHAR * 0x0012DE20
SWORD 511
SWORD * 0x0012DE14
I know that my post is too long, but i would like to give enough information for you to see what's happening. I use visual studio 2008 with crystal library 2008.
Thanks,
Lavanya. -
Intermittent Function sequence error in JDBC - ReferenceManager too eager?
Hello,
I'm experiencing intermittent "function sequence error" when executing the first next() on a resultset.
The java code:
protected String getNextSequenceId(Connection con) throws DAOException {
String nextVal = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
ps = getPreparedStatement(con, "SELECT sq_JobsID.NEXTVAL FROM DUAL");
ps.executeQuery();
rs = ps.getResultSet();
if(rs.next()) {
nextVal = rs.getString(1);
} catch(SQLException se) {
handleSQLException(se);
} finally {
closeResultSet(rs);
closeStatement(ps);
return nextVal;
Enabling timesten trace logging reveals that the ReferenceManager finalizes the resultset before I get a chance to read from it. Any idea what could be done to prevent this?
Would changing to code to do "rs=ps.executeQuery();" instead of "ps.executeQuery(); rs = ps.getResultSet();" fix the problem?
Thanks.
BTW, I'm using TimesTen 7.0.3. The problem was seen both on Windows XP and Solaris 10.
TimesTen Trace log:
HttpThreadPool-8*JdbcOdbc.SQLPrepare(184632064, SELECT sq_JobsID.NEXTVAL FROM DUAL)
HttpThreadPool-8*JdbcOdbc.SQLGetStmtOption(184632064, 3031)
HttpThreadPool-8*JdbcOdbc.SQLGetStmtOption(184632064) Returning value = 0
HttpThreadPool-8*JdbcOdbc.SQLNumParams(184632064)
HttpThreadPool-8*JdbcOdbc.SQLNumParams(184632064) Returning: numParams = 0
HttpThreadPool-8*Connection.registerStatement(com.timesten.jdbc.JdbcOdbcPreparedStatement@114c15d)
HttpThreadPool-8*PreparedStatement.executeQuery()
HttpThreadPool-8*PreparedStatement.execute()
HttpThreadPool-8*JdbcOdbc.SQLExecute(184632064)
HttpThreadPool-8*JdbcOdbc.SQLExecute(184632064): Returning needData=false
HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(184632064)
HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(hStmt=184632064): Returning numCols = 1
HttpThreadPool-8*Statement.getResultSet()
HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(184632064)
HttpThreadPool-8*JdbcOdbc.SQLNumResultCols(hStmt=184632064): Returning numCols = 1
HttpThreadPool-8*JdbcOdbc.SQLAllocAndBindCols(184632064)
HttpThreadPool-8*Statement.getResultSet()
HttpThreadPool-8*ReferenceManager.handleReference(com.timesten.jdbc.BasicPhantomReference@1d43f63)
HttpThreadPool-8*JdbcOdbcResultSet.doPostFinalization(com.timesten.jdbc.JdbcOdbcResultSet@18dacb5)
HttpThreadPool-8*JdbcOdbcResultSet.close()
HttpThreadPool-8*JdbcOdbc.SQLFreeStmt(184632064, 0)
HttpThreadPool-8*JdbcOdbcResultSet.next()
HttpThreadPool-8*JdbcOdbc.SQLFetch(184632064)
HttpThreadPool-8*JdbcOdbc.standardError(-1, 0, 0, 184632064)
HttpThreadPool-8*JdbcOdbc.createSQLException(0, 0, 184632064, true, true)
HttpThreadPool-8*JdbcOdbc.createSQLException:Reason = [TimesTen][TimesTen 7.0.3.0.0 ODBC Driver]Function sequence error; SQLstate = S1010; VendorCode = 0Hi,
Are you using Spring or Apache? If so, here is some information from one of my colleagues that may be relevant.
They should turn OFF the singleton for the DAO bean (each DAO bean should NOT use a singleton query variable).
<bean id="procDAO" class="vae.data.dao.ProcDAO" destroy-method="close" singleton="false">
<property name="procDAOPool"><ref bean="procDAOPool"/></property>
<property name="timeAlloted"><value>${db.query.TimeAlloted}</value></property>
<property name="timeAllotedConf"><value>${db.query.TimeAllotedConf}</value></property>
<property name="counter"><value>${db.query.Counter}</value></property>
<property name="msgLimitPicContent"><value>${msgLimitPicContent}</value></property>
<property name="msgLimitBinaryStandard"><value>${msgLimitBinaryStandard}</value></property>
<property name="msgLimitNormalSMS"><value>${msgLimitNormalSMS}</value></property>
<property name="txnCommit"><value>true</value></property>
</bean>
What happens is that, when the query variable (the PreparedStatement) is a singleton, which seems to be the default on Spring, at low load levels everything is OK. However as the # of transactions increase, you have a case where
1) connection #1 enters the DAO bean and executes
2) connection #2 enters the bean and executes
3) connection #1 does executeQuery and getResultSet
4) connection #2 does executeQuery -- this INVALIDATES the resultset obtained by connection #1
5) when connection #1 tries to do getString the error comes out since the resultset is invalid
Could you let me know if this is your issue or not.
Thanks,
Chris -
How do I trace a function sequence error?
Hi,
can anyone tell me how I trace a function sequence error?
I have a piece of VB code (that has worked on many occassions, which runs to 9i.
I deleted the contents of my tables and then tried to run the same code again but got the following error message:
run time error '-2147467259 (80004005)':
[Oracle][ODBC]Function sequence error.
ODBC does not create a trace file for this error and I was wondering if there is any other way for me to find what is actually causing this problem.
thanks in advance,
Ed.You should be able to enable tracing through the ODBC Data Sources manager on the Control Panel.
Cheers, APC -
Function Sequence Errors with WebToGo
I'm trying to build an application using WebToGo, and I get Function Sequence errors whenever I try to access a ResultSet object on my JSP page. I'm trying to follow (and somewhat duplicate) the tutorial application included with the SDK.
Here is the faulty code on the JSP page:
<%@ page import="java.sql.*" %>
<jsp:useBean id="con" class="dbConnBeanLite" scope="session"/>
<pre>
ResultSet rs = null;
String testString = con.returnString();
out.println("<b>" + testString + "</b>");
String query = "SELECT * FROM TODO_ITEMS";
rs = con.executeQuery(request, query);
while (rs.next() == true) {
out.println("Todo: " + rs.getString("TO_DO") + "<br>");
</pre>
And here is the referenced executeQuery method:
<pre>
public ResultSet executeSQLQuery(HttpServletRequest request, String sqlQuery) {
ResultSet rs = null;
try {
Statement stmt = null;
if (conn == null) {
Principal user = request.getUserPrincipal();
conn = ((OraUserProfile) user).getConnection();
stmt = conn.createStatement();
stmt.execute(sqlQuery);
rs = stmt.getResultSet();
stmt.close();
conn.commit();
} catch (SQLException e) {
System.err.println("SQLException: " + e);
return rs;
</pre>
Here is the exception I get:
java.sql.SQLException: [ODBC S1010] function sequence error
at oracle.lite.poljdbc.LiteEmbResultSet.jniFetch(Native Method)
at oracle.lite.poljdbc.LiteEmbResultSet.fetch(Unknown Source)
at oracle.lite.poljdbc.POLJDBCResultSet.next(Unknown Source)
at beantest.beantest._jspService(_beantest.java:67)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at oracle.lite.web.JupServlet.service(JupServlet.java:190)
at oracle.lite.web.MimeServletHandler.handle(MimeServletHandler.java:85)
at oracle.lite.web.JupApplication.service(JupApplication.java:339)
at oracle.lite.web.JupHandler.handle(JupHandler.java:97)
at oracle.lite.web.HTTPServer.process(HTTPServer.java:302)
at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
at oracle.lite.web.JupServer.handle(JupServer.java:309)
at oracle.lite.web.SocketListener.process(SocketListener.java:157)
at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:208)Hi Darren,
This problem seems to occur when an administrator deletes the local trust relationship of the farm from the Security section of the Central Administration website
In order to resolve this problem, the local trust relationship has to be created. This can be done by running the following PowerShell commands
$rootCert = (Get-SPCertificateAuthority).RootCertificate
New-SPTrustedRootAuthority -Name "localNew" -Certificate $rootCert
After running the above commands, perform an IISReset on all servers in the farm.
More information:
http://support.microsoft.com/kb/2545744
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Sequence error when creating a multiclip, help!!
I have a bunch of clips I select and try to build a multiclip sequence with from 2 cameras with synced timecode, and after I click to build the multiclip sequence and go through the settings, I get an error that says:
Sequence Error: Unable to add clip to sequence. Possible media limits problem in clip or sequence.
this happens if I select 20 clips or 2 clips. Anyne have any suggestions? FYI, I am editing in native hdv.
ThanksThere has to be enough overlap between clips, I think 36% or so. Could that be a problem.
-
Sequence Error - ProRes/R3D footage
I am trying to edit ProRes HQ files converted from R3D @ 2048x1152.
Everything I do comes up with this message:
Sequence Error: Unable to add clip to sequence. Possible media limits problem in clip or sequence.
When I try create a subclip - when I try dragging subclips back into the timeline - just trying to drop selected audio tracks onto the timeline - MOVING a clip in the timeline... pretty much anything.
Any help would be appreciated, it seems like it's just a glitch in the software, but I need a solution!
~sounds like a timecode problem where the limits of the original master clip were well beyond the in/out points of the clip you have in hand. We get the error when we've had to reload a clip that rolled off the end of the tape. The system sees the original media in and out points. We load the clip by hand and then relink the footage to the new clip. We get the error because the new media end point is earlier than the old one. We ignore it. Sound like something may have changed in your loading process.
-
Premiere Pro CC and AVCHD spanning or Multicam problem
I'm not exactly sure where to pin the current problem I'm having. To my best guess it's either an AVCHD spanning issue, or it's just just a Multi-cam bug. Yesterday I cut a 40 minute multicam sequence. It looked and played great when I was finished. I began editing in clips of interviews and sound bites. Somewhere along the way, PPro CC thinks that my video has gone out of sync with my audio. The audio from the Multicam Source Sequence plays through, however the video is now showing the red and white plus and minus (out of sync) icon on every clip past a certain point. Though I can't be sure, I am fairly certain that I did not pull these clips out of sync (i.e. by locking an audio track and moving the video track) at some point. Also, when scrubbing through this section of "out of sync" multi-cam footage, each cut begins with the same footage as the first clip in the first of several spanned video fiels that make up this clip.
If I haven't lost you, so far, and you recognize this problem, is there a workaround?
I've tried:
1. ALT+dragging the Multicam Source Clip onto each segment in hopes that it would somehow re-link properly to the underlying sequence. No luck.
2. Right-clicking the "out of sync" indicator on the footage in the timeline, then clicking "move into sync". This makes that segment of the cut dissapear (probably re-appearing somewhere much earlier in the timeline, though that's not helpful).
3. Right-clicking the "out of sync" indicator on the footage in the timeline, then clicking "Move others into sync". No luck. The "out of sync" indicator dissapears. Premiere thinks all is well. But I still see the starting frame of each camera everytime I've switched cameras. Since both cameras did not start exactly at the same time, I actually see black when it switches to Camera 2 (the first frame of Camera 2 in the Multi-Camera Source Sequence is black).
I thought I saw people posting about this issue yesterday, but I couldn't find that forum today. Is it a common problem and what is the work-around?I see you found the other thread. For other readers:
http://forums.adobe.com/message/5448612?tstart=0#5448612 -
CLI0125E Function sequence error
Hi,
I'm using Websphere 3.5.2 and in consequence Java 1.2.2.
I already read bug database link: http://developer.java.sun.com/developer/bugParade/bugs/4243452.html
In our code we commonly execute database queries using a connection, a prepared statement and a result set. Each component has its own methods for accessing database.
We use servlets acessing a specific table in database (DB2 v.6) and a fa�ade method to access another table.
Ex: A servlet to add orders to the database in table TBL_ORDERS. To populate the combo with customers we instantiate the Curstomers EJB (that acesses the TBL_CUSTOMERS), and populate an array with the resultset of the Curstomers EJB.
The second call to ResultSet.next() gives us a "CLI0125E Function sequence error".
The following is our code flow:
public void LoadFromDatabase(Connection inputCon)
throws Exception
aVector = new Vector();
PreparedStatement tmpStmt = null;
ResultSet tmpRS = null;
String tmpSQLQuery = "SELECT * " +
"FROM TBL_ORDERS" +
"WHERE order_number = ?";
tmpStmt = inputCon.prepareStatement(tmpSQLQuery);
tmpStmt.setString(1, "0001");
tmpRS = tmpStmt.executeQuery();
// call the other component
aVector = getList();
// The error occurs on the execution of tmpRS.next(), a "CLI0125E Function sequence error".
tmpRS.next()
tmpRS.close();
tmpStmt.close();
} // end of method to load object from database
//method getList()
public Vector geList() {
Vector resp = new Vector();
try {
InitialContext jndiContext = new InitialContext();
Object objref = jndiContext.lookup("app/Customers");
BasEmpGrpBicHome home =
(BasEmpGrpBicHome) javax.rmi.PortableRemoteObject.narrow(objref,
BasEmpGrpBicHome.class);
BasEmpGrpBic oBasEmpGrpBic = home.create(oEnv);
Enumeration elements ;
elements = oBasEmpGrpBic.getCustomersListVector().elements();
for (int i=0;elements.hasMoreElements();i++)
BasEmpGrpBicView oAux = (BasEmpGrpBicView)elements.nextElement();
resp.add(oAux);
return resp ;
} catch (Exception e) {
e.printStackTrace();
return null ;
The method getCustomersListVector() has the same database interation stile.
Any idea what I can do to solve this problem?
Thanks a lot!I am running WEBSphere 3.5.3 connecting to DB2 (both on AIX) via JDBC. I am using connection pooling (connecting via the datasource factory). If I set the datasource properties on WEBSphere to 1 MinConnection and 1 MaxConnection everything works fine. If I bump up the Min & Max Connections I get the CLI0125E on occassion. Any ideas ?
Here is a snippet of the code:
private Connection ConnectToDB() throws ...
if ( ctx == null )
ctx = new InitialContext(parms);
ds = (DataSource)ctx.lookup( "jdbc/" + url );
return ds.getConnection(username, password);
public RecordSet GetData( String sql ) throws PruDataException
Statement statement=null;
ResultSet resultSet=null;
RecordSet aRecordSet=null;
Connection connection = null;
String resultString;
connection = ConnectToDB();
connection.setReadOnly(true);
statement = connection.createStatement();
resultSet = statement.executeQuery(sql);
aRecordSet = new RecordSet( resultSet );
resultSet.close();
statement.close();
connection.close();
return aRecordSet;
public RecordSet( ResultSet resultSet ) throws SQLException {
setColandRowData( resultSet );
private void setColandRowData( ResultSet rs ) throws SQLException
int totalCols;
ResultSetMetaData rsmd = rs.getMetaData();
totalCols = rsmd.getColumnCount();
colNames = new String[ totalCols ];
//add column names to string array
for (int i = 1; i <= totalCols; ++i)
colNames[i-1] = rsmd.getColumnName(i);
while ( rs.next() )
colData = new Object[ totalCols ];
for (int i = 1; i <= totalCols; ++i)
if (rsmd.getColumnTypeName( i ).equalsIgnoreCase("clob") )
Clob aClob = rs.getClob(i);
if ( aClob == null )
colData[i-1] = null;
else
colData[i-1] = aClob.getSubString(1,(int)aClob.length() );
else
colData[i-1] = rs.getObject(i);
rowData.addElement( colData );
rowCount++;
****** sample calling code *****
DataRequest aDataReq = new DataRequest();
RecordSet rs = aDataReq.GetData("SELECT ......");
if ( rs.RowCount() == 0 )
throw new WEBFactoryException( "No data found.."); -
Function Sequence Error exception
I get the following SQL exception when executing queries
'[Microsoft][ODBC Driver Manager] Function sequence error'
It doesn't always happen and it does not affect the results of the query.
Could any one offer any advice for this exception?
Thank you,
xer>>
in this case the database is MySQL so the
problem is either the MySQL ODBC driver or the
JdbcOdbcDriver and not the database.. becauseI
don't know about you but I have never seen a MySQL
database throw an error with a Mircrosoft errorcode
and description.
Yes and no.
The MySQL ODBC driver throws that error, so does have
something to do with MySQL. But as you say it also is
specific to ODBC.
thus we are able to eliminate the database as the
source of this particular problem in this case.
therefore in this case if we go directly from Javato
the database using a type 4 driver we areeliminating
the pieces of software that in this case in factare
causing the problem.Not necessarily. The error represents a problem.
Presumably it doesn't happen all the time, so
something in the users code causes it. The cause of
this might be due to a bug in the driver, or because
something is wrong in the users code and this is how
the driver ends up dealing with it. And using a
different driver won't eliminate the second case it
will just produce a different type of error.this is correct, however...
to solve a problem such as this in a logical or scientific manner we should start by elminating all variable sources of the error that we can.
using the second driver does eliminate as a possible source of the problem ODBC and the MySQL ODBC driver.
so if now another error does in fact surface as the MySQL JDBC driver equivalent to the problem then we can be fairly certain that the error is located in their code. which puts us much farther along in the debugging process.
Maybe you are looking for
-
Export and import entire database
hi. when I did export all database to a file , and then i import it to unix machine with oracle 8.1.7 , it didn't gave me error messages, and all user were created as well. in unix (or maby in oracle 8.1.7) i didn't have to create all the users, tabl
-
hai all, i am new to XML. I have the requirement like I have a tree structure with parent and child It goes upto 30000 records. User enters the text and presses submit button the coresponding text has to be searched in the tree structure and that has
-
Non-Destructive Lighting Effects in Photoshop Touch | Learn Photoshop Touch | Adobe TV
Add dramatic lighting effects to your Photoshop Touch images non-destructively. Russell Brown demonstrates a technique for adding lighting to your image using a separate layer – thus allowing for infinite edits. http://adobe.ly/AmWZ7t
-
hallo. mit einem mal blinkte heut morgen meine timecapsule4G gelb. ohne das ich etwas Mächte blinkte zum Nachmittag hin dann auch noch meine Express1G. das einzige was noch geht ist die Express2G. die leuchtet grün und kann mit iPad und iphone Intern
-
I have uploaded video from my iPhone 4S into my pc laptop. When I click on the video I wish to view the audio plays but not the video...