Could not position within a table
Posted in 2017
Topics: Error Codes & Troubleshooting, Connectivity: ODBC / JDBC / .NET, Java & JDBC Development
Dear Friends, Since one year we are facing the below issue which cant be able to find the root cause. Please help on this. Informix: 12.10 FC8 OS: Windows 2012 R2. Application : Java 1.6 Issue 1: NEURA_BIACH [09 Oct 2017 09:14:23: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Could not position within a table (neura_biahmis_prod_live.inventory_batch_tbl). NEURA_BIACH [09 Oct 2017 09:14:23: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : ISAM error: Lock Timeout Expired NEURA_BIACH [09 Oct 2017 09:14:23: ERROR : org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(Abstract FlushingEventListener.java:301)] : Could not synchronize database state with session org.hibernate.exception.GenericJDBCException: could not update: [com.cgsl.neura.bean.InventoryBatchTbl#component[materialDocumentId,batchNo,msMa tServiceHeaderSpTbl,masterStoreTbl]{msMatServiceHeaderSpTbl=com.cgsl.neura.bean. MsMatServiceHeaderSpTbl#004198, batchNo=7180157, masterStoreTbl=com.cgsl.neura.bean.MasterStoreTbl#1004, materialDocumentId=GDSR035403}] Issue 2: NEURA_BIACH [09 Oct 2017 10:28:23: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 10:28:23: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 10:29:18: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 10:29:18: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 10:29:18: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 10:44:54: ERROR : org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:192)] : Request[/doctorWorkListAction] does not contain handler parameter named 'dispatch'. This may be caused by whitespace in the label text. NEURA_BIACH [09 Oct 2017 10:53:32: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 10:53:32: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 10:53:32: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 10:55:37: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 10:55:37: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 10:55:37: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 10:59:24: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 10:59:24: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 10:59:24: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 11:00:38: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 11:00:38: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 11:00:38: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 11:02:02: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 11:02:02: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted. NEURA_BIACH [09 Oct 2017 11:02:02: ERROR : com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth(LabInterFaceDAO.java:14 88)] : org.hibernate.exception.GenericJDBCException: could not execute query NEURA_BIACH [09 Oct 2017 11:37:10: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart-large-object error. NEURA_BIACH [09 Oct 2017 11:37:10: ERROR : org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.jav a:78)] : Smart Large Objects: open: Bad smart-large-object address. Object might have been deleted.
Two different and likely unrelated problems.
For the first problem: onmode -I 154 might give you more clues (see
https://www.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com.ibm.adref.doc/ids_
adr_0666.htm
)
-> "Lock Timeout Expired" (error # 154) is your problem, i.e. some
(application?) activity holding some lock for longer than your below Java
application is willing/configured to wait.
-> not an Informix problem typically
For the second problem ("Smart Large Objects: open: Bad smart-large-object
address. Object might have been deleted.") things might be more complicated
(warranting a support PMR), yet in essence the same technique could be
applied for obtaining more information around the problem.
Relevant error number probably is 12097, so 'onmode -I 12097' would be the
command.
Would you know if this applies to specific smart large objects (BLOB or
CLOB data type columns most likely, in table being worked on), so a real
data corruption had to be assumed? Or is this more of a transient problem?
BR,
Andreas
From: "MUKESH TANUKU" <mukeshbt1328@gmail.com>
To: ids@iiug.org
Date: 10/09/2017 11:14 AM
Subject: Could not position within a table [40031]
Sent by: ids-bounces@iiug.org
Dear Friends,
Since one year we are facing the below issue which cant be able to find the
root cause. Please help on this.
Informix: 12.10 FC8
OS: Windows 2012 R2.
Application : Java 1.6
Issue 1:
NEURA_BIACH [09 Oct 2017 09:14:23: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Could not position within a table
(neura_biahmis_prod_live.inventory_batch_tbl).
NEURA_BIACH [09 Oct 2017 09:14:23: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: ISAM error: Lock Timeout Expired
NEURA_BIACH [09 Oct 2017 09:14:23: ERROR :
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions
(AbstractFlushingEventListener.java:301)]
: Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not update:
[com.cgsl.neura.bean.InventoryBatchTbl#component
[materialDocumentId,batchNo,msMatServiceHeaderSpTbl,masterStoreTbl]{msMatService
HeaderSpTbl=com.cgsl.neura.bean.MsMatServiceHeaderSpTbl#004198,
batchNo=7180157, masterStoreTbl=com.cgsl.neura.bean.MasterStoreTbl#1004,
materialDocumentId=GDSR035403}]
Issue 2:
NEURA_BIACH [09 Oct 2017 10:28:23: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 10:28:23: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 10:29:18: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 10:29:18: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 10:29:18: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 10:44:54: ERROR :
org.apache.struts.actions.DispatchAction.unspecified
(DispatchAction.java:192)]
: Request[/doctorWorkListAction] does not contain handler parameter named
'dispatch'. This may be caused by whitespace in the label text.
NEURA_BIACH [09 Oct 2017 10:53:32: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 10:53:32: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 10:53:32: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 10:55:37: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 10:55:37: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 10:55:37: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 10:59:24: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 10:59:24: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 10:59:24: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 11:00:38: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 11:00:38: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 11:00:38: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 11:02:02: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 11:02:02: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
NEURA_BIACH [09 Oct 2017 11:02:02: ERROR :
com.cgsl.neura.clinical.LabInterFaceDAO.searchResultAuth
(LabInterFaceDAO.java:1488)]
: org.hibernate.exception.GenericJDBCException: could not execute query
NEURA_BIACH [09 Oct 2017 11:37:10: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart-large-object error.
NEURA_BIACH [09 Oct 2017 11:37:10: ERROR :
org.hibernate.util.JDBCExceptionReporter.logExceptions
(JDBCExceptionReporter.java:78)]
: Smart Large Objects: open: Bad smart-large-object address. Object might
have
been deleted.
***********************************************************************
Thanks for your response. What about this error, "Could not position within a table". What is the reason for getting the issue.
This is just the more superficial and consequential error for "Lock Timeout Expired": trying to access a row, you've got to wait on a lock until this times out, so you can't get to the row - that's what this "Could not position ..." is telling. From: "MUKESH TANUKU" <mukeshbt1328@gmail.com> To: ids@iiug.org Date: 10/10/2017 08:10 AM Subject: Re: Could not position within a table [40040] Sent by: ids-bounces@iiug.org Thanks for your response. What about this error, "Could not position within a table". What is the reason for getting the issue. ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.