CC007 / HeadsPluginAPI

The documentation and wiki for the HeadsPluginAPI plugin
MIT License
5 stars 0 forks source link

Improper async shutdown #33

Closed SlimeDog closed 9 months ago

SlimeDog commented 9 months ago

Paper 1.20.4-365 HeadsPluginAPI 3.3.0

On server shutdown

[23:43:57 ERROR]: Nag author(s): '[Rik Schaaf aka CC007 (http://coolcat007.nl/)]' of 'HeadsPluginAPI v3.3.0' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.

and occasionally such errors are thrown

[23:42:45 WARN]: [HeadsPluginAPI] Plugin HeadsPluginAPI v3.3.0 generated an exception while executing task 11173
org.apache.openjpa.persistence.PersistenceException: connection exception: closed {SELECT t0.id, t2.id, t2.version, t2.name FROM heads t0 INNER JOIN database_heads t1 ON t0.id = t1.head_id INNER JOIN databases t2 ON t1.database_id = t2.id WHERE ((t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ?) AND t0.headOwner IS NOT NULL) ORDER BY t0.id ASC} [code=-1353, state=08503]
        at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:5320) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:5280) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.HSQLDictionary.newStoreException(HSQLDictionary.java:405) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:134) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:115) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:67) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException(SelectResultObjectProvider.java:162) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.handleCheckedException(QueryImpl.java:2235) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:42) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1314) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1061) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:911) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:842) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:601) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:297) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:314) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.services.jpa.JpaQueryService.getMutableResultList(JpaQueryService.java:118) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.services.jpa.JpaQueryService.findAllByPropertyIn(JpaQueryService.java:77) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.repositories.jpa.JpaHeadRepository.findAllByHeadOwnerIn(JpaHeadRepository.java:31) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadUpdaterImpl.lambda$updateHeads$0(HeadUpdaterImpl.java:38) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.lambda$runTransacted$2(JpaNestableTransaction.java:71) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:108) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:69) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:48) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.HeadUpdaterImpl.updateHeads(HeadUpdaterImpl.java:30) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.lambda$updateCategory$13(CategoryUpdaterImpl.java:170) ~[HeadsPluginAPI-3.3.0.jar:?]
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.updateCategory(CategoryUpdaterImpl.java:169) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.lambda$updateCategories$9(CategoryUpdaterImpl.java:132) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:62) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.lambda$updateCategories$11(CategoryUpdaterImpl.java:125) ~[HeadsPluginAPI-3.3.0.jar:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.updateCategories(CategoryUpdaterImpl.java:124) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.lambda$updateCategoriesIfNecessary$4(CategoryUpdaterImpl.java:81) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:108) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.integration.database.transaction.jpa.JpaNestableTransaction.runTransacted(JpaNestableTransaction.java:81) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.lambda$updateCategoriesIfNecessary$5(CategoryUpdaterImpl.java:77) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.ProfilerImpl.runProfiled(ProfilerImpl.java:62) ~[HeadsPluginAPI-3.3.0.jar:?]
        at com.github.cc007.headsplugin.business.services.heads.CategoryUpdaterImpl.updateCategoriesIfNecessary(CategoryUpdaterImpl.java:75) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-365]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-365]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: connection exception: closed {SELECT t0.id, t2.id, t2.version, t2.name FROM heads t0 INNER JOIN database_heads t1 ON t0.id = t1.head_id INNER JOIN databases t2 ON t1.database_id = t2.id WHERE ((t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ? OR t0.headOwner = ?) AND t0.headOwner IS NOT NULL) ORDER BY t0.id ASC} [code=-1353, state=08503]
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:199) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000(LoggingConnectionDecorator.java:58) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement(LoggingConnectionDecorator.java:252) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.java:138) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement(ConfiguringConnectionDecorator.java:144) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.java:138) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement(JDBCStoreManager.java:1699) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.java:127) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:517) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:497) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.prepareStatement(SelectImpl.java:511) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:452) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:413) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.addEagerResults(SelectImpl.java:490) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.getEagerResult(SelectImpl.java:566) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:464) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:423) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(LogicalUnion.java:477) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:259) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java:248) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:95) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.kernel.QueryImpl$PackingResultObjectProvider.open(QueryImpl.java:2187) ~[HeadsPluginAPI-3.3.0.jar:?]
        at org.apache.openjpa.lib.rop.EagerResultList.<init>(EagerResultList.java:36) ~[HeadsPluginAPI-3.3.0.jar:?]
        ... 36 more
CC007 commented 9 months ago

Known issue, duplicate of #30 .