java.lang.IllegalArgumentException: author is required

Atlassian JIRA | David Richard | 3 years ago
  1. 0

    When restoring an XML backup, some questions/answers will be missing or will not show up in in the unanswered/Recent section. The logs show: {code}2014-08-11 13:27:03,328 ERROR [ajp-bio-8010-exec-2] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /questions | userName: lavitz | referer: http://confluence:8090/admin/mail/viewmailqueue.action java.lang.IllegalArgumentException: author is required at com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>(QuestionImpl.java:49) at com.atlassian.confluence.plugins.questions.model.QuestionImplBuilder.build(QuestionImplBuilder.java:118) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper.toQuestion(ContentTypeMapper.java:93) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper.toAnswer(ContentTypeMapper.java:120) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper$1.apply(ContentTypeMapper.java:175) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper$1.apply(ContentTypeMapper.java:171) at com.google.common.collect.Iterators$8.next(Iterators.java:812) at com.google.common.collect.Lists.newArrayList(Lists.java:139){code} Either the creator or parentccid and prevver columns from the content table are null. For detailed information, see [some questions or answers are missing after a XML import|https://confluence.atlassian.com/pages/viewpage.action?pageId=650413441].

    Atlassian JIRA | 2 years ago | Lachlan Dally
    java.lang.IllegalArgumentException: author is required
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    When restoring an XML backup, some questions/answers will be missing or will not show up in in the unanswered/Recent section. The logs show: {code}2014-08-11 13:27:03,328 ERROR [ajp-bio-8010-exec-2] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /questions | userName: lavitz | referer: http://confluence:8090/admin/mail/viewmailqueue.action java.lang.IllegalArgumentException: author is required at com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>(QuestionImpl.java:49) at com.atlassian.confluence.plugins.questions.model.QuestionImplBuilder.build(QuestionImplBuilder.java:118) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper.toQuestion(ContentTypeMapper.java:93) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper.toAnswer(ContentTypeMapper.java:120) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper$1.apply(ContentTypeMapper.java:175) at com.atlassian.confluence.plugins.questions.contenttype.repository.ContentTypeMapper$1.apply(ContentTypeMapper.java:171) at com.google.common.collect.Iterators$8.next(Iterators.java:812) at com.google.common.collect.Lists.newArrayList(Lists.java:139){code} Either the creator or parentccid and prevver columns from the content table are null. For detailed information, see [some questions or answers are missing after a XML import|https://confluence.atlassian.com/pages/viewpage.action?pageId=650413441].

    Atlassian JIRA | 2 years ago | Lachlan Dally
    java.lang.IllegalArgumentException: author is required

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      author is required

      at com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>()
    2. com.atlassian.confluence
      ViewQuestionAction.execute
      1. com.atlassian.confluence.plugins.questions.model.QuestionImpl.<init>(QuestionImpl.java:51)
      2. com.atlassian.confluence.plugins.questions.model.QuestionImplBuilder.build(QuestionImplBuilder.java:118)
      3. com.atlassian.confluence.plugins.questions.service.QuestionServiceImpl.toQuestion(QuestionServiceImpl.java:751)
      4. com.atlassian.confluence.plugins.questions.service.QuestionServiceImpl.isWatching(QuestionServiceImpl.java:412)
      5. com.atlassian.confluence.plugins.questions.actions.ViewQuestionAction.execute(ViewQuestionAction.java:42)
      5 frames