Bug 1011671 - "java.lang.NoClassDefFoundError: org/hibernate/search/Search" when performing topic search.
Summary: "java.lang.NoClassDefFoundError: org/hibernate/search/Search" when performing...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CCMS-Core
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.2
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1013825
TreeView+ depends on / blocked
 
Reported: 2013-09-24 19:12 UTC by Stephen Gordon
Modified: 2013-10-17 23:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 23:49:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Gordon 2013-09-24 19:12:06 UTC
Description of problem:

When performing a topic search for topics in the RHOS 3.0 release containing the text "align" I receive this message via a dialog box when I click "Topic Search:"

An error occurred on the server. Please try again and if this problem persists, please log a bug.

java.lang.NoClassDefFoundError: org/hibernate/search/Search

The "Search Results" window displays with the progress ticker looping infinitely, no results are returned.

Version-Release number of selected component (if applicable):

Production.

Comment 1 Lee Newson 2013-09-26 02:38:04 UTC
Fixed in 1.2-SNAPSHOT build 20130926-1221

This was caused by a dependency issue with the Hibernate Search dependency (we were telling it to use the one provided by the Application Server, however it didn't exist).

Workaround: For your case the workaround is to use the "Topic Contents" field instead, as the Free Text Search was primarily meant for more complicated searching using Lucene query syntax (see: http://lucene.apache.org/core/2_9_4/queryparsersyntax.html)

Note: This version currently isn't live anywhere, so I'll update it with a place to verify it once its uploaded.


Note You need to log in before you can comment on or make changes to this bug.