[JIRA] (HSEARCH-4670) Fix flaky test org.hibernate.search.integrationtest.mapper.orm.massindexing.MassIndexingErrorCustomBackgroundFailureHandlerIT(default-default-database-oracle)
by Yoann Rodière (JIRA)
Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%... ) *updated* an issue
Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiODIyYTk3... ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-4670?atlOrigin=eyJpIjoiODI... ) HSEARCH-4670 ( https://hibernate.atlassian.net/browse/HSEARCH-4670?atlOrigin=eyJpIjoiODI... ) Fix flaky test org.hibernate.search.integrationtest.mapper.orm.massindexing.MassIndexingErrorCustomBackgroundFailureHandlerIT(default-default-database-oracle) ( https://hibernate.atlassian.net/browse/HSEARCH-4670?atlOrigin=eyJpIjoiODI... )
Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%... )
See [https://ci.hibernate.org/blue/organizations/jenkins/hibernate-search/deta...]
, [https://ci.hibernate.org/blue/organizations/jenkins/hibernate-search/deta...]
{noformat}Error
No interactions wanted here:
-> at org.hibernate.search.integrationtest.mapper.orm.massindexing.MassIndexingErrorCustomBackgroundFailureHandlerIT.assertNoFailureHandling(MassIndexingErrorCustomBackgroundFailureHandlerIT.java:46)
But found these interactions on mock 'failureHandler':
-> at org.hibernate.search.engine.reporting.impl.FailSafeFailureHandlerWrapper.handle(FailSafeFailureHandlerWrapper.java:30)
Actually, above is the only interaction with this mock.
Stacktrace
org.mockito.exceptions.verification.NoInteractionsWanted:
No interactions wanted here:
-> at org.hibernate.search.integrationtest.mapper.orm.massindexing.MassIndexingErrorCustomBackgroundFailureHandlerIT.assertNoFailureHandling(MassIndexingErrorCustomBackgroundFailureHandlerIT.java:46)
But found these interactions on mock 'failureHandler':
-> at org.hibernate.search.engine.reporting.impl.FailSafeFailureHandlerWrapper.handle(FailSafeFailureHandlerWrapper.java:30)
Actually, above is the only interaction with this mock.
at org.hibernate.search.integrationtest.mapper.orm.massindexing.MassIndexingErrorCustomBackgroundFailureHandlerIT.assertNoFailureHandling(MassIndexingErrorCustomBackgroundFailureHandlerIT.java:46)
at org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT.entityLoading(AbstractMassIndexingErrorIT.java:122)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.hibernate.search.util.impl.integrationtest.common.rule.BackendMock$1.evaluate(BackendMock.java:52)
at org.hibernate.search.util.impl.integrationtest.common.rule.MappingSetupHelper$1.evaluate(MappingSetupHelper.java:74)
at org.hibernate.search.util.impl.integrationtest.common.TestConfigurationProvider$1.evaluate(TestConfigurationProvider.java:45)
at org.hibernate.search.util.impl.integrationtest.common.rule.ThreadSpy$1.evaluate(ThreadSpy.java:42)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
Standard Output
09:51:13,050 (main) INFO SimpleSessionFactoryBuilder:47 - Not setting the property with key 'hibernate.search.coordination.strategy' because value is null.
09:51:13,050 (main) WARN CachingRegionFactory:48 - org.hibernate.testing.cache.CachingRegionFactory should be only used for testing.
09:51:13,051 (main) WARN pooling:75 - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
09:51:13,051 (main) INFO pooling:119 - HHH10001005: using driver [oracle.jdbc.OracleDriver] at URL [jdbc:oracle:thin:@localhost:1521/XE]
09:51:13,051 (main) INFO pooling:128 - HHH10001001: Connection properties: {password=****, user=SYSTEM}
09:51:13,051 (main) INFO pooling:132 - HHH10001003: Autocommit mode: false
09:51:13,051 (main) INFO DriverManagerConnectionProviderImpl:322 - HHH000115: Hibernate connection pool size: 31 (min=1)
09:51:13,066 (main) INFO Dialect:175 - HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
09:51:13,069 (main) INFO HibernateSearchPreIntegrationService:91 - HSEARCH000034: Hibernate Search version 6.2.0-SNAPSHOT
09:51:13,074 (main) INFO access:48 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@1a049419] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
09:51:13,075 (main) WARN ExceptionHandlerLoggedImpl:27 - GenerationTarget encountered exception accepting command : Error executing DDL "drop table Book cascade constraints" via JDBC Statement
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table Book cascade constraints" via JDBC Statement
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:387) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlStrings(SchemaDropperImpl.java:371) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.dropFromMetadata(SchemaDropperImpl.java:246) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.performDrop(SchemaDropperImpl.java:156) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:128) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.internal.SchemaDropperImpl.doDrop(SchemaDropperImpl.java:114) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:157) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:85) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:335) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
at org.hibernate.search.util.impl.integrationtest.mapper.orm.SimpleSessionFactoryBuilder.build(SimpleSessionFactoryBuilder.java:124) ~[hibernate-search-util-internal-integrationtest-mapper-orm-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.mapper.orm.OrmSetupHelper$SetupContext.build(OrmSetupHelper.java:204) ~[hibernate-search-util-internal-integrationtest-mapper-orm-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.mapper.orm.OrmSetupHelper$SetupContext.build(OrmSetupHelper.java:138) ~[hibernate-search-util-internal-integrationtest-mapper-orm-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.common.rule.MappingSetupHelper$AbstractSetupContext.setup(MappingSetupHelper.java:174) ~[hibernate-search-util-internal-integrationtest-common-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.mapper.orm.OrmSetupHelper$SetupContext.setup(OrmSetupHelper.java:194) ~[hibernate-search-util-internal-integrationtest-mapper-orm-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT.setup(AbstractMassIndexingErrorIT.java:500) ~[test-classes/:?]
at org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT.entityLoading(AbstractMassIndexingErrorIT.java:93) ~[test-classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) ~[junit-4.13.2.jar:4.13.2]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) ~[junit-4.13.2.jar:4.13.2]
at org.mockito.internal.junit.JUnitSessionStore$1.evaluateSafely(JUnitSessionStore.java:55) ~[mockito-core-4.6.1.jar:?]
at org.mockito.internal.junit.JUnitSessionStore$1.evaluate(JUnitSessionStore.java:43) ~[mockito-core-4.6.1.jar:?]
at org.hibernate.search.util.impl.integrationtest.common.rule.BackendMock$1.evaluate(BackendMock.java:52) ~[hibernate-search-util-internal-integrationtest-common-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.common.rule.MappingSetupHelper$1.evaluate(MappingSetupHelper.java:74) ~[hibernate-search-util-internal-integrationtest-common-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.common.TestConfigurationProvider$1.evaluate(TestConfigurationProvider.java:45) ~[hibernate-search-util-internal-integrationtest-common-6.2.0-SNAPSHOT.jar:?]
at org.hibernate.search.util.impl.integrationtest.common.rule.ThreadSpy$1.evaluate(ThreadSpy.java:42) ~[hibernate-search-util-internal-integrationtest-common-6.2.0-SNAPSHOT.jar:?]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.Suite.runChild(Suite.java:128) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.Suite.runChild(Suite.java:27) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2]
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2]
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158) ~[surefire-junit47-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) ~[surefire-booter-3.0.0-M7.jar:3.0.0-M7]
Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:629) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:563) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1150) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:770) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:298) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:497) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1010) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.executeSQLStatement(OracleStatement.java:1530) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1310) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2162) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2117) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:327) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
... 62 more
Caused by: oracle.jdbc.OracleDatabaseException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:636) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:563) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1150) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:770) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:298) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:497) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1010) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.executeSQLStatement(OracleStatement.java:1530) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1310) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2162) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2117) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:327) ~[ojdbc8-21.6.0.0.1.jar:21.6.0.0.1]
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:54) ~[hibernate-core-5.6.10.Final.jar:5.6.10.Final]
... 62 more
09:51:13,076 (main) INFO access:48 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4f87b2e0] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
09:51:13,083 (main) INFO JtaPlatformInitiator:52 - HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.JBossStandAloneJtaPlatform]
09:51:13,085 (main) DEBUG PojoMapper:179 - HSEARCH700018: Detected entity types: [HibernateOrmClassRawTypeModel[org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book]], indexed types: [HibernateOrmClassRawTypeModel[org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book]], initial mapped types: [HibernateOrmClassRawTypeModel[org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book]].
09:51:13,085 (main) DEBUG PojoIndexedTypeManagerBuilder:159 - HSEARCH700017: Type manager for indexed type 'org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book':
entityName: Book
typeIdentifier: org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book
indexManager: MappedIndexManagerImpl[implementor=StubIndexManager[Book]]
identifierMapping: PropertyIdentifierMapping[handle=MethodHandleValueReadHandle[public java.lang.Integer org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book.getId()], bridgeHolder=SimpleBeanHolder[instance=DefaultIntegerBridge]]
documentRouter: org.hibernate.search.mapper.pojo.bridge.runtime.impl.NoOpDocumentRouter@5a466dd
processor:
operation: process type
objectFieldsToCreate:
nested:
- operation: process property
handle: MethodHandleValueReadHandle[public java.lang.String org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book.getAuthor()]
nested:
operation: apply value bridge
bridge: SimpleBeanHolder[instance=DefaultStringBridge]
indexField: StubIndexFieldReference[author]
- operation: process property
handle: MethodHandleValueReadHandle[public java.lang.String org.hibernate.search.integrationtest.mapper.orm.massindexing.AbstractMassIndexingErrorIT$Book.getTitle()]
nested:
operation: apply value bridge
bridge: SimpleBeanHolder[instance=DefaultStringBridge]
indexField: StubIndexFieldReference[title]
isEntityType: true
reindexingResolver:
operation: root
dirtyPathsTriggeringSelfReindexing: [author, title]
containingEntitiesResolverRoot:
operation: no op
09:51:13,086 (main) DEBUG ConfiguredAutomaticIndexingStrategy:119 - Hibernate Search event listeners deactivated
09:51:13,568 (Hibernate Search - Mass indexing - Book - ID loading - 0) DEBUG HibernateOrmMassIdentifierLoader:444 - going to fetch 1499 primary keys
09:51:13,571 (Hibernate Search - Mass indexing - Book - ID loading - 0) INFO PojoMassIndexingLoggingMonitor:92 - HSEARCH000027: Mass indexing is going to index 1499 entities.
09:51:13,591 (Hibernate Search - Mass indexing - Workspace - 0) DEBUG CancellableExecutionCompletableFuture:45 - Could not cancel Future java.util.concurrent.FutureTask@8a185d3[Completed normally] (mayInterruptIfRunning = true)
09:51:13,594 (Hibernate Search - Mass indexing - Book - ID loading - 0) WARN SqlExceptionHelper:137 - SQL Error: 17002, SQLState: 08006
09:51:13,594 (Hibernate Search - Mass indexing - Book - ID loading - 0) ERROR SqlExceptionHelper:142 - IO Error: Socket read interrupted
09:51:13,696 (main) INFO SchemaDropperImpl$DelayedDropActionImpl:538 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
09:51:13,697 (main) INFO access:48 - HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@4111a657] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
09:51:13,717 (main) INFO pooling:550 - HHH10001008: Cleaning up connection pool [jdbc:oracle:thin:@localhost:1521/XE]{noformat}
( https://hibernate.atlassian.net/browse/HSEARCH-4670#add-comment?atlOrigin... ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-4670#add-comment?atlOrigin... )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.... ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN... ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:d2e68df )
2 years, 4 months