You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2015/04/18 14:17:58 UTC

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

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

Deepak Dixit commented on OFBIZ-6144:
-------------------------------------

NPE issue already fixed under OFBIZ-6058, Its an good idea to convert ftl into form widget.
I am converting this issue type to improvement as conversion form ftl to form widget is an improvement.


> 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)