This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 204770

Summary: java.sql.SQLException: Protocol violation
Product: db Reporter: Maksim Khramov <mkhramov>
Component: DB schemaAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182655
Attachments: stacktrace

Description Maksim Khramov 2011-11-07 13:37:18 UTC
Build: NetBeans IDE Dev (Build 201110300600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: Windows 7

Stacktrace: 
java.sql.SQLException: Protocol violation
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
   at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:764)
   at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
   at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:790)
Comment 1 Maksim Khramov 2011-11-07 13:37:21 UTC
Created attachment 112922 [details]
stacktrace
Comment 2 Jiri Rechtacek 2011-11-09 17:06:21 UTC
I think the root problem is OCI driver was not installed properly, look
java.sql.SQLException: OALL8 is in an inconsistent state
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
	at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:352)
	at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:202)
thus all further calling to native driver ended in invalid state.