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

Visit disabling causes NullPointerException on ecomm groovy script

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Release Branch 18.12, Trunk, 17.12.05
    • Fix Version/s: 18.12.01, 17.12.06
    • Component/s: ecommerce
    • Labels:
    • Environment:

      Linux Ubuntu 18.04 LTS, Apache OFBiz v13.07.03

      Description

      Disable tracking of Visits and Visitors, setting false the value of stats.persist.visit stats.persist.visitor in serverstats.properties file, causes a NullPointerException in the groovy script ecommerce/groovyScript/customer/NewCustomer.groovy.

       Attached here below a screenshot of the error.

      This error also afflicts older version of OFBiz (the screenshot is taken from an ecommerce site running on OFBiz 13.07.03)

        Attachments

          Activity

            People

            • Assignee:
              pawan Pawan Verma
              Reporter:
              Giulio_MpStyle Giulio Speri
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: