Meaningful exception message when Search Listeners are not initialized

Description

org.hibernate.HibernateException: Lucene event listener not initialized
at org.hibernate.search.util.ContextHelper.getSearchFactoryBySFI(ContextHelper.java:31)
at org.hibernate.search.query.FullTextQueryImpl.list(FullTextQueryImpl.java:145)
at mil.darpa.tn.model.ReportModelFactory.searchReports(ReportModelFactory.java:128)
at mil.darpa.tn.model.ReportFactory.searchReports(ReportFactory.java:82)
at mil.darpa.tn.TNMain.main(TNMain.java:89)

Environment

None

Status

Assignee

Unassigned

Reporter

Emmanuel Bernard

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Fix versions

Affects versions

3.0.0.beta2

Priority

Trivial
Configure