[ https://issues.apache.org/jira/browse/OFBIZ-6860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Smits updated OFBIZ-6860: -------------------------------- Labels: lucene search (was: ) > ProductSearch generates an errorr > --------------------------------- > > Key: OFBIZ-6860 > URL: https://issues.apache.org/jira/browse/OFBIZ-6860 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: Trunk, Release Branch 15.12 > Reporter: Pierre Smits > Labels: lucene, search > > When executing a product search in the content application an error is thrown. > In demo-trunk: > https://demo-trunk-ofbiz.apache.org/content/control/ProductSearch > the following error is thrown: > {code} > org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen > [component://lucene/widget/LuceneScreens.xml#ProductSearch]: > java.lang.IllegalArgumentException: Error running script at location > [component://lucene/webapp/content/WEB-INF/actions/SearchProducts.groovy]: > groovy.lang.MissingMethodException: No signature of method: static > org.apache.lucene.store.FSDirectory.open() is applicable for argument types: > (java.io.File) values: [runtime/indexes/products] Possible solutions: > open(java.nio.file.Path), open(java.nio.file.Path, > org.apache.lucene.store.LockFactory), grep(), grep(java.lang.Object), > use([Ljava.lang.Object;), wait() (Error running script at location > [component://lucene/webapp/content/WEB-INF/actions/SearchProducts.groovy]: > groovy.lang.MissingMethodException: No signature of method: static > org.apache.lucene.store.FSDirectory.open() is applicable for argument types: > (java.io.File) values: [runtime/indexes/products] Possible solutions: > open(java.nio.file.Path), open(java.nio.file.Path, > org.apache.lucene.store.LockFactory), grep(), grep(java.lang.Object), > use([Ljava.lang.Object;), wait()) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)