2 Replies Latest reply on Sep 18, 2007 11:14 AM by srpantano

    Search and framework

    srpantano

      Is it possible work Hibernate Search and Seam Framework?

      When I try:

      15:49:25,102 INFO [STDOUT] Hibernate: select nextval ('hibernate_sequence')
      15:49:25,150 INFO [STDOUT] Hibernate: insert into SYSTEM (SYSTEM_NAME, ID_SYSTEM) values (?, ?)
      15:49:25,166 ERROR [SeamPhaseListener] uncaught exception
      javax.el.ELException: java.lang.reflect.InvocationTargetException
       at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
       at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
       at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
       at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
       at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
       at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
       at org.jboss.seam.navigation.Pages.callAction(Pages.java:636)
       at org.jboss.seam.navigation.Pages.preRender(Pages.java:289)
       at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
       at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)


      ...

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)


      ...

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
       ... 66 more
      Caused by: java.lang.NoSuchMethodError: org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
       at org.hibernate.search.engine.DocumentBuilder.getDocument(DocumentBuilder.java:234)
       at org.hibernate.search.event.FullTextIndexEventListener.onPostInsert(FullTextIndexEventListener.java:154)