java.lang.RuntimeException: Error invoking function: initializeCrud with parameters: [Ljava.lang.Object;@71bfa007

Google Groups | paul william ford | 5 years 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

    Spring Scaffolding within MyEclipse to GAE / J connecting to Google Cloud SQL

    Google Groups | 5 years ago | paul william ford
    java.lang.RuntimeException: Error invoking function: initializeCrud with parameters: [Ljava.lang.Object;@71bfa007

    1 unregistered visitors

    Root Cause Analysis

    1. java.sql.SQLException

      No database selected

      at com.google.cloud.sql.jdbc.internal.Exceptions.newSqlException()
    2. Google AppEngine
      PreparedStatement.executeQuery
      1. com.google.cloud.sql.jdbc.internal.Exceptions.newSqlException(Exceptions.java:208)
      2. com.google.cloud.sql.jdbc.internal.SqlProtoClient.check(SqlProtoClient.java:198)
      3. com.google.cloud.sql.jdbc.internal.SqlProtoClient.executeSql(SqlProtoClient.java:87)
      4. com.google.cloud.sql.jdbc.internal.SqlProtoClient.executeSql(SqlProtoClient.java:76)
      5. com.google.cloud.sql.jdbc.Connection.executeSql(Connection.java:520)
      6. com.google.cloud.sql.jdbc.PreparedStatement.executeSqlImpl(PreparedStatement.java:141)
      7. com.google.cloud.sql.jdbc.Statement.executeImpl(Statement.java:154)
      8. com.google.cloud.sql.jdbc.Statement.executeQuery(Statement.java:327)
      9. com.google.cloud.sql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:128)
      10. com.google.cloud.sql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:57)
      10 frames
    3. Hibernate Tools
      JDBCReader.readDatabaseSchema
      1. org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect.getTableResultSet(OracleMetaDataDialect.java:667)
      2. org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect.getTables(OracleMetaDataDialect.java:221)
      3. org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
      4. org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
      5. org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:860)
      5 frames
    4. Hibernate
      JDBCMetaDataConfiguration.readFromJDBC
      1. org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:121)
      2. org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)
      3. org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:42)
      3 frames
    5. org.skyway.integration
      TableDataTypeInputProvider.getDataTypes
      1. org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.createJDBCConfiguration(HibernateModelGenerator.java:227)
      2. org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.generateModel(HibernateModelGenerator.java:96)
      3. org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.generateDataTypes(TableDataTypeInputProvider.java:208)
      4. org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.getDataTypes(TableDataTypeInputProvider.java:73)
      4 frames
    6. com.skyway.scaffolding
      ContextAwareCrudFunctions.initializeCrud
      1. com.skyway.scaffolding.crud.datatype.FilteredDataTypeInputProvider.getDataTypes(FilteredDataTypeInputProvider.java:33)
      2. com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.getDataTypes(ContextAwareCrudFunctions.java:181)
      3. com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.initializeCrud(ContextAwareCrudFunctions.java:55)
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. org.skyway.core
      GenerationJob$1.run
      1. org.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:94)
      2. org.skyway.core.generate.snippet.function.FunctionSnippetExpression.evaluate(FunctionSnippetExpression.java:26)
      3. org.skyway.core.generate.snippet.SnippetRegistry.evaluate(SnippetRegistry.java:88)
      4. org.skyway.core.generate.snippet.SnippetRegistry.getObjectAttribute(SnippetRegistry.java:99)
      5. org.skyway.core.generate.generator.invoke.InvokeSnippetGenerator.generate(InvokeSnippetGenerator.java:24)
      6. org.skyway.core.generate.generator.DescendantGenerator.generateChild(DescendantGenerator.java:28)
      7. org.skyway.core.generate.generator.DescendantGenerator.generateChildren(DescendantGenerator.java:21)
      8. org.skyway.core.generate.generator.DescendantGenerator.generate(DescendantGenerator.java:14)
      9. org.skyway.core.generate.generator.control.ResourceGenerator.generate(ResourceGenerator.java:19)
      10. org.skyway.core.generate.execute.GenerationJob.generate(GenerationJob.java:115)
      11. org.skyway.core.generate.execute.GenerationJob$1.run(GenerationJob.java:59)
      11 frames
    9. Core Resource Management
      Workspace.run
      1. org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
      1 frame
    10. org.skyway.core
      GenerationJob.run
      1. org.skyway.core.generate.execute.GenerationJob.run(GenerationJob.java:55)
      1 frame
    11. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame