Lob read/write functions called while another read/write is in progress: getBytes() [message #634192] |
Thu, 05 March 2015 08:31 |
|
gary.d
Messages: 2 Registered: March 2015
|
Junior Member |
|
|
I occur the SQLException as below that throwed by Oracle jdbc driver in our app. I think the exception is a internal exception of oracle.
How to avoid the exception in my app, who knows? The issue has confused me for a long time, I am crazing!
If anybody knows, please tell me, thanks a lot!
ENV:Oracle 11.2.0.3+JDK1.7+Hibernate(4.1.9 final)+C3p0(0.9.5)+Ojdbc6(11.2.0.2)
-----------------------------------------------------------
java.io.IOException: Lob read/write functions called while another read/write is in progress: getBytes()
java.io.IOException: Lob read/write functions called while another read/write is in progress: getBytes()
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:412)
at oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.java:461)
at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:408)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:2873)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:664)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:102)
at java.util.XMLUtils.load(XMLUtils.java:74)
at java.util.Properties.loadFromXML(Properties.java:868)
at onlyTest.BlobOperator$AutoBLWOExecutionThread.run(BlobOperator.java:224)
Caused by: java.sql.SQLException: Lob read/write functions called while another read/write is in progress: getBytes()
at oracle.jdbc.driver.T4CConnection.getBytes(T4CConnection.java:4167)
at oracle.sql.BLOB.getBytes(BLOB.java:685)
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:372)
|
|
|
|
|
|
|