• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Invalid Packet length" Error

 
Balaji Natarajan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this exception while executing this statement
in.read(buffer,0,length);
where "in" is "InputStream"
java.io.IOException: Io exception: Invalid Packet Lenght
at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStr
eam.java:249)
at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.jav
a:163)

What could be the reason for this. Please help me in resolving this.
Thanks
Balaji
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like an Oracle JDBC drivr bug or gotcha; moving to JDBC forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic