Error coming frequenly on ofbizUrl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

>
> <#assign opt2="">
> <#if paramsMap.delivOptionVal?exists>
>
> where the ftl is breaking at <#if paramsMap.delivOptionVal?exists>
> then which other tag to use to avoid this

vaibhav-2
This intermittent code dump only happens when request from 2 webapps come and only while accessing this variable which gives
get(paramsMap) failed on instance of org.ofbiz.base.util.collections.MapStack The problematic instruction: ---------- ==> if paramsMap.delivOptionVal?exists [on line 43, column 49 in CHK_017a_SecureClosedLessThanFiveAddress.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(paramsMap) failed on instance of org.ofbiz.base.util.collections.MapStack at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at
Jacopo Cappellato wrote
Are you sure the problem is there?

Jacopo

vaibhav wrote:
> So even if i am doing this in my ftl
> <#if paramsMap.profileAddresses?has_content>
> <#list paramsMap.profileAddresses as profileAddress>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
In reply to this post by cjhowe
will try that too
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2

even after doing <#if paramsMap?exists> at the start of the ftl, the error persists
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
Does any body have any idea that why is the map stack object failing intermittently and the error log shows

failed on instance of org.ofbiz.base.util.collections.MapStack
and once the page is refreshed the page is rendered correctly
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
You can try printing the value of paramsMap to the log at the beginning
of the ftl and then compare its value when it fails to what it is when
it succeeds.


--- vaibhav <[hidden email]> wrote:

>
> Does any body have any idea that why is the map stack object failing
> intermittently and the error log shows
>
> failed on instance of org.ofbiz.base.util.collections.MapStack
> and once the page is refreshed the page is rendered correctly
>
> --
> View this message in context:
>
http://www.nabble.com/Error-coming-frequenly-on-ofbizUrl-tf2554344.html#a9001201
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

12