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/18 22:40:00 UTC

[jira] [Created] (OFBIZ-12183) Groovy script Product.groovy: java.util.NoSuchElementException

Giulio Speri created OFBIZ-12183:
------------------------------------

             Summary: Groovy script Product.groovy: java.util.NoSuchElementException 
                 Key: OFBIZ-12183
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12183
             Project: OFBiz
          Issue Type: Bug
          Components: ecommerce, order
    Affects Versions: 17.12.05, 17.12.04, Trunk, 17.12.03, Release Branch 18.12
         Environment: Linux/Ubuntu 16.04, Linux/Ubuntu 18.04, OFBiz v13.07.03
            Reporter: Giulio Speri
         Attachments: NoSuchElementException_Productgroovy.jpeg

Strange issue happens randomly while loading ecommerce product detail page and the groovy script Product.groovy (order/webapp/ordermgr/WEB-INF/actions/entry/catalog/) is run.

The groovy script is loaded in the screen "product".

The error showed is kind of java.util.NoSuchElementException and I think that could be something related to session/request attributes, since this could be avoided with an incognito navigation session.

I saw this error a couple of time during local development also and I could pass over it by manually deleting browser session cookies.

Unfortunately I was not able to reproduce it yet, so I cannot add more details except hypothesis.

I also post here a screenshot of the error.

 

!NoSuchElementException_Productgroovy.jpeg!  



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