[jira] [Commented] (OFBIZ-6144) FindShipment.groovy error due to null findShipmentExprs

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

[jira] [Commented] (OFBIZ-6144) FindShipment.groovy error due to null findShipmentExprs

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-6144:
----------------------------------------

An URL and/or steps to get there is always welcome, easier to reproduce and test ;)

> FindShipment.groovy error due to null findShipmentExprs
> -------------------------------------------------------
>
>                 Key: OFBIZ-6144
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6144
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>         Attachments: OFBIZ-6144.patch
>
>
> The error below occurs when findShipmentExprs is null in FindShipment.groovy which prevents the page from even displaying.  IMO the FindShipment.groovy and FindShipment.ftl should be replaced with form widgets.
> ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#FindShipment]: java.lang.IllegalArgumentException: Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map] (Error running script at location [component://product/webapp/facility/WEB-INF/actions/shipment/FindShipment.groovy]: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method org.ofbiz.entity.util.EntityQuery#where. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)