• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.InstantiationError:

 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 381
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for u r replay
 
punna Kumar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic