Hi
I am trying to use FTS in my application (with a lot of Entities). After I have added the add-on and enabled FTS from application properties, I tried to index all following the user guide. However, When I invoked “index all”, i have obtained the result with following error:
Operation invoked successfully with result:
java.lang.NullPointerException
at org.apache.lucene.util.BytesRef.<init>(BytesRef.java:87)
at org.apache.lucene.index.Term.<init>(Term.java:65)
at com.haulmont.fts.core.sys.LuceneIndexerBean.deleteDocumentsForEntity(LuceneIndexerBean.java:351)
at com.haulmont.fts.core.app.FtsManager.deleteIndexForEntity(FtsManager.java:310)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy199.deleteIndexForEntity(Unknown Source)
at com.haulmont.fts.core.jmx.FtsManager.reindexEntity(FtsManager.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
I am using v 6.10, Thanks for your help fixing this issue.