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

ProductSearch generates an errorr

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, Release Branch 15.12
    • Fix Version/s: 15.12.01
    • Component/s: content
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: