[
https://issues.apache.org/jira/browse/OFBIZ-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283487#comment-17283487 ]
ASF subversion and git services commented on OFBIZ-12173:
---------------------------------------------------------
Commit 7afe2b73e596969f56a5f7ea782387e35b1561dd in ofbiz-plugins's branch refs/heads/release18.12 from Pawan Verma
[
https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=7afe2b7 ]
Fixed: Visit disabling causes NullPointerException on ecomm groovy script(OFBIZ-12173)
Used UtilHttp.getSessionId() instead of visit to get session Id.
Thanks: Giulio, Jacopo and Deepak.
> 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: Release Branch 18.12, Trunk, 17.12.05
> Environment: Linux Ubuntu 18.04 LTS, Apache OFBiz v13.07.03
> Reporter: Giulio Speri
> Assignee: Pawan Verma
> 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)