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

Cannot create subwiki with only local users: NullPointerException in DefaultWikiUserConfigurationHelper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.0
    • None
    • None
    • Unknown

    Description

      Steps to reproduce:

      • select "+ Add" -> "Wiki"
      • in step1 type in name for sub wiki e.g. "subwiki", and click "Go to next step"
      • in step 2 set radio button for " User Scope" to "Only local users are available in the wiki, and click "Create"

      Exception with stack trace on the following page:

      Exception thrown during job execution
      class java.lang.NullPointerException: null
          at org.xwiki.wiki.user.internal.DefaultWikiUserConfigurationHelper.saveConfiguration(DefaultWikiUserConfigurationHelper.java:124)
          at org.xwiki.wiki.user.internal.DefaultWikiUserManager.setMembershipType(DefaultWikiUserManager.java:102)
          at org.xwiki.platform.wiki.creationjob.internal.steps.SaveWikiMetaDataStep.execute(SaveWikiMetaDataStep.java:77)
          at org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:78)
          at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
          at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Issue Links

          Activity

            People

              camil7 Clemens Robbenhaar
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: