XWiki Platform
  1. XWiki Platform
  2. XWIKI-14475

NullPointerException when creating a subwiki in some conditions

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 9.5
    • Fix Version/s: 9.5.1
    • Component/s: Distribution
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Because of XWIKI-14474 and the fact that wiki module are installed as extensions.

      Exception thrown during job execution
      class java.lang.NullPointerException: null
          at org.xwiki.wiki.template.internal.DefaultWikiTemplateManager.setTemplate(DefaultWikiTemplateManager.java:119)
          at org.xwiki.platform.wiki.creationjob.internal.steps.SaveWikiMetaDataStep.execute(SaveWikiMetaDataStep.java:73)
          at org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
          at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
          at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:748)
      

      Let's move all wiki modules to the WAR for now.

        Activity

        Hide
        Ecaterina Moraru (Valica) added a comment -

        The condition is trying to create a Template wiki.

        Show
        Ecaterina Moraru (Valica) added a comment - The condition is trying to create a Template wiki.

          People

          • Assignee:
            Thomas Mortagne
            Reporter:
            Thomas Mortagne
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: