You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2013/10/05 10:44:24 UTC
Re: Bug related to r1209351 and sequel
This was actually fixed at revision: 1529412, see also https://issues.apache.org/jira/browse/OFBIZ-5337
Jacques
Hans Bakker wrote:
> Thank you Jacques for reporting
>
> fixed in revision 1329036.
>
> Regards,
> Hans
>
>
> On 04/21/2012 06:49 PM, Jacques Le Roux wrote:
>> Hi Hans,
>>
>> There is a NPE thrown in Ecommerce when submitting an order related to
>> r1209351 and sequel: r1209354 + r1209355
>>
>> Actually the bug seems related to the last one, but could be in others
>> committed fileds (did not check)
>>
>> Caused by: java.lang.NullPointerException
>> at
>> org.ofbiz.product.imagemanagement.ImageManagementHelper.getInternalImageUrl(ImageManagementHelper.java:41)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:866)
>> at
>> freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)
>> ... 91 more
>> 2012-04-21 13:41:29,015 (default-invoker-Thread-16) [
>> Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Method
>> public static java.lang.String
>> org.ofbiz.product.imagemanagement.ImageManagementHelp
>> er.getInternalImageUrl(javax.servlet.http.HttpServletRequest,java.lang.String)
>> threw an exception"
>>
>> Method public static java.lang.String
>> org.ofbiz.product.imagemanagement.ImageManagementHelper.getInternalImageUrl(javax.servlet.http.HttpServletRequest,java.lang.String)
>> threw an exception
>> The problematic instruction:
>> ----------
>> ==> assignment:
>> internalImageUrl=Static["org.ofbiz.product.imagemanagement.ImageManagementHelper"].getInternalImageUrl(request,
>> productId)?if_exists [on line 50, column 21 in
>> component://order/webapp/ordermgr
>> /order/orderReportBody.fo.ftl]
>> ----------
>>
>> Thanks
>>
>> Jacques