-->
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.  [ 4 posts ] 
Author Message
 Post subject: Error fetching children of config file
PostPosted: Thu Oct 04, 2007 1:39 pm 
Newbie

Joined: Thu Oct 04, 2007 12:48 pm
Posts: 2
An internal error occurred during: "Fetching children of myconf".
(class: org/hibernate/search/event/FullTextIndexEventListener, method: onPostInsert signature: (Lorg/hibernate/event/PostInsertEvent;)V) Incompatible argument to function


this is the end of my config file

................

<property name="hibernate.search.default.indexBase">
C:/var/lucene/indexes
</property>

<property name="hibernate.show_sql">
false
</property>
<mapping resource="Food.hbm.xml"/>

<listener class="org.hibernate.search.event.FullTextIndexEventListener" type="post-insert" />
<listener class="org.hibernate.search.event.FullTextIndexEventListener" type="post-delete" />
<listener class="org.hibernate.search.event.FullTextIndexEventListener" type="post-update" />

</session-factory>

</hibernate-configuration>


The really silly thing is that the config file was built with the editor in the first place!

As an added frustration the compile only works if the 3 <listener> entries are after the mapping entry. Put them before and the project wont build!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 04, 2007 7:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
looks like a mismatch of hibernate/search versions.

/max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 12:49 am 
Newbie

Joined: Thu Oct 04, 2007 12:48 pm
Posts: 2
Silly me!

Hibernate tools is not compatible with hibernate search so I guess that this is one of the incompatibilities!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 6:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it *should* be since we don't use any of that API (meaning we can't be incompatible unless the bundled hibernate and hibernate-search jars is in some way)

please report in jira with steps to reproduce thanks.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.