Few Exceptions while bringing up JIRA 5.2.10

1.2013-07-08 02:27:47,604 Spring executor 9 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Expecting state (resolving-dependencies) not (dependencies-resolved) for context [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.support.stp, config=osgibundle:/META-INF/spring/*.xml)]; assuming an interruption and bailing out

2.2013-07-08 06:11:44,589 http-6081-1 ERROR wb277337 371x856x1 1p04dt /rest/gadget/1.0/issueTable/jql [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.jira.util.RuntimeIOException: org.apache.lucene.store.NoSuchDirectoryException: directory '/xxx/jira5/jirahome/caches/indexes/issues' does not exist

Could you please let me the cause for these exceptions

4 answers

1 accepted

2 votes

Looks like your index is broken.

Try running a full re-index, after checking that the directory you've told it to use is fully read/write for the user that you are running Jira as.

1 votes
Joe Wai Tye Atlassian Team Jul 07, 2013

Hi Mehala,

You might want to delete the 'caches' folder, then restarting your instance and running a full re-index of your JIRA instance. This would re-create the indexes (as well as the folders involved with it) of your instance.

Thank you.

There are 2 option I see for reindexing

1.BackGround Reindex

2.Lock JIRA and rebuild index

Can you please explain about these 2 types and which should I choose to perfomr re-index ?

Joe Wai Tye Atlassian Team Jul 08, 2013

Hi Mehala,

For background re-index, the re-index is, well, performed in the background, and you'll still be able to use your JIRA as usual. Some functionalities that require the use of the indexes might be affected, though

On the other hand, if you lock JIRA and rebuild the index, it will make all of your users unable to access JIRA, while it rebuilds your index. This method will require some downtime to be scheduled, but it might be finished faster compared with the background re-index.

Thanks Joe.It works good now.I ran Re-Index by Lock JIRA option.

BTW, I tried this 4.2 to 5.2 upgrade with empty database(without my 4.2 version Database data).There was 2 Mail options 1.Incoming 2.Outgoing.But After did inplace upgrade (connecting to database which has 4.2 data) I see only Incoming mail option.Could you please clarify me on this?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot