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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Giulio Speri commented on OFBIZ-12183:
--------------------------------------

For reference: I found more entries in my logs for this issue and the Groovy Scripts that raise it are:
 * Product.groovy (order/webapp/ordermgr/WEB-INF/actions/entry/catalog)
 * EcommerceSetup.groovy
 * CategoryDetail.groovy (a bit customized) 

> 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: Release Branch 18.12, Trunk, 17.12.05
>         Environment: Linux/Ubuntu 16.04, Linux/Ubuntu 18.04, OFBiz v13.07.03
>            Reporter: Giulio Speri
>            Assignee: Nicolas Malin
>            Priority: Critical
>         Attachments: NoSuchElementException_Productgroovy.jpeg
>
>
> Strange issue happens randomly (it seems) 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 times 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)