-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Hibernate-Search:indexing gave an exception
PostPosted: Mon Dec 24, 2007 9:14 am 
Newbie

Joined: Sun Dec 23, 2007 2:30 pm
Posts: 6
Hi All,

I am using Hibernate-search3.0GA.jar for the search and indexing.But

Attempt to start indexing gave an following exception:
Exception in thread "main" java.lang.VerifyError: (class: org/hibernate/search/event/FullTextIndexEventListener, method: onPostInsert signature: (Lorg/hibernate/event/PostInsertEvent;)V) Incompatible argument to function
at java.lang.Class.getDeclaredConstructors0(Native Method) ...

In our debugging we found,Some the following methods are gave problems(hibernate-search.jar)
onPostDelete()
OnPostInsert()



Thanks in advance for your help.

Regards
Isma


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2007 6:16 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You probably have some old Hibernate Core or Hibernate Annotations jars in your classpath
are you using HSearch standalone? In JBoss AS? Which version?

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 26, 2007 10:53 am 
Newbie

Joined: Sun Dec 23, 2007 2:30 pm
Posts: 6
Hi emmanuel

Thx for the response.

I am using
hibernate-search-3.0.0.GA.jar
lucene-core-2.2.0.jar
tomcat5.5 server

I am not using Annonations.


Thanks
Ismail


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 3:10 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Which version of Hibernate core?

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 03, 2008 11:33 pm 
Newbie

Joined: Sun Dec 23, 2007 2:30 pm
Posts: 6
Hi emmanuel,

Thanks for the your assistance.

Now the problem was rectified with following set of version jars

Hibernate3.jar(core3.2.5)
hibernate-search3.0GA.jar
hibernate-annotation-3.3.0-GA.jar
hibernate-common-annotation.jar
hibernate-entity-manager-3.3.1-GA.jar
Lucene-core-2.2.0.jar
Snowball.jar

Ismail


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.