Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20202

DefaultTasksManager warnings/ error related to links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 14.4.5
    • None
    • None
    • Windows 11 Pro 64bit, Edge 106, using an instance of XWiki 14.4.5 on Oracle 19c, Tomcat 9.0.67
    • Unknown

    Description

      STEPS TO REPRODUCE

      This was not so easy to reproduce, but I think I've found a way:

      1. Create a subwiki
      2. Create a page on Main Wiki
      3. Insert some links to other pages also from Main wiki (e.g. [[Sample name>>doc:Sandbox.WebHome]]  and untyped, like [[Sandbox]]) and save the page
      4. Close and restart the instance
      5. After the instance was initialized, click on the respective page containing the links

      EXPECTED RESULTS

      No warnings/ errors are displayed in console.

      ACTUAL RESULTS

      In console, there is the following stacktrace: 

      2022-10-05 14:10:56,522 [task-manager-consumer] WARN  o.x.i.i.DefaultTasksManager    - Error during the execution of task [org.xwiki.index.internal.TaskData@6f4f55e6[timestamp=1664968256518,docId=204026046720559769,type=links,attempts=10,stop=false,wikiId=subwikiglobal,version=<null>]]. Cause: [NoResultException: No entity found for query].
      2022-10-05 14:10:56,525 [task-manager-consumer] WARN  o.x.i.i.DefaultTasksManager    - Error during the execution of task [org.xwiki.index.internal.TaskData@73d53e45[timestamp=1664968256520,docId=7172664636319396283,type=links,attempts=11,stop=false,wikiId=subwikiglobal,version=<null>]]. Cause: [NoResultException: No entity found for query].
      2022-10-05 14:10:56,533 [task-manager-consumer] ERROR o.x.i.i.DefaultTasksManager    - [org.xwiki.index.internal.TaskData@73d53e45[timestamp=1664968256520,docId=7172664636319396283,type=links,attempts=11,stop=false,wikiId=subwikiglobal,version=<null>]] abandoned because it has failed too many times.
      2022-10-05 14:10:56,538 [task-manager-consumer] WARN  o.x.i.i.DefaultTasksManager    - Error during the execution of task [org.xwiki.index.internal.TaskData@6f4f55e6[timestamp=1664968256523,docId=204026046720559769,type=links,attempts=11,stop=false,wikiId=subwikiglobal,version=<null>]]. Cause: [NoResultException: No entity found for query].
      2022-10-05 14:10:56,538 [task-manager-consumer] ERROR o.x.i.i.DefaultTasksManager    - [org.xwiki.index.internal.TaskData@6f4f55e6[timestamp=1664968256523,docId=204026046720559769,type=links,attempts=11,stop=false,wikiId=subwikiglobal,version=<null>]] abandoned because it has failed too many times.

      The issue seems not to be easy to reproduce on Jetty.

      Please find attached the full logs.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: