com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    People are reporting that indexing is failing in the setup wizard and when reindexing, with the error: "Could not activate indexing: Error: java.lang.NullPointerException" In the logs, one sees: 2005-10-07 16:35:49,128 ERROR [jira.issue.index.DefaultIndexManager] !!! issueWriter was null - bad !!! 2005-10-07 16:35:49,128 ERROR [web.action.setup.Setup] Error activating indexing: com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException at com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:298) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:249) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:189) at com.atlassian.jira.issue.index.DefaultIndexManager.activate(DefaultIndexManager.java:124) at com.atlassian.jira.web.action.setup.Setup.doExecute(Setup.java:308) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:47) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) ... ... Caused by: java.lang.NullPointerException at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149) at org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:128) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:102) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:83) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:173) at com.atlassian.jira.util.LuceneUtils.getIndexWriter(LuceneUtils.java:46) at com.atlassian.jira.issue.index.DefaultIndexManager.getIndexWriter(DefaultIndexManager.java:560) at com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:279)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException
  2. 0

    People are reporting that indexing is failing in the setup wizard and when reindexing, with the error: "Could not activate indexing: Error: java.lang.NullPointerException" In the logs, one sees: 2005-10-07 16:35:49,128 ERROR [jira.issue.index.DefaultIndexManager] !!! issueWriter was null - bad !!! 2005-10-07 16:35:49,128 ERROR [web.action.setup.Setup] Error activating indexing: com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException at com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:298) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:249) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:189) at com.atlassian.jira.issue.index.DefaultIndexManager.activate(DefaultIndexManager.java:124) at com.atlassian.jira.web.action.setup.Setup.doExecute(Setup.java:308) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:47) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) ... ... Caused by: java.lang.NullPointerException at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149) at org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:128) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:102) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:83) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:173) at com.atlassian.jira.util.LuceneUtils.getIndexWriter(LuceneUtils.java:46) at com.atlassian.jira.issue.index.DefaultIndexManager.getIndexWriter(DefaultIndexManager.java:560) at com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:279)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    com.atlassian.jira.issue.index.IndexException: Error: java.lang.NullPointerException

    Root Cause Analysis

    1. com.atlassian.jira.issue.index.IndexException

      Error: java.lang.NullPointerException

      at com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments()
    2. com.atlassian.jira
      Setup.doExecute
      1. com.atlassian.jira.issue.index.DefaultIndexManager.indexIssuesAndComments(DefaultIndexManager.java:298)
      2. com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:249)
      3. com.atlassian.jira.issue.index.DefaultIndexManager.reIndexAll(DefaultIndexManager.java:189)
      4. com.atlassian.jira.issue.index.DefaultIndexManager.activate(DefaultIndexManager.java:124)
      5. com.atlassian.jira.web.action.setup.Setup.doExecute(Setup.java:308)
      5 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
      1 frame
    4. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:47)
      1 frame
    5. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      1 frame