aspose file tools*
The moose likes JDBC and the fly likes java.lang.InstantiationError: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.lang.InstantiationError:" Watch "java.lang.InstantiationError:" New topic
Author

java.lang.InstantiationError:

punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Hi,
i am getting error when i try to run the procedure from my java program please help me.


java.lang.InstantiationError: oracle.jdbc.driver.OracleCallableStatement
at oracle.jdbc.driver.OracleConnection.privatePrepareCall(OracleConnection.java:1210)
at oracle.jdbc.driver.OracleConnection.prepareCall(OracleConnection.java:1094)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareCall(WSJdbcConnection.java:1431)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareCall(WSJdbcConnection.java:1399)
at CommonDAO.prepareCall(Unknown Source)
at TestProcedureDAO.CheckFlag(Unknown Source)


Regads
RaviKumar
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Yoinks! That is not a good error. Something has gone badly wrong here. Possibly you tried something bad like feeding a null into prepareCall? Please put some debugging statements around the offending code so that you can find out exactly what code the problem originates in and what yu are doing at the time.

On the one hand this kind of error is a driver failure in that it should not be throwing that type of exception.... but ultimatley placing blame won't actually help you get your problem resolved. So gather more information about where the problem is happening and what you are doing in your code when it happens.
punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
Thanks for u r replay
punna Kumar
Ranch Hand

Joined: Feb 28, 2005
Posts: 80
thanks for ur replay

this error is happening when ever i am calling stored procedure.and one more thing it's not happening frequently,some times it's happening and some times it's not happening

i am useing WAS 5.1.1.5 version and rsadapter.jar file for connection.

could you please help me out?

this is codeing error or driver mis match error


waiting for ur Quick Replay

thanks for ur assistance

punna
 
Consider Paul's rocket mass heater.
 
subject: java.lang.InstantiationError:
 
Similar Threads
Protocol Violation
DB Error
Java Oracle Connectivity (JDBC:ODBC)
What are these JVM Errors??
JDBC connection to Oracle 8.0.5