Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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
Sheriff
Posts: 24215
37
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!