java.io.IOException: java.sql.SQLException: ORA-22922: nonexistent LOB value

GitHub | sanaulla123 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Should I expect this ORA-22922 from the 11g driver?

    Oracle Community | 9 years ago | 414247
    java.sql.SQLException: ORA-22922: nonexistent LOB value
  2. 0

    java.sql.SQLException: No value specified for parameter 1解决办法_IT知识问答_希赛网

    educity.cn | 2 years ago
    java.sql.SQLException: No value specified for parameter 1 代码如下 public boolean login(UserInfo user)throws Exception{ //用户登录 boolean flag=false; int userNo=Integer.parseInt(user.getUserNo()); String password=user.getPassword(); //测试是否从现在的user对象中取到了值 System.out.println(userNo+"我是USER对象的userNo"); System.out.println(password+"我是USER对象的password"); DatabaseConnection dbc=new DatabaseConnection();//取得数据库连接和关闭对象; try{ String sql="SELECT userNo FROM userInfo where userNo= and password= "; this.conn=dbc.getConnection(); this.pst=conn.prepareStatement(sql); //this.pst.setInt(1, userNo);//给sql中参数赋值 this.pst.setLong(1, userNo); this.pst.setString(2, password); ResultSet rs=pst.executeQuery(); if(rs.next()){//传入用户账号和对应的密码都存在时为真 flag=true; System.out.println(rs.getString(userNo)+"我是从数据库里取出来的"); System.out.print(flag+"测试flag");//测试flag,看是否进入了if里面,true则进入了 rs.close(); } }catch(Exception e){ e.printStackTrace(); }finally{ if(this.pst!=null){ this.pst.close(); } this.conn.close(); } return flag; } 报的错误信息如:
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.sql.SQLException: No suitable driver - Toolbox for IT Groups

    ittoolbox.com | 8 months ago
    java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager .java:545) at java.sql.DriverManager.getConnection(DriverManager .java:171) at com.stc.sql.framework.jdbc.DBConnectionFactory.cre ateConnection(DBConnectionFactory.java:372) at com.stc.sql.framework.jdbc.DBConnectionFactory.get Connection(DBConnectionFactory.java:281) at com.stc.etl.engine.impl.SimpleTask.getConnection(S impleTask.java:254) at com.stc.etl.engine.impl.Extractor.getSelectData(Ex tractor.java:376) at com.stc.etl.engine.impl.Extractor.process(Extracto r.java:190) at com.stc.etl.engine.impl.ETLTaskThread.run(ETLTaskT hread.java:147)
  5. 0

    1 more error - Java Programming Help - KnowCoding.com

    knowcoding.com | 2 years ago
    java.sql.SQLException: Protocol violation at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:179) at oracle.jdbc.dbaccess.DBError.check_error(DBError.j ava:1160) at oracle.jdbc.ttc7.Ocommoncall.receive(Ocommoncall.j ava:149) at oracle.jdbc.ttc7.TTC7Protocol.rollback(TTC7Protoco l.java:488) at oracle.jdbc.driver.OracleConnection.rollback(Oracl eConnection.java:1412) at net.sf.hibernate.transaction.JDBCTransaction.rollb ack(JDBCTransaction.java:86) at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:90) at com.azure.spark.database.hibernate.util.HibernateU til.doSessionWork(HibernateUtil.java:59) at com.azure.spark.database.hibernate.util.HibernateU til.get(HibernateUtil.java:569) at com.azure.spark.database.hibernate.util.HibernateS ession.get(HibernateSession.java:340) at com.azure.spark.taskcontroller.TaskControllerCompo nent.taskCompleted(TaskControllerComponent.java:11 54) at com.azure.spark.taskcontroller.TaskControllerCompo nent.onTaskEvent(TaskControllerComponent.java:1111 ) at com.azure.spark.taskcontroller.tasks.AbstractTaskC omponent.run(AbstractTaskComponent.java:354)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      ORA-22922: nonexistent LOB value

      at oracle.jdbc.driver.T4CTTIoer.processError()
    2. Oracle jdbc
      CLOB.free
      1. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      2. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      3. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      4. oracle.jdbc.driver.T4C8TTILob.processError(T4C8TTILob.java:792)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      5. oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      6. oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      7. oracle.jdbc.driver.T4C8TTILob.freeTemporaryLob(T4C8TTILob.java:297)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      8. oracle.jdbc.driver.T4CConnection.freeTemporary(T4CConnection.java:3429)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      9. oracle.sql.CLOB.freeTemporary(CLOB.java:1044)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      10. oracle.sql.CLOB.free(CLOB.java:1823)[ojdbc6-11.2.0.jar:11.2.0.3.0]
      10 frames
    3. org.xbib.elasticsearch
      StandardContext.execute
      1. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.parseType(StandardSource.java:1510)[elasticsearch-jdbc-2.3.1.0.jar:?]
      2. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.processRow(StandardSource.java:1102)[elasticsearch-jdbc-2.3.1.0.jar:?]
      3. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.nextRow(StandardSource.java:1065)[elasticsearch-jdbc-2.3.1.0.jar:?]
      4. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.merge(StandardSource.java:801)[elasticsearch-jdbc-2.3.1.0.jar:?]
      5. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.execute(StandardSource.java:689)[elasticsearch-jdbc-2.3.1.0.jar:?]
      6. org.xbib.elasticsearch.jdbc.strategy.standard.StandardSource.fetch(StandardSource.java:597)[elasticsearch-jdbc-2.3.1.0.jar:?]
      7. org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext.fetch(StandardContext.java:191)[elasticsearch-jdbc-2.3.1.0.jar:?]
      8. org.xbib.elasticsearch.jdbc.strategy.standard.StandardContext.execute(StandardContext.java:166)[elasticsearch-jdbc-2.3.1.0.jar:?]
      8 frames
    4. org.xbib.tools
      JDBCImporter.newRequest
      1. org.xbib.tools.JDBCImporter.process(JDBCImporter.java:199)[elasticsearch-jdbc-2.3.1.0.jar:?]
      2. org.xbib.tools.JDBCImporter.newRequest(JDBCImporter.java:185)[elasticsearch-jdbc-2.3.1.0.jar:?]
      3. org.xbib.tools.JDBCImporter.newRequest(JDBCImporter.java:51)[elasticsearch-jdbc-2.3.1.0.jar:?]
      3 frames
    5. org.xbib.pipeline
      AbstractPipeline.call
      1. org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:50)[elasticsearch-jdbc-2.3.1.0.jar:?]
      2. org.xbib.pipeline.AbstractPipeline.call(AbstractPipeline.java:16)[elasticsearch-jdbc-2.3.1.0.jar:?]
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91]
      4. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      4 frames