You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Giulio Speri (Jira)" <ji...@apache.org> on 2021/02/09 00:02:00 UTC

[jira] [Commented] (OFBIZ-12173) Visit disabling causes NullPointerException on ecomm groovy script

    [ https://issues.apache.org/jira/browse/OFBIZ-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281458#comment-17281458 ] 

Giulio Speri commented on OFBIZ-12173:
--------------------------------------

I provide here the patch to fix the issue.

[^OFBIZ-12173_Visit_disabling_causes_NullPointerException.patch]

> Visit disabling causes NullPointerException on ecomm groovy script
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-12173
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12173
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: 17.12.03, Trunk, 17.12.04, 17.12.05
>         Environment: Linux Ubuntu 18.04 LTS, Apache OFBiz v13.07.03
>            Reporter: Giulio Speri
>            Assignee: Giulio Speri
>            Priority: Blocker
>              Labels: visit
>         Attachments: OFBIZ-12173_Visit_disabling_causes_NullPointerException.patch, newcustomer_error.jpg
>
>
> 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.
> !newcustomer_error.jpg!
> This error also afflicts older version of OFBiz (the screenshot is taken from an ecommerce site running on OFBiz 13.07.03)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)