java.sql.SQLException: No current record

Data Science | Helgster | 4 months ago
  1. 0

    Connecting to OrientDB from Spark in Java

    Data Science | 4 months ago | Helgster
    java.sql.SQLException: No current record
  2. 0

    Running Liquibase 3.0.2 on Informix fails. The same execution with Liquibase 2.0.5 works... jdbc-url: jdbc:informix-sqli://<server>:<port>/<database>:INFORMIXSERVER=<informix-server>;DB_LOCALE=en_us.utf8;GL_DATE=Y4MD-;DBDATE=Y4MD-; INFO 17.07.13 10:42:liquibase: Successfully released change log lock SEVERE 17.07.13 10:42:liquibase: Unable to release lock: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission. [ERROR] java.sql.SQLException: Database not found or no system permission. liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission. at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:45) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:59) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:75) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:128) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:139) at liquibase.snapshot.SnapshotGeneratorFactory.getDatabaseChangeLogTable(SnapshotGeneratorFactory.java:146) at liquibase.database.core.InformixDatabase.checkDatabaseChangeLogTable(InformixDatabase.java:191) at liquibase.Liquibase.checkDatabaseChangeLogTable(Liquibase.java:602) at liquibase.Liquibase.forceReleaseLocks(Liquibase.java:640) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.cleanup(AbstractLiquibaseMojo.java:475) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:331) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.sql.SQLException: Database not found or no system permission. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:397) at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3244) at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3553) at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2380) at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2295) at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1461) at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1434) at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:205) at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228) at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:243) at com.informix.jdbc.IfxDatabaseMetaData.getTables(IfxDatabaseMetaData.java:2967) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getTables(JdbcDatabaseSnapshot.java:173) at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:33) ... 44 more Caused by: java.sql.SQLException: ISAM error: no record found. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:397) at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3558) ... 54 more

    JIRA | 3 years ago | Björn Engel
    liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission.
  3. 0

    Running Liquibase 3.0.2 on Informix fails. The same execution with Liquibase 2.0.5 works... jdbc-url: jdbc:informix-sqli://<server>:<port>/<database>:INFORMIXSERVER=<informix-server>;DB_LOCALE=en_us.utf8;GL_DATE=Y4MD-;DBDATE=Y4MD-; INFO 17.07.13 10:42:liquibase: Successfully released change log lock SEVERE 17.07.13 10:42:liquibase: Unable to release lock: liquibase.exception.UnexpectedLiquibaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission. [ERROR] java.sql.SQLException: Database not found or no system permission. liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission. at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:45) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:59) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:62) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:42) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:75) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:128) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:139) at liquibase.snapshot.SnapshotGeneratorFactory.getDatabaseChangeLogTable(SnapshotGeneratorFactory.java:146) at liquibase.database.core.InformixDatabase.checkDatabaseChangeLogTable(InformixDatabase.java:191) at liquibase.Liquibase.checkDatabaseChangeLogTable(Liquibase.java:602) at liquibase.Liquibase.forceReleaseLocks(Liquibase.java:640) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.cleanup(AbstractLiquibaseMojo.java:475) at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:331) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.sql.SQLException: Database not found or no system permission. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:397) at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3244) at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3553) at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2380) at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2295) at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1461) at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1434) at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:205) at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228) at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:243) at com.informix.jdbc.IfxDatabaseMetaData.getTables(IfxDatabaseMetaData.java:2967) at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getTables(JdbcDatabaseSnapshot.java:173) at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:33) ... 44 more Caused by: java.sql.SQLException: ISAM error: no record found. at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:397) at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3558) ... 54 more

    JIRA | 3 years ago | Björn Engel
    liquibase.exception.DatabaseException: java.sql.SQLException: Database not found or no system permission.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    sqoop 1.99.5 installation error - not able to access JDBC connector for mysql 5.6 ( hadoop 2.4.1 cluster running on Ubuntu nodes)

    Stack Overflow | 2 years ago
    org.apache.sqoop.common.SqoopException: JDBCREPO_0009:Failed to finalize transaction
  6. 0

    GitHub comment 130#179522182

    GitHub | 10 months ago | lukeberry15
    java.sql.SQLNonTransientConnectionException: No current connection.

    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

      No current record

      at com.orientechnologies.orient.jdbc.OrientJdbcResultSetMetaData.getCurrentRecord()
    2. com.orientechnologies.orient
      OrientJdbcResultSetMetaData.getColumnCount
      1. com.orientechnologies.orient.jdbc.OrientJdbcResultSetMetaData.getCurrentRecord(OrientJdbcResultSetMetaData.java:202)
      2. com.orientechnologies.orient.jdbc.OrientJdbcResultSetMetaData.getColumnCount(OrientJdbcResultSetMetaData.java:84)
      2 frames
    3. org.apache.spark
      JDBCRelation.<init>
      1. org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:130)
      2. org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation.<init>(JDBCRelation.scala:117)
      2 frames