org.fest.reflect.exception.ReflectionError

Unable to invoke method 'bindEntityProvider' with arguments [smx3.schema.provider.SchemaEntityProvider@3747c1db]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Mark Derricutt,
  • via Unknown by Mark Derricutt,
  • Stack trace

    • org.fest.reflect.exception.ReflectionError: Unable to invoke method 'bindEntityProvider' with arguments [smx3.schema.provider.SchemaEntityProvider@3747c1db] at org.fest.reflect.method.Invoker.invoke(Invoker.java:101) at smx3.testing.SessionFactoryBuilder.buildSessionFactory(SessionFactoryBuilder.java:61) at smx3.partyresource.service.AgreementServiceImplTest.setup(AgreementServiceImplTest.java:38) 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 org.fest.reflect.method.Invoker.invoke(Invoker.java:99) ... 3 more Caused by: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.getDirectory(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory; at org.hibernate.search.store.DirectoryProviderHelper.createFSIndex(DirectoryProviderHelper.java:77) at org.hibernate.search.store.FSDirectoryProvider.initialize(FSDirectoryProvider.java:44) at org.hibernate.search.store.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:129) at org.hibernate.search.store.DirectoryProviderFactory.createDirectoryProviders(DirectoryProviderFactory.java:63) at org.hibernate.search.impl.SearchFactoryImpl.initDocumentBuilders(SearchFactoryImpl.java:404) at org.hibernate.search.impl.SearchFactoryImpl.<init>(SearchFactoryImpl.java:119) at org.hibernate.search.event.ContextHolder.getOrBuildSearchFactory(ContextHolder.java:30) at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:79) at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198) at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181) at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194) at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1352) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:812) at smx3.entity.EntityActivatorImpl.bindSessionFactory(EntityActivatorImpl.java:197) at smx3.entity.EntityActivatorImpl.rebuildSessionFactory(EntityActivatorImpl.java:106) at smx3.entity.EntityActivatorImpl.rebuildFromEntityProviders(EntityActivatorImpl.java:85) at smx3.entity.EntityActivatorImpl.bindEntityProvider(EntityActivatorImpl.java:68)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,