xwikisas / application-googleapps

Google Apps Integration
0 stars 4 forks source link

Many DefaultTasksManager warnings and errors when accessing the configuration page on XWiki 14.4 #64

Open ilieandriuta opened 2 years ago

ilieandriuta commented 2 years ago

Environment: Windows 11 Pro 64bit, Chrome 102 using a local instance of XWiki 14.4 on Oracle 19c, Tomcat 9.0.63, Java 17 (Oracle) , Google Apps Integration (Pro) 2.5.2

STEPS TO REPRODUCE

  1. Install Google Apps Integration (Pro)
  2. Go to Administer Wiki > Other > Google Apps
  3. Observe the Java console

EXPECTED RESULTS

No errors/warnings are displayed in XWiki console.

ACTUAL RESULTS

There are many warnings and errors like:

2022-06-02 15:26:11,273 [task-manager-consumer] WARN  o.x.i.i.DefaultTasksManager    - Error during the execution of task [org.xwiki.index.internal.TaskData@77c9de49[timestamp=1654172770238,docId=-5662153314297999085,type=links,attempts=11,stop=false,wikiId=xwiki,version=<null>]]. Cause: [NoResultException: No entity found for query].
2022-06-02 15:26:11,273 [task-manager-consumer] ERROR o.x.i.i.DefaultTasksManager    - [org.xwiki.index.internal.TaskData@77c9de49[timestamp=1654172770238,docId=-5662153314297999085,type=links,attempts=11,stop=false,wikiId=xwiki,version=<null>]] abandoned because it has failed too many times.
2022-06-02 15:26:11,273 [task-manager-consumer] WARN  o.x.i.i.DefaultTasksManager    - Error during the execution of task [org.xwiki.index.internal.TaskData@3724815c[timestamp=1654172770240,docId=846273647196215080,type=links,attempts=11,stop=false,wikiId=xwiki,version=<null>]]. Cause: [NoResultException: No entity found for query].
2022-06-02 15:26:11,273 [task-manager-consumer] ERROR o.x.i.i.DefaultTasksManager    - [org.xwiki.index.internal.TaskData@3724815c[timestamp=1654172770240,docId=846273647196215080,type=links,attempts=11,stop=false,wikiId=xwiki,version=<null>]] abandoned because it has failed too many times.

The issue seems to not be reproducing on XWiki 13.10.6 with Google Apps Integration (Pro) 2.5.2.

Was also created a similar issue on XWiki Platform (https://jira.xwiki.org/browse/XWIKI-19770), but the stacktrace is different.

ilieandriuta commented 2 years ago

What I also noticed is that the issue seems to not be reproducing on an XWiki 14.4 standard Jetty/HSQLDB package.

ndascalita commented 7 months ago

Could not reproduce on XWiki 14.10.16 with Google Apps Pro 2.6