Description

    com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
    	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:600)
    	at com.liferay.change.tracking.service.persistence.impl.CTSchemaVersionPersistenceImpl.findAll(CTSchemaVersionPersistenceImpl.java:1012)
    	at com.liferay.change.tracking.service.persistence.impl.CTSchemaVersionPersistenceImpl.findAll(CTSchemaVersionPersistenceImpl.java:929)
    	at com.liferay.change.tracking.service.persistence.impl.CTSchemaVersionPersistenceImpl.findAll(CTSchemaVersionPersistenceImpl.java:893)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.liferay.portal.kernel.test.ReflectionTestUtil.invoke(ReflectionTestUtil.java:221)
    	at com.liferay.portal.kernel.test.rule.DataGuardTestRule.lambda$_captureDataMap$0(DataGuardTestRule.java:343)
    	at com.liferay.portal.spring.transaction.BaseTransactionExecutor.execute(BaseTransactionExecutor.java:37)
    	at com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:39)
    	at com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:28)
    	at com.liferay.portal.kernel.test.rule.DataGuardTestRule._captureDataMap(DataGuardTestRule.java:333)
    	at com.liferay.portal.kernel.test.rule.DataGuardTestRule.beforeClass(DataGuardTestRule.java:156)
    	at com.liferay.portal.kernel.test.rule.DataGuardTestRule.beforeClass(DataGuardTestRule.java:73)
    	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:54)
    	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
    	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
    	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
    	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
    	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
    	at java.lang.Thread.run(Thread.java:745)
    Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not execute query
    	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:39)
    	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:124)
    	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:104)
    	at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:61)
    	at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:53)
    	at com.liferay.change.tracking.service.persistence.impl.CTSchemaVersionPersistenceImpl.findAll(CTSchemaVersionPersistenceImpl.java:1002)
    	... 21 more
    Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
    	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
    	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    	at org.hibernate.loader.Loader.doList(Loader.java:2545)
    	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
    	at org.hibernate.loader.Loader.list(Loader.java:2271)
    	at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:940)
    	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
    	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
    	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
    	at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:112)
    	... 25 more
    Caused by: com.sybase.jdbc4.jdbc.SybSQLException: CTSchemaVersion not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).
    
    	at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4003)
    	at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3093)
    	at com.sybase.jdbc4.jdbc.ResultGetter.nextResult(ResultGetter.java:78)
    	at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:289)
    	at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:271)
    	at com.sybase.jdbc4.jdbc.SybStatement.queryLoop(SybStatement.java:2408)
    	at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(SybStatement.java:2394)
    	at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeQuery(SybPreparedStatement.java:258)
    	at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
    	at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
    	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
    	at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
    	at org.hibernate.loader.Loader.doQuery(Loader.java:802)
    	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
    	at org.hibernate.loader.Loader.doList(Loader.java:2542)
    	... 32 more
    

      Attachments

        Activity

          People

          Assignee:
          linda.sui Linda Sui
          Reporter:
          linda.sui Linda Sui
          Participants of an Issue:
          Recent user:
          Rafaela Nascimento
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            22 weeks, 1 day ago

              Packages

              Version Package
              Master