It has been already reported http://markmail.org/message/22k4zv2g7h5tj3qo
But AFAIK not Jira issue has been opened
Not sure if you already know that, anyway:
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques

  From: Torstein Hegbom 
  To: [email protected] 
  Sent: Friday, June 05, 2009 11:37 AM
  Subject: JPG decodng error?


  Please find the attached image. It has been produced by "Windows Paint" (the 
pinting program that follows the windows operating system for XP-version).

   

  If I try to load this image as a product image there is no error. 

   

  If I press the image in the ecommerce-screens the stacktrace is presented in 
a popup-window. 

   

  Is this a known problem?

   

  Thanks

   

  Torstein Hegbom

  -------

   

  Method public static final java.lang.String 
org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception 
The problematic instruction: ---------- ==> assignment: 
detailImage=Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)
 [on line 23, column 9 in 
component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl] ---------- Java 
backtrace for programmers: ---------- 
freemarker.template.TemplateModelException: Method public static final 
java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) 
threw an exception at freemarker.ext.beans.OverloadedMethodModel.exec

  .

  .

  .

  .

  (DelegatingMethodAccessorImpl.java:43) at 
java.lang.reflect.Method.invoke(Method.java:616) at 
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at 
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) 
... 44 more Error rendering included template at location 
[component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl]: 
freemarker.template.TemplateModelException: Method public static final 
java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) 
threw an exception

Reply via email to