Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6860

ProductSearch generates an errorr

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 15.12, Trunk
    • 15.12.01
    • content

    Description

      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:

      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())
      

      Attachments

        Activity

          People

            deepak Deepak Dixit
            pierresmits Pierre Smits
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: