Home arrow static arrow Java Programming [Archive] - java.sql.SQLException: Io exception: Bad packet type
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - java.sql.SQLException: Io exception: Bad packet type
This topic has 2 replies on 1 page.

Posts:266
Registered: 2/27/04
java.sql.SQLException: Io exception: Bad packet type  
Jul 14, 2004 1:48 PM



 
Has anyone ever seen this message before or know what the cause is?

I am getting the following error when trying to execute some code with resultset processing.

SQL Exception : java.sql.SQLException: Io exception: Bad packet type
java.lang.NullPointerException
at mainTest.main(mainTest.java:93)
Exception in thread "main" 

The error occurs in the following line of code.
stmt = retCon.prepareStatement(sql);

 

Posts:556
Registered: 12/16/98
Re: java.sql.SQLException: Io exception: Bad packet type  
Jul 14, 2004 2:44 PM (reply 1 of 2)



 
I am assuming you are using Oracle???? What version are you using?
 

Posts:3,258
Registered: 00-08-28
Re: java.sql.SQLException: Io exception: Bad packet type  
Jul 14, 2004 6:45 PM (reply 2 of 2)



 
http://www.websina.com/bugzero/kb/oracle-connection.html
 
This topic has 2 replies on 1 page.